Go to file
Michael Baum c089eb9358 common/mlx5: check common devargs in probing again
MLX5 common driver supports probing again in two scenarios:
 - Add new driver under existing device. common probe function gets
   it in devargs, then calls the requested driver's probe function
   (regardless of the driver's own support in probing again) with the
   existing device as parameter.
 - Transfer the probing again support of the drivers themselves
   (currently only net). In this scenario, the existing device is sent
   as a parameter to the existing driver's probe too.

In both cases it gets a new set of arguments that do not necessarily
match the configured arguments in the existing device.
Some of the arguments belong to the configuration of the existing
device, so they can't be updated in the probing again. On the other
hand, there are arguments that belong to a specific driver or specific
port and might get a new value in the probing again.
The user might generate any argument he wants in probing again, but when
he generates arguments belonging to the common device configuration, it
does not affect.

This patch adds an explicit check for the devargs belonging to the
common device configuration. If there is no match to the existing
configuration, it returns an error.

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2022-02-21 11:36:55 +01:00
.ci buildtools/chkincs: test headers for C++ compatibility 2022-02-12 14:26:21 +01:00
.github/workflows buildtools/chkincs: test headers for C++ compatibility 2022-02-12 14:26:21 +01:00
app app/testpmd: check starting port is not in bonding 2022-02-17 13:35:31 +01:00
buildtools buildtools/chkincs: check missing C++ guards 2022-02-22 15:26:15 +01:00
config sched: enable traffic class oversubscription unconditionally 2022-02-24 23:44:21 +01:00
devtools devtools: add IWYU script to remove unused includes 2022-02-22 13:10:39 +01:00
doc net/ark: support new devices 2022-02-16 00:48:06 +01:00
drivers common/mlx5: check common devargs in probing again 2022-02-21 11:36:55 +01:00
examples examples/vhost: remove DMA type option help info 2022-02-17 09:29:08 +01:00
kernel kni: fix ioctl signature 2022-02-02 20:55:05 +01:00
lib vhost: fix unsafe vring addresses modifications 2022-02-17 09:26:50 +01:00
license lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
usertools support systemd service convention for runtime directory 2022-02-09 19:12:40 +01:00
.editorconfig devtools: clarify that lines up to 100 characters are ok 2021-11-25 11:51:24 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add eventdev feature matrices 2021-11-26 16:29:25 +01:00
.travis.yml version: 22.03-rc0 2021-12-02 21:36:19 +01:00
ABI_VERSION version: 22.03-rc0 2021-12-02 21:36:19 +01:00
MAINTAINERS devtools: add IWYU script to remove unused includes 2022-02-22 13:10:39 +01:00
Makefile build: create dummy Makefile 2020-09-07 23:51:57 +02:00
meson_options.txt config: add option for atomic mbuf reference counting 2021-10-25 17:53:30 +02:00
meson.build build: remove deprecated Meson functions 2022-02-02 18:46:53 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 22.03-rc1 2022-02-14 00:11:35 +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