numam-dpdk/drivers/net
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
..
af_packet build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
af_xdp net/af_xdp: remove resources when port is closed 2019-05-03 18:45:23 +02:00
ark replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
atlantic net/atlantic: remove extra error check 2019-05-03 18:45:23 +02:00
avp build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
axgbe build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
bnx2x net/bnx2x: fix optic module verification 2019-04-19 14:51:54 +02:00
bnxt net/bnxt: fix big endian build 2019-04-12 11:02:02 +02:00
bonding net/bonding: fix potential out of bounds read 2019-04-19 14:51:55 +02:00
cxgbe net/cxgbe: update Chelsio T5/T6 NIC device ids 2019-04-19 14:51:55 +02:00
dpaa build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
dpaa2 net/dpaa2: fix loop increment 2019-05-03 18:45:23 +02:00
e1000 replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
ena net/ena: fix checksum feature flag 2019-04-12 11:02:02 +02:00
enetc net/enetc: fix crash at high speed traffic 2019-04-19 14:51:54 +02:00
enic ethdev: deprecate legacy filter API 2019-04-19 14:51:54 +02:00
failsafe net/failsafe: fix source port id in Rx packets 2019-04-19 14:51:55 +02:00
fm10k net/fm10k: fix VLAN strip offload flag 2019-03-29 17:25:32 +01:00
i40e net/i40e: add device id for X710/XXV710 of ipn3ke 2019-05-07 12:01:49 +02:00
iavf net/iavf: enable more link speed 2019-05-07 12:01:56 +02:00
ice net/ice: fix EEPROM range check 2019-05-07 12:00:31 +02:00
ifc net/ifc: fix used ring update 2019-04-19 14:51:54 +02:00
ipn3ke net/ipn3ke: support flow API 2019-04-19 14:51:54 +02:00
ixgbe net/ixgbe: fix warning with GCC 9 2019-05-02 14:17:24 +02:00
kni net/kni: fix return value check 2019-05-03 18:45:23 +02:00
liquidio replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
mlx4 net/mlx4: support multicast address list interface 2019-05-03 18:45:23 +02:00
mlx5 net/mlx5: fix errno for unsupported Direct Rules 2019-05-08 17:29:31 +02:00
mvneta replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
mvpp2 replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
netvsc net/netvsc: free all queues on close 2019-05-03 18:45:23 +02:00
nfb net/nfb: add new netcope driver 2019-04-12 17:01:13 +02:00
nfp doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
null ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
octeontx net/octeontx: fix vdev name 2019-03-20 18:15:42 +01:00
pcap replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
qede drivers: remove blank line at EOF 2019-04-22 13:24:59 +02:00
ring net/ring: fix return value check 2019-05-03 18:45:23 +02:00
sfc net/sfc: fix MTU change to check Rx scatter consistency 2019-05-03 18:45:22 +02:00
softnic build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
szedata2 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
tap net/tap: fix potential IPC buffer overrun 2019-05-03 18:45:23 +02:00
thunderx net/thunderx: fix Tx desc corruption in scatter-gather mode 2018-11-14 00:35:53 +01:00
vdev_netvsc build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
vhost net/vhost: fix double free of MAC address 2018-12-21 16:22:41 +01:00
virtio net/virtio: fix dangling pointer on failure 2019-04-19 14:51:54 +02:00
vmxnet3 net/vmxnet3: add VLAN filter capability 2019-05-03 18:45:23 +02:00
Makefile net/ipn3ke: add new driver 2019-04-19 14:51:54 +02:00
meson.build net/ipn3ke: add new driver 2019-04-19 14:51:54 +02:00