summaryrefslogtreecommitdiffstats
path: root/dpdk/Makefile
diff options
context:
space:
mode:
authorAmir Zeidner <amirzei@mellanox.com>2018-03-05 14:32:22 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2018-03-05 18:40:41 +0000
commit0e7fe4fddb493350cf78c8126e9cc93d55490c42 (patch)
tree2a6c639e48a91c76a9d93b11689fdf367b5c082c /dpdk/Makefile
parentf7b7fa53b7eaec81d8c00c1023fb7d01f1f9761f (diff)
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 <amirzei@mellanox.com>
Diffstat (limited to 'dpdk/Makefile')
-rw-r--r--dpdk/Makefile2
1 files changed, 2 insertions, 0 deletions
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)