From 0e7fe4fddb493350cf78c8126e9cc93d55490c42 Mon Sep 17 00:00:00 2001 From: Amir Zeidner Date: Mon, 5 Mar 2018 14:32:22 +0200 Subject: Set DPDK_MLX4_PMD and DPDK_MLX5_PMD compile with default dlopen links dlopen linkage allow more transparent use for Mellanox nics. Mellanox shared library librte_pmd_mlx5/4_glue.so* placed in LD_LIBRARY_PATH At run time Mellanox code will be loaded only when Mellanox nics explicty used. i.e if VPP is used with other vendor Mellanox code is not loaded. Change-Id: Ib05bdbfc4cbb6e447c67186c98361f9c5b447140 Signed-off-by: Amir Zeidner --- dpdk/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dpdk') diff --git a/dpdk/Makefile b/dpdk/Makefile index 22ea9cfae9b..40c7b9a1642 100644 --- a/dpdk/Makefile +++ b/dpdk/Makefile @@ -197,6 +197,8 @@ $(B)/custom-config: $(B)/.patch.ok Makefile $(call set,RTE_LIBRTE_PMD_AESNI_GCM,$(AESNI)) $(call set,RTE_LIBRTE_MLX4_PMD,$(DPDK_MLX4_PMD)) $(call set,RTE_LIBRTE_MLX5_PMD,$(DPDK_MLX5_PMD)) + $(call set,RTE_LIBRTE_MLX4_DLOPEN_DEPS,$(DPDK_MLX4_PMD)) + $(call set,RTE_LIBRTE_MLX5_DLOPEN_DEPS,$(DPDK_MLX5_PMD)) @# not needed $(call set,RTE_LIBRTE_PMD_TAP,n) $(call set,RTE_LIBRTE_TIMER,n) -- cgit 1.2.3-korg