patches for DPDK stable branches
 help / color / mirror / Atom feed
* Re: [dpdk-stable] [EXT] [PATCH] event/sw: fix selftest enqueue return value checks
       [not found] <20190327184546.89483-1-harry.van.haaren@intel.com>
@ 2019-03-30 15:26 ` Jerin Jacob Kollanukkaran
  0 siblings, 0 replies; only message in thread
From: Jerin Jacob Kollanukkaran @ 2019-03-30 15:26 UTC (permalink / raw)
  To: harry.van.haaren, dev; +Cc: stable

On Wed, 2019-03-27 at 18:45 +0000, Harry van Haaren wrote:
> -------------------------------------------------------------------
> ---
> This patch fixes a number of instances of the same return
> value mis-check, where previously we checked for a negative
> return value as error, however the API returns an unsigned
> integer, so these return value checks are invalid.
> 
> The rte_event_enqueue_burst() API returns the number of
> events enqueued, so in order to identify the error case,
> we must check for != the number of intended enqueues.
> 
> Fixes: cd1a9e3eab55 ("test/eventdev: add SW tests for load
> balancing")

Cc: stable@dpdk.org


> Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>

Applied to dpdk-next-eventdev/master. Thanks.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-03-30 15:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20190327184546.89483-1-harry.van.haaren@intel.com>
2019-03-30 15:26 ` [dpdk-stable] [EXT] [PATCH] event/sw: fix selftest enqueue return value checks Jerin Jacob Kollanukkaran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).