Go to file
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
.ci ci: fix arm64 config filename 2019-03-30 00:01:35 +01:00
app test/event: improve compatibility for timer adapter 2019-04-02 03:10:40 +02:00
buildtools build: add workarounds for Windows helloworld 2019-04-03 01:21:31 +02:00
config eal/windows: introduce Windows support 2019-04-03 01:06:01 +02:00
devtools eal: remove exec-env directory 2019-04-02 21:49:35 +02:00
doc hash: support lock-free extendable bucket 2019-04-03 20:52:35 +02:00
drivers event/sw: fix enqueue checks in self-test 2019-04-02 03:10:47 +02:00
examples build: add workarounds for Windows helloworld 2019-04-03 01:21:31 +02:00
kernel eal/windows: introduce Windows support 2019-04-03 01:06:01 +02:00
lib eal: allow to override init macros per OS 2019-04-03 23:52:00 +02:00
license fix dpdk.org URLs 2018-11-26 20:19:24 +01:00
mk eal: add OS specific header file 2019-04-03 01:11:56 +02:00
usertools usertools: add octeontx2 SSO and NPA PCIe devices 2019-03-27 01:24:27 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore git: ignore build directories 2019-03-13 11:57:05 +01:00
.travis.yml ci: introduce Travis builds for GitHub repositories 2019-03-26 22:31:40 +01:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS doc: add guide for Windows 2019-04-03 01:21:31 +02:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt build: use integer for max ethdev ports option 2019-03-26 23:08:09 +01:00
meson.build eal: add OS specific header file 2019-04-03 01:11:56 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION build: add single source of DPDK version number 2019-03-27 09:43:23 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org