summaryrefslogtreecommitdiffstats
path: root/build/external/packages/dpdk.mk
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-04-08 13:45:33 +0200
committerDave Wallace <dwallacelf@gmail.com>2019-04-08 14:33:51 +0000
commitf3262a2dd0fd788b5ef3fc9592de17ef8bcbd897 (patch)
treed3df45a5a05a6b9ec374de177215fe97ff3e50c6 /build/external/packages/dpdk.mk
parent7f6bd24f7217026131f6b8e1e55f92d2955c883b (diff)
rdma: fix DPDK MLX driver conflict
VPP rdma driver relies on an internal rdma-core not compatible with DPDK MLX driver. Force the use of external rdma-core through RTE_IBVERBS_LINK_DLOPEN DPDK build option and make sure internal rdma-core symbols are not leaked outside of the rdma plugin. Change-Id: I5b2281259f517c4e109d388d172b72eadd69986f Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'build/external/packages/dpdk.mk')
-rw-r--r--build/external/packages/dpdk.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/external/packages/dpdk.mk b/build/external/packages/dpdk.mk
index ae9d9c5df95..a551151bba7 100644
--- a/build/external/packages/dpdk.mk
+++ b/build/external/packages/dpdk.mk
@@ -17,7 +17,6 @@ DPDK_DOWNLOAD_DIR ?= $(DL_CACHE_DIR)
DPDK_DEBUG ?= n
DPDK_MLX4_PMD ?= n
DPDK_MLX5_PMD ?= n
-DPDK_MLX_IBVERBS_DLOPEN ?= n
DPDK_TAP_PMD ?= n
DPDK_FAILSAFE_PMD ?= n
@@ -189,7 +188,7 @@ $(B)/custom-config: $(B)/.dpdk-patch.ok Makefile
$(call set,RTE_LIBRTE_MLX4_PMD,$(DPDK_MLX4_PMD))
$(call set,RTE_LIBRTE_MLX5_PMD,$(DPDK_MLX5_PMD))
$(call set,RTE_LIBRTE_PMD_SOFTNIC,n)
- $(call set,RTE_IBVERBS_LINK_DLOPEN,$(DPDK_MLX_IBVERBS_DLOPEN))
+ $(call set,RTE_IBVERBS_LINK_DLOPEN,y)
$(call set,RTE_LIBRTE_PMD_TAP,$(DPDK_TAP_PMD))
$(call set,RTE_LIBRTE_GSO,$(DPDK_TAP_PMD))
$(call set,RTE_LIBRTE_PMD_FAILSAFE,$(DPDK_FAILSAFE_PMD))