[dpdk-dev] [RFC] ethdev: add sanity packet checks

2021-02-28 Thread Ori Kam
Currently, DPDK application can offload the checksum check, and report it in the mbuf. However, this approach doesn't work if the traffic is offloaded and should not arrive to the application. This commit introduces rte flow item that enables matching on the checksum of the L3 and L4 layers, in a

Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks

2021-02-28 Thread Thomas Monjalon
28/02/2021 20:48, Ori Kam: > Currently, DPDK application can offload the checksum check, > and report it in the mbuf. > > However, this approach doesn't work if the traffic > is offloaded and should not arrive to the application. > > This commit introduces rte flow item that enables s/rte flow/r

Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks

2021-03-04 Thread Ori Kam
Hi PSB > -Original Message- > From: dev On Behalf Of Thomas Monjalon > Sent: Sunday, February 28, 2021 10:14 PM > > 28/02/2021 20:48, Ori Kam: > > Currently, DPDK application can offload the checksum check, > > and report it in the mbuf. > > > > However, this approach doesn't work if t

Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks

2021-03-04 Thread Thomas Monjalon
04/03/2021 11:00, Ori Kam: > From: Thomas Monjalon > > 28/02/2021 20:48, Ori Kam: > > > Currently, DPDK application can offload the checksum check, > > > and report it in the mbuf. > > > > > > However, this approach doesn't work if the traffic > > > is offloaded and should not arrive to the applica

Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks

2021-03-07 Thread Ori Kam
Hi > -Original Message- > From: Thomas Monjalon > Sent: Thursday, March 4, 2021 12:46 PM > Subject: Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks > > 04/03/2021 11:00, Ori Kam: > > From: Thomas Monjalon > > > 28/02/2021 20:48, Ori Kam: > &

Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks

2021-03-08 Thread Ajit Khaparde
On Sun, Mar 7, 2021 at 10:46 AM Ori Kam wrote: > > Hi > > > -Original Message- > > From: Thomas Monjalon > > Sent: Thursday, March 4, 2021 12:46 PM > > Subject: Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks > > > > 04/03/2021 11:00, Or

Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks

2021-03-09 Thread Andrew Rybchenko
On 2/28/21 10:48 PM, Ori Kam wrote: > Currently, DPDK application can offload the checksum check, > and report it in the mbuf. > > However, this approach doesn't work if the traffic > is offloaded and should not arrive to the application. > > This commit introduces rte flow item that enables > matc

Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks

2021-03-09 Thread Thomas Monjalon
09/03/2021 10:01, Andrew Rybchenko: > On 2/28/21 10:48 PM, Ori Kam wrote: > > Currently, DPDK application can offload the checksum check, > > and report it in the mbuf. > > > > However, this approach doesn't work if the traffic > > is offloaded and should not arrive to the application. > > > > This

Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks

2021-03-09 Thread Ori Kam
Hi > -Original Message- > From: dev On Behalf Of Thomas Monjalon > Sent: Tuesday, March 9, 2021 11:11 AM > Subject: Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks > > 09/03/2021 10:01, Andrew Rybchenko: > > On 2/28/21 10:48 PM, Ori Kam wrote: > > >

Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks

2021-03-09 Thread Andrew Rybchenko
On 3/9/21 6:08 PM, Ori Kam wrote: > Hi > >> -Original Message- >> From: dev On Behalf Of Thomas Monjalon >> Sent: Tuesday, March 9, 2021 11:11 AM >> Subject: Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks >> >> 09/03/2021 10:01, Andrew R

Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks

2021-03-09 Thread Ori Kam
Hi > -Original Message- > From: Ajit Khaparde > Subject: Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks > > On Sun, Mar 7, 2021 at 10:46 AM Ori Kam wrote: > > > > Hi > > > > > -Original Message- > > > From: Thomas Mon

Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks

2021-03-09 Thread Ori Kam
Hi Andrew, Thanks for the reply PDB, > -Original Message- > From: Andrew Rybchenko > Sent: Tuesday, March 9, 2021 5:28 PM > Subject: Re: [dpdk-dev] [RFC] ethdev: add sanity packet checks > > On 3/9/21 6:08 PM, Ori Kam wrote: > > Hi > > > >> -O