summaryrefslogtreecommitdiff
path: root/doc/guides/tools/testeventdev.rst
diff options
context:
space:
mode:
authorHarry van Haaren <harry.van.haaren@intel.com>2019-03-27 18:45:46 +0000
committerJerin Jacob <jerinj@marvell.com>2019-04-02 06:40:47 +0530
commitea7ce1fea821d4068a746658d55d89865d92b67c (patch)
tree889b29377bdedcc7b7253385b6fccdcd0cca4bf8 /doc/guides/tools/testeventdev.rst
parent0f14193534a0fd684a2691f9b86a4655418f3c60 (diff)
downloaddpdk-next-eventdev-ea7ce1fea821d4068a746658d55d89865d92b67c.zip
dpdk-next-eventdev-ea7ce1fea821d4068a746658d55d89865d92b67c.tar.gz
dpdk-next-eventdev-ea7ce1fea821d4068a746658d55d89865d92b67c.tar.xz
event/sw: fix selftest enqueue return value checks
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>
Diffstat (limited to 'doc/guides/tools/testeventdev.rst')
0 files changed, 0 insertions, 0 deletions