[dpdk-dev] [PATCH v2 03/11] app/testpmd: support IPv4 fragments
Ori Kam
orika at nvidia.com
Sun Oct 4 15:47:43 CEST 2020
> -----Original Message-----
> From: Dekel Peled <dekelp at nvidia.com>
> Sent: Friday, October 2, 2020 12:15 AM
> Subject: [PATCH v2 03/11] app/testpmd: support IPv4 fragments
>
> This patch updates testpmd CLI to support fragment_offset field of
> IPv4 header item.
>
> To match on non-fragmented IPv4 packets, need to use pattern:
> ... ipv4 fragment_offset spec 0 fragment_offset mask 0x3fff ...
> To match on fragmented IPv4 packets, need to use pattern:
> ... ipv4 fragment_offset spec 1 fragment_offset last 0x3fff
> fragment_offset mask 0x3fff ...
> (Use the full available range 1 to 0x3fff to include all possible
> values.)
> To match on any IPv4 packets, fragmented and non-fragmented,
> the fragment_offset field should not be specified for match.
>
> Signed-off-by: Dekel Peled <dekelp at nvidia.com>
> ---
Acked-by: Ori Kam <orika at nvidia.com>
Thanks,
Ori
More information about the dev
mailing list