Go to file
Thomas Monjalon 3df380f617 common/mlx5: fix disabling build
If the dependency common/mlx5 is explicitly disabled,
but net/mlx5 is not explicitly disabled,
Meson will read the full recipe of net/mlx5
and will fail when accessing a variable from common/mlx5:
drivers/net/mlx5/meson.build:76:4: ERROR: Unknown variable "mlx5_config".

The solution is to stop parsing net/mlx5 if common/mlx5 is disabled.
The deps array must be defined before stopping, in order to automatically
disable the build of net/mlx5 and print the reason.

The same protection is applied to other mlx5 drivers,
so it will allow using the variable mlx5_config in future.

Fixes: 22681deead ("net/mlx5/hws: enable hardware steering")

Reported-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Tested-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: Matan Azrad <matan@nvidia.com>
Acked-by: Alex Vesker <valex@nvidia.com>
2022-10-30 15:55:10 +01:00
.ci ci: combine static and shared linking build tests 2022-10-27 13:20:12 +02:00
.github/workflows ci: combine static and shared linking build tests 2022-10-27 13:20:12 +02:00
app ethdev: add structure for indirect flow age update 2022-10-28 12:41:03 +02:00
buildtools buildtools: fix NUMA nodes count 2022-10-11 02:13:52 +02:00
config config/arm: add Phytium TengYun S2500 2022-10-26 17:39:24 +02:00
devtools devtools: guess checkpatch.pl path 2022-10-11 02:18:48 +02:00
doc ethdev: add structure for indirect flow age update 2022-10-28 12:41:03 +02:00
drivers common/mlx5: fix disabling build 2022-10-30 15:55:10 +01:00
examples examples/qos_sched: support higher rates for subport/pipe 2022-10-28 16:20:59 +02:00
kernel kni: use dedicated function to set MAC address 2022-06-08 19:17:21 +02:00
lib mempool: align cache objects on cache lines 2022-10-30 10:07:58 +01:00
license license: add MIT license exception for GVE driver 2022-10-27 12:36:22 +02:00
usertools usertools/pmdinfo: rewrite simpler script 2022-10-11 02:11:33 +02:00
.editorconfig devtools: clarify that lines up to 100 characters are ok 2021-11-25 11:51:24 +01:00
.gitattributes
.gitignore doc: add eventdev feature matrices 2021-11-26 16:29:25 +01:00
.travis.yml version: 22.11-rc0 2022-07-21 12:13:48 +02:00
ABI_VERSION version: 22.11-rc0 2022-07-21 12:13:48 +02:00
MAINTAINERS maintainers: update for Microsoft vmbus and netvsc 2022-10-30 09:47:17 +01:00
Makefile build: create dummy Makefile 2020-09-07 23:51:57 +02:00
meson_options.txt flow_classify: mark library as deprecated 2022-10-28 16:20:59 +02:00
meson.build build: export include directories list 2022-10-28 14:27:48 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 22.11-rc1 2022-10-11 02:39:28 +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