summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2019-01-09 15:23:18 +0100
committerFerruh Yigit <ferruh.yigit@intel.com>2019-01-14 17:44:29 +0100
commit72b934adce8f5f9ed035c04ebed8b386243e5a2e (patch)
tree45b44cc5091de8ab8e146e33a48b69c600fe444f /config
parente76d76b27be270b0eaba52b3a6bbc7860a9197af (diff)
downloaddpdk-next-eventdev-72b934adce8f5f9ed035c04ebed8b386243e5a2e.zip
dpdk-next-eventdev-72b934adce8f5f9ed035c04ebed8b386243e5a2e.tar.gz
dpdk-next-eventdev-72b934adce8f5f9ed035c04ebed8b386243e5a2e.tar.xz
config: gather options for dlopen mlx dependency
Rename options CONFIG_RTE_LIBRTE_MLX4_DLOPEN_DEPS and CONFIG_RTE_LIBRTE_MLX5_DLOPEN_DEPS to a single option CONFIG_RTE_IBVERBS_LINK_DLOPEN. Rename meson option enable_driver_mlx_glue to ibverbs_link. There was no good reason for setting a different link option for mlx4 and mlx5. Having a single common option makes it easier to understand and unify make and meson systems. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Shahaf Shuler <shahafs@mellanox.com>
Diffstat (limited to 'config')
-rw-r--r--config/common_base7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/common_base b/config/common_base
index 6fbd1d8..d2c214f 100644
--- a/config/common_base
+++ b/config/common_base
@@ -320,7 +320,6 @@ CONFIG_RTE_LIBRTE_AVF_16BYTE_RX_DESC=n
#
CONFIG_RTE_LIBRTE_MLX4_PMD=n
CONFIG_RTE_LIBRTE_MLX4_DEBUG=n
-CONFIG_RTE_LIBRTE_MLX4_DLOPEN_DEPS=n
#
# Compile burst-oriented Mellanox ConnectX-4, ConnectX-5,
@@ -328,7 +327,11 @@ CONFIG_RTE_LIBRTE_MLX4_DLOPEN_DEPS=n
#
CONFIG_RTE_LIBRTE_MLX5_PMD=n
CONFIG_RTE_LIBRTE_MLX5_DEBUG=n
-CONFIG_RTE_LIBRTE_MLX5_DLOPEN_DEPS=n
+
+# Linking method for mlx4/5 dependency on ibverbs and related libraries
+# Default linking is dynamic by linker.
+# Other option is dynamic by dlopen at run-time.
+CONFIG_RTE_IBVERBS_LINK_DLOPEN=n
#
# Compile burst-oriented Netronome NFP PMD driver