app/testpmd: support integrity flow item
authorOri Kam <orika@nvidia.com>
Mon, 19 Apr 2021 12:44:31 +0000 (15:44 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 19 Apr 2021 17:05:17 +0000 (19:05 +0200)
The integrity item allows the application to match
on the integrity of a packet.

Usage example:
match that packet integrity checks are OK. The checks depend on
packet layers. For example ICMP packet will not check L4 level.
flow create 0 ingress pattern integrity value mask 0x01 value spec 0x01

Match that L4 packet is OK - check L2 & L3 & L4 layers:
flow create 0 ingress pattern integrity value mask 0xfe value spec 0xfe

Signed-off-by: Ori Kam <orika@nvidia.com>
Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>

No differences found