numam-dpdk/drivers/event/sw
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
..
event_ring.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
iq_chunk.h event/sw: remove stale IQ references when reconfigured 2018-01-19 16:09:56 +01:00
Makefile mk: add experimental tag check 2018-01-29 23:35:29 +01:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
rte_pmd_sw_event_version.map event/sw: rename map file to standard name 2017-10-10 18:31:57 +02:00
sw_evdev_log.h event/sw: support dynamic logging 2018-01-31 10:11:48 +01:00
sw_evdev_scheduler.c event/sw: implement unlinks in progress function 2018-10-01 16:48:57 +02:00
sw_evdev_selftest.c event/sw: fix enqueue checks in self-test 2019-04-02 03:10:47 +02:00
sw_evdev_worker.c event/sw: perform partial burst enqueues 2018-04-16 10:09:53 +02:00
sw_evdev_xstats.c event/sw: use dynamically-sized IQs 2018-01-19 16:09:56 +01:00
sw_evdev.c event/sw: implement unlinks in progress function 2018-10-01 16:48:57 +02:00
sw_evdev.h event/sw: implement unlinks in progress function 2018-10-01 16:48:57 +02:00