Re: [dpdk-dev] [PATCH v8 1/2] ethdev: add packet integrity checks

2021-04-19 Thread Ajit Khaparde
::[snip]:: > Example of usage: > 1. check packets from all possible layers for integrity. >flow create integrity spec packet_ok = 1 mask packet_ok = 1 . > > 2. Check only packet with layer 4 (UDP / TCP) >flow create integrity spec l3_ok = 1, l4_ok = 1 mask l3_ok = 1 l4_ok = 1 > > Signed

Re: [dpdk-dev] [PATCH v8 1/2] ethdev: add packet integrity checks

2021-04-19 Thread Ferruh Yigit
On 4/19/2021 5:34 PM, Thomas Monjalon wrote: 19/04/2021 16:09, Ajit Khaparde: ::[snip]:: Example of usage: 1. check packets from all possible layers for integrity. flow create integrity spec packet_ok = 1 mask packet_ok = 1 . 2. Check only packet with layer 4 (UDP / TCP) flow creat

Re: [dpdk-dev] [PATCH v8 1/2] ethdev: add packet integrity checks

2021-04-19 Thread Thomas Monjalon
19/04/2021 16:09, Ajit Khaparde: > ::[snip]:: > > Example of usage: > > 1. check packets from all possible layers for integrity. > >flow create integrity spec packet_ok = 1 mask packet_ok = 1 . > > > > 2. Check only packet with layer 4 (UDP / TCP) > >flow create integrity spec l3_ok = 1

[dpdk-dev] [PATCH v8 1/2] ethdev: add packet integrity checks

2021-04-19 Thread Gregory Etelson
From: Ori Kam Currently, DPDK application can offload the checksum check, and report it in the mbuf. However, as more and more applications are offloading some or all logic and action to the HW, there is a need to check the packet integrity so the right decision can be taken. The application lo