numam-dpdk/drivers
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
..
baseband bb/turbo_sw: update for FlexRAN 18.09 2018-12-19 11:19:10 +01:00
bus bus/fslmc: fix build with musl libc 2019-03-31 01:02:21 +01:00
common crypto/octeontx: move device specific code to driver 2019-03-22 15:54:24 +01:00
compress compress/qat: add fallback to fixed compression 2019-03-22 14:27:46 +01:00
crypto drivers: fix SPDX license id consistency 2019-03-29 00:15:53 +01:00
event event/sw: fix enqueue checks in self-test 2019-04-02 03:10:47 +02:00
mempool mempool/dpaa: allocate bp info for multiprocess 2019-03-29 14:36:39 +01:00
net net/softnic: support QinQ PPPoE encapsulation 2019-03-29 20:54:36 +01:00
raw raw/ifpga: modify log output 2019-03-29 17:25:32 +01:00
Makefile drivers: add common as dependency for bus 2018-10-16 14:54:25 +02:00
meson.build build: add workarounds for Windows helloworld 2019-04-03 01:21:31 +02:00