summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2019-01-09 15:23:19 +0100
committerFerruh Yigit <ferruh.yigit@intel.com>2019-01-14 17:44:29 +0100
commit2c0dd7b69fb00fc3e422a6058ff8429edc869f68 (patch)
treefeeb13844b171079eaf058825c1fca2cfecb4b5c /config
parent72b934adce8f5f9ed035c04ebed8b386243e5a2e (diff)
downloaddpdk-next-eventdev-2c0dd7b69fb00fc3e422a6058ff8429edc869f68.zip
dpdk-next-eventdev-2c0dd7b69fb00fc3e422a6058ff8429edc869f68.tar.gz
dpdk-next-eventdev-2c0dd7b69fb00fc3e422a6058ff8429edc869f68.tar.xz
config: add static linkage of mlx dependency
The libraries provided by rdma-core may be statically linked if enabling CONFIG_RTE_IBVERBS_LINK_STATIC in the make-based build. If CONFIG_RTE_BUILD_SHARED_LIB is disabled, the applications will embed the mlx PMDs with ibverbs and the mlx libraries. If CONFIG_RTE_BUILD_SHARED_LIB is enabled, the mlx PMDs will embed ibverbs and the mlx libraries. Support with meson may be added later. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Shahaf Shuler <shahafs@mellanox.com>
Diffstat (limited to 'config')
-rw-r--r--config/common_base3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/common_base b/config/common_base
index d2c214f..7c6da51 100644
--- a/config/common_base
+++ b/config/common_base
@@ -330,8 +330,9 @@ CONFIG_RTE_LIBRTE_MLX5_DEBUG=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.
+# Other options are: dynamic by dlopen at run-time, or statically embedded.
CONFIG_RTE_IBVERBS_LINK_DLOPEN=n
+CONFIG_RTE_IBVERBS_LINK_STATIC=n
#
# Compile burst-oriented Netronome NFP PMD driver