Re: [dpdk-dev] [PATCH v2] app/test: fix to prevent zcd gcc compile error

2020-11-15 Thread David Marchand
On Wed, Nov 11, 2020 at 5:18 PM Honnappa Nagarahalli wrote: > > -Original Message- > > From: Conor Walsh > > Sent: Tuesday, November 10, 2020 5:03 AM > > To: Honnappa Nagarahalli ; > > konstantin.anan...@intel.com > > Cc: dev@dpdk.org; linglix.c...@intel.com; Conor Walsh > > > > Subject:

Re: [dpdk-dev] [PATCH v2] app/test: fix to prevent zcd gcc compile error

2020-11-11 Thread Honnappa Nagarahalli
> -Original Message- > From: Conor Walsh > Sent: Tuesday, November 10, 2020 5:03 AM > To: Honnappa Nagarahalli ; > konstantin.anan...@intel.com > Cc: dev@dpdk.org; linglix.c...@intel.com; Conor Walsh > > Subject: [PATCH v2] app/test: fix to prevent zcd gcc compile error > > When DPDK

Re: [dpdk-dev] [PATCH v2] app/test: fix to prevent zcd gcc compile error

2020-11-10 Thread Honnappa Nagarahalli
> > When DPDK is compiled with gcc < 9 with the optimization level set to 1 gcc > sees zcd in test_ring.h as possibly being uninitialised. To correct this > error if > statements from _st_ring_dequeue_bulk and _st_ring_enqueue_bulk were > corrected within test_ring_mt_peek_stress_zc.c > > Sign

[dpdk-dev] [PATCH v2] app/test: fix to prevent zcd gcc compile error

2020-11-10 Thread Conor Walsh
When DPDK is compiled with gcc < 9 with the optimization level set to 1 gcc sees zcd in test_ring.h as possibly being uninitialised. To correct this error if statements from _st_ring_dequeue_bulk and _st_ring_enqueue_bulk were corrected within test_ring_mt_peek_stress_zc.c Signed-off-by: Conor Wal