[dpdk-dev] [PATCH v2] app/test: fix to prevent zcd gcc compile error
David Marchand
david.marchand at redhat.com
Sun Nov 15 16:56:52 CET 2020
On Wed, Nov 11, 2020 at 5:18 PM Honnappa Nagarahalli
<Honnappa.Nagarahalli at arm.com> wrote:
> > -----Original Message-----
> > From: Conor Walsh <conor.walsh at intel.com>
> > Sent: Tuesday, November 10, 2020 5:03 AM
> > To: Honnappa Nagarahalli <Honnappa.Nagarahalli at arm.com>;
> > konstantin.ananyev at intel.com
> > Cc: dev at dpdk.org; linglix.chen at intel.com; Conor Walsh
> > <conor.walsh at intel.com>
> > Subject: [PATCH v2] app/test: fix to prevent zcd gcc compile error
> >
> > 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
Fixes: f72299fd157d ("test/ring: add stress tests for zero copy API")
> >
> > Signed-off-by: Conor Walsh <conor.walsh at intel.com>
> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
Updated title, and applied, thanks.
--
David Marchand
More information about the dev
mailing list