numam-dpdk/drivers/event
Harry van Haaren 1b03e29291 event/sw: fix enqueue checks in self-test
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: cd1a9e3eab ("test/eventdev: add SW tests for load balancing")
Cc: stable@dpdk.org

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
2019-04-02 03:10:47 +02:00
..
dpaa eal/linux: rename linuxapp to linux 2019-03-12 17:31:13 +01:00
dpaa2 drivers: fix SPDX license id consistency 2019-03-29 00:15:53 +01:00
dsw event/dsw: fix build with icc 2018-10-04 16:17:07 +02:00
octeontx fix global variable issues 2018-10-29 02:34:27 +01:00
opdl event/opdl: replace sprintf with snprintf 2019-03-15 06:46:50 +01:00
skeleton
sw event/sw: fix enqueue checks in self-test 2019-04-02 03:10:47 +02:00
Makefile event/dsw: add device registration and build system 2018-10-01 16:44:14 +02:00
meson.build event/dsw: add device registration and build system 2018-10-01 16:44:14 +02:00