numam-dpdk/drivers/crypto/mlx5
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
..
meson.build common/mlx5: fix disabling build 2022-10-30 15:55:10 +01:00
mlx5_crypto_dek.c crypto/mlx5: support plain text keys 2022-06-01 16:26:34 +02:00
mlx5_crypto_utils.h crypto/mlx5: introduce Mellanox crypto driver 2021-07-20 21:45:58 +02:00
mlx5_crypto.c cryptodev: hide symmetric session structure 2022-10-04 22:29:01 +02:00
mlx5_crypto.h crypto/mlx5: support plain text keys 2022-06-01 16:26:34 +02:00
version.map version: 22.11-rc0 2022-07-21 12:13:48 +02:00