numam-dpdk/drivers
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
..
baseband drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
bus remove repeated 'the' in the code 2021-11-26 11:28:34 +01:00
common common/mlx5: fix memory region lookup on slow path 2021-11-26 13:27:38 +01:00
compress compress/mlx5: fix double close of device context 2021-11-25 11:16:56 +01:00
crypto fix PMD wording 2021-11-26 11:28:34 +01:00
dma dma/dpaa: support statistics 2021-11-10 13:48:38 +01:00
event event/dlb2: fix delayed pop test in selftest 2021-11-16 08:02:13 +01:00
gpu gpu/cuda: set rte_errno 2021-11-24 12:00:42 +01:00
mempool mempool/cnxk: postpone devargs parsing 2021-10-29 16:09:25 +02:00
net net/mlx5: fix devargs validation for multi-class probing 2021-11-26 13:36:16 +01:00
raw fix PMD wording 2021-11-26 11:28:34 +01:00
regex common/mlx5: fix redundant field in MR control structure 2021-11-17 10:42:20 +01:00
vdpa vdpa/mlx5: fix mkey creation check 2021-11-16 11:21:18 +01:00
meson.build gpudev: introduce GPU device class library 2021-11-08 17:20:52 +01:00