[dpdk-dev] [RFC v2 1/1] app/testpmd: distinguish ICMP identifier fields in packet

Ferruh Yigit ferruh.yigit at intel.com
Wed Sep 30 17:30:13 CEST 2020


On 9/23/2020 10:04 AM, Ferruh Yigit wrote:
> On 9/9/2020 4:34 AM, Li Zhang wrote:
>> From: lizh <lizh at nvidia.com>
>>
>> Ability to distinguish ICMP identifier fields in packets.
>> Dstinguish ICMP sequence number field too.
>> Already supports ICMP code and type fields in current version.
>> Existing fields in ICMP header contain the required information.
>> ICMP header already is supported and no code change in RTE FLOW.
>> Extend testpmd CLI to include the fields of ident and sequence number.
>> One example:
>> flow create 0 ingress pattern eth / ipv4 /
>>   icmp code is 1 ident is 5 seq is 6 /
>>   end actions count / queue index 0 / end
>> The ICMP packet with code 1, identifier 5 and
>> sequence number 6 will be matched.
>> It will implement action counter and forward to queue 0.
>>
>> Signed-off-by: Li Zhang <lizh at nvidia.com> >
> 
> Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
> 

Applied to dpdk-next-net/main, thanks.


More information about the dev mailing list