Go to file
Gage Eads c75f7897ea eventdev: set error code in port link/unlink functions
The return value for rte_event_port_{link, unlink}() is defined as the
"number of {links, unlinks} actually established." However, the eventdev
layer's error checking returns negative error values. This commit aligns
the eventdev code with the API definition by having it set rte_errno and
return 0 if it detects an error.

Fixes: 4f0804bbdf ("eventdev: implement the northbound APIs")
Cc: stable@dpdk.org

Signed-off-by: Gage Eads <gage.eads@intel.com>
2018-01-19 16:09:56 +01:00
app app/testbbdev: add test application for bbdev 2018-01-19 01:44:25 +01:00
buildtools pmdinfogen: fix cross compilation for ARM big endian 2018-01-12 17:26:41 +01:00
config app/testbbdev: add test application for bbdev 2018-01-19 01:44:25 +01:00
devtools bb/turbo_sw: add software turbo driver 2018-01-19 01:44:25 +01:00
doc examples/bbdev: add sample app 2018-01-19 01:44:25 +01:00
drivers bb/turbo_sw: add software turbo driver 2018-01-19 01:44:25 +01:00
examples examples/bbdev: add sample app 2018-01-19 01:44:25 +01:00
lib eventdev: set error code in port link/unlink functions 2018-01-19 16:09:56 +01:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk bb/turbo_sw: add software turbo driver 2018-01-19 01:44:25 +01:00
pkg version: 17.11.0 2017-11-15 19:00:28 +01:00
test test/flow_classify: fix build warning 2018-01-19 00:43:56 +01:00
usertools tools: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore devtools: add tags and cscope index generation 2017-04-30 12:57:04 +02:00
GNUmakefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
MAINTAINERS examples/bbdev: add sample app 2018-01-19 01:44:25 +01:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +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