Re: [dpdk-dev] [PATCH] event: fix check in ring_init() in event ring code

2018-08-02 Thread Jerin Jacob
-Original Message- > Date: Thu, 2 Aug 2018 09:36:04 +0100 > From: Harry van Haaren > To: dev@dpdk.org > CC: Harry van Haaren , > bruce.richard...@intel.com, sta...@dpdk.org, tho...@monjalon.net, > jerin.ja...@caviumnetworks.com > Subject: [PATCH] event: fix check in ring_init() in event

[dpdk-dev] [PATCH] event: fix check in ring_init() in event ring code

2018-08-02 Thread Harry van Haaren
This commit fixes a bug in a 32-bit environment where the generic ring_init() would fail, but given the interaction with memzones the next iteration of the event_ring_autotest would actually *pass* because the ring in question would exist already an be looked-up. This commit rightly error checks t