numam-dpdk/drivers
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
..
baseband drivers/baseband: expose per operation type queues 2022-10-07 08:44:58 +02:00
bus bus/vdev: fix crash in device cleanup 2022-10-20 11:35:07 +02:00
common common/cnxk: fix channel to BPID mapping 2022-10-18 12:59:55 +02:00
compress common/mlx5: fix disabling build 2022-10-30 15:55:10 +01:00
crypto common/mlx5: fix disabling build 2022-10-30 15:55:10 +01:00
dma dma/idxd: check DSA device allocation 2022-10-10 17:53:18 +02:00
event net/cnxk: remove unnecessary DPTR update 2022-10-18 12:59:55 +02:00
gpu
mempool drivers: mark SW PMDs to support disabling IOVA as PA 2022-10-09 13:14:57 +02:00
net common/mlx5: fix disabling build 2022-10-30 15:55:10 +01:00
raw raw/cnxk_bphy: extend PF function address access 2022-10-26 23:19:19 +02:00
regex common/mlx5: fix disabling build 2022-10-30 15:55:10 +01:00
vdpa common/mlx5: fix disabling build 2022-10-30 15:55:10 +01:00
meson.build build: export include directories list 2022-10-28 14:27:48 +02:00