Re: [dpdk-dev] [PATCH] net: fix the way how L4 checksum choice is tested

2019-06-27 Thread Ananyev, Konstantin
From: Andrew Rybchenko [mailto:arybche...@solarflare.com] Sent: Monday, June 24, 2019 1:17 PM To: Ananyev, Konstantin ; Ivan Malov ; Olivier Matz Cc: dev@dpdk.org; Kulasek, TomaszX ; sta...@dpdk.org Subject: Re: [dpdk-dev] [PATCH] net: fix the way how L4 checksum choice is tested On 6/24/19

Re: [dpdk-dev] [PATCH] net: fix the way how L4 checksum choice is tested

2019-06-24 Thread Andrew Rybchenko
On 6/24/19 3:01 PM, Ananyev, Konstantin wrote: -Original Message- From: Ananyev, Konstantin Sent: Monday, June 24, 2019 12:52 PM To: 'Ivan Malov' ; Olivier Matz Cc: dev@dpdk.org; Kulasek, TomaszX ; sta...@dpdk.org Subject: RE: [dpdk-dev] [PATCH] net: fix the way how L

Re: [dpdk-dev] [PATCH] net: fix the way how L4 checksum choice is tested

2019-06-24 Thread Ananyev, Konstantin
> -Original Message- > From: Ananyev, Konstantin > Sent: Monday, June 24, 2019 12:52 PM > To: 'Ivan Malov' ; Olivier Matz > > Cc: dev@dpdk.org; Kulasek, TomaszX ; > sta...@dpdk.org > Subject: RE: [dpdk-dev] [PATCH] net: fix the way how L4 checksum

Re: [dpdk-dev] [PATCH] net: fix the way how L4 checksum choice is tested

2019-06-24 Thread Ananyev, Konstantin
> The API to prepare checksum offloads mistreats L4 > checksum type enum values as self-contained flags. > > Turning these flag checks into enum checks causes > warnings by GCC about possibly uninitialised IPv4 > header pointer. The issue was found to show up in > the case of GCC versions 4.8.5