Go to file
Ori Kam 617ecc9000 net/mlx5: fix errno for unsupported Direct Rules
When Direct Rules API is not supported we don't set the errno.
This results in failing the function but with errno equals to zero.
The result of this is that a function that failed, is considered as
a function that worked correctly.

This commit fixes this issue by setting the errno to ENOTSUP and
returning this error when error value should be returned.

Since RDMA-CORE are returning positive errno we are also returning
positive error values.

Fixes: 4f84a19779 ("net/mlx5: add Direct Rules API")

Signed-off-by: Ori Kam <orika@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
2019-05-08 17:29:31 +02:00
.ci ci: fix arm64 config filename 2019-03-30 00:01:35 +01:00
app test: load test symbols from binary at init 2019-05-04 23:02:58 +02:00
buildtools build: fix ninja install on FreeBSD 2019-05-02 23:07:04 +02:00
config build: add libbsd to pkg-config file if enabled 2019-05-02 23:07:14 +02:00
devtools devtools: fix ABI compatibility check 2019-05-02 01:44:20 +02:00
doc doc: update release notes for Windows support 2019-05-05 00:15:44 +02:00
drivers net/mlx5: fix errno for unsupported Direct Rules 2019-05-08 17:29:31 +02:00
examples examples/power: fix json null termination 2019-05-03 01:41:42 +02:00
kernel kni: fix type for MAC address 2019-04-19 23:07:17 +02:00
lib hash: fix doc about thread/process safety 2019-05-04 23:29:45 +02:00
license fix dpdk.org URLs 2018-11-26 20:19:24 +01:00
mk mk: disable warning for packed member pointer 2019-05-02 23:04:38 +02:00
usertools net/ipn3ke: add new driver 2019-04-19 14:51:54 +02:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: fix missing asymmetric crypto table 2019-04-18 16:01:28 +02:00
.travis.yml ci: add a distinguisher to the extra Travis builds 2019-04-17 13:56:23 +02:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS maintainers: claim maintainership of IPC 2019-05-03 22:02:51 +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 build: add libbsd to pkg-config file if enabled 2019-05-02 23:07:14 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 19.05-rc3 2019-05-05 00:28:48 +02: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