From f3262a2dd0fd788b5ef3fc9592de17ef8bcbd897 Mon Sep 17 00:00:00 2001 From: Benoît Ganne Date: Mon, 8 Apr 2019 13:45:33 +0200 Subject: rdma: fix DPDK MLX driver conflict MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- build/external/packages/rdma-core.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/external/packages/rdma-core.mk') diff --git a/build/external/packages/rdma-core.mk b/build/external/packages/rdma-core.mk index 82a5f0fbdb0..9961c80364f 100644 --- a/build/external/packages/rdma-core.mk +++ b/build/external/packages/rdma-core.mk @@ -31,7 +31,7 @@ define rdma-core_config_cmds $(CMAKE) -G Ninja $(rdma-core_src_dir) \ -DENABLE_STATIC=1 -DENABLE_RESOLVE_NEIGH=0 -DNO_PYVERBS=1 -DENABLE_VALGRIND=0 \ -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_C_FLAGS=-fPIC > $(rdma-core_config_log) + -DCMAKE_C_FLAGS='-fPIC -fvisibility=hidden' > $(rdma-core_config_log) endef define rdma-core_build_cmds -- cgit 1.2.3-korg