Andrew reported a build failure when disabling mlx5 common driver. It is a blocker for -rc2 release.
While fixing the use of a variable across mlx5 drivers in first patch, the consistency of its use is improved in a second patch. v2: apply the same protection to other mlx5 drivers v3: fix ibverbs_link=dlopen (include directory was missing) Thomas Monjalon (2): common/mlx5: fix build disabling common/mlx5: move build config initialization and check drivers/common/mlx5/linux/meson.build | 3 +-- drivers/common/mlx5/meson.build | 2 ++ drivers/common/mlx5/windows/meson.build | 4 ---- drivers/compress/mlx5/meson.build | 5 +++++ drivers/crypto/mlx5/meson.build | 5 +++++ drivers/net/mlx5/hws/meson.build | 4 ++++ drivers/net/mlx5/meson.build | 9 ++++++--- drivers/regex/mlx5/meson.build | 5 +++++ drivers/vdpa/mlx5/meson.build | 5 +++++ 9 files changed, 33 insertions(+), 9 deletions(-) -- 2.36.1