numam-dpdk/drivers/net
Michael Baum 8648fa2f46 net/mlx5: fix devargs validation for multi-class probing
The mlx5_args function reads the devargs and checks if they are valid
for this driver and if not it returns an error.

This was normal behavior as long as all the devargs come to this driver,
but since it is possible to run several drivers together, the function
may return an error for another driver's devarg even though it is
completely valid.
In addition the function does not allow the user to know which of the
devargs is incorrect, but returns an error without printing the
unknown devarg.

This patch eliminates the error return in the case of an unknown devarg,
and prints a warning for each such devarg specifically.

Fixes: 7b4f1e6bd3 ("common/mlx5: introduce common library")
Cc: stable@dpdk.org

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-11-26 13:36:16 +01:00
..
af_packet net/af_packet: fix ignoring full ring on Tx 2021-11-04 12:56:32 +01:00
af_xdp net/af_xdp: workaround custom program loading 2021-11-15 18:01:09 +01:00
ark ethdev: add namespace 2021-10-22 18:15:38 +02:00
atlantic drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
avp drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
axgbe net: add macro for VLAN header length 2021-11-17 20:17:04 +01:00
bnx2x remove repeated 'the' in the code 2021-11-26 11:28:34 +01:00
bnxt remove repeated 'the' in the code 2021-11-26 11:28:34 +01:00
bonding remove repeated 'the' in the code 2021-11-26 11:28:34 +01:00
cnxk net/cnxk: integrate BPF count get mailbox 2021-11-03 16:15:08 +01:00
cxgbe net: add macro for VLAN header length 2021-11-17 20:17:04 +01:00
dpaa drivers: check interrupt file descriptor validity 2021-11-08 17:32:42 +01:00
dpaa2 drivers/net: advertise no support for keeping flow rules 2021-11-02 18:59:17 +01:00
e1000 drivers: check interrupt file descriptor validity 2021-11-08 17:32:42 +01:00
ena drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
enetc mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
enetfec net: add macro for VLAN header length 2021-11-17 20:17:04 +01:00
enic net/enic: support GTP header flow matching 2021-11-04 12:34:46 +01:00
failsafe net/failsafe: fix secondary process probe 2021-11-17 13:03:55 +01:00
fm10k fix PMD wording 2021-11-26 11:28:34 +01:00
hinic fix PMD wording 2021-11-26 11:28:34 +01:00
hns3 fix PMD wording 2021-11-26 11:28:34 +01:00
i40e fix PMD wording 2021-11-26 11:28:34 +01:00
iavf net: add macro for VLAN header length 2021-11-17 20:17:04 +01:00
ice remove repeated 'the' in the code 2021-11-26 11:28:34 +01:00
igc drivers: check interrupt file descriptor validity 2021-11-08 17:32:42 +01:00
ionic remove repeated 'the' in the code 2021-11-26 11:28:34 +01:00
ipn3ke net: add macro for VLAN header length 2021-11-17 20:17:04 +01:00
ixgbe net: add macro for VLAN header length 2021-11-17 20:17:04 +01:00
kni ethdev: add namespace 2021-10-22 18:15:38 +02:00
liquidio net/liquidio: remove unused counter 2021-11-16 13:01:52 +01:00
memif net/memif: allow stopping and closing device 2021-11-24 15:53:59 +01:00
mlx4 net/mlx4: fix empty Ethernet spec with VLAN 2021-11-23 14:24:16 +01:00
mlx5 net/mlx5: fix devargs validation for multi-class probing 2021-11-26 13:36:16 +01:00
mvneta net: add macro for VLAN header length 2021-11-17 20:17:04 +01:00
mvpp2 net: add macro for VLAN header length 2021-11-17 20:17:04 +01:00
netvsc drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
nfb ethdev: add namespace 2021-10-22 18:15:38 +02:00
nfp fix PMD wording 2021-11-26 11:28:34 +01:00
ngbe net: add macro for VLAN header length 2021-11-17 20:17:04 +01:00
null ethdev: add namespace 2021-10-22 18:15:38 +02:00
octeontx net/octeontx: remove unused packet length 2021-11-16 13:01:46 +01:00
octeontx2 drivers/net: advertise no support for keeping flow rules 2021-11-02 18:59:17 +01:00
octeontx_ep net/octeontx_ep: remove octeontx2 dependency 2021-10-29 16:09:18 +02:00
pcap build: cleanup libpcap dependent components 2021-11-10 11:42:34 +01:00
pfe ethdev: add namespace 2021-10-22 18:15:38 +02:00
qede net/qede/base: remove unused message size 2021-11-16 13:01:52 +01:00
ring ethdev: add namespace 2021-10-22 18:15:38 +02:00
sfc net/sfc: support MAC address edits in transfer flows 2021-11-17 14:10:08 +01:00
softnic drivers/net: advertise no support for keeping flow rules 2021-11-02 18:59:17 +01:00
tap drivers: check interrupt file descriptor validity 2021-11-08 17:32:42 +01:00
thunderx drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
txgbe net: add macro for VLAN header length 2021-11-17 20:17:04 +01:00
vdev_netvsc version: 21.11-rc0 2021-08-17 08:37:52 +02:00
vhost vhost: rename driver callbacks struct 2021-11-03 11:59:27 +01:00
virtio net/virtio: fix link update in speed feature 2021-10-29 12:32:30 +02:00
vmxnet3 net/vmxnet3: fix build with clang 13 2021-11-16 13:02:27 +01:00
meson.build net/szedata2: remove driver 2021-11-15 16:50:35 +01:00