diff options
author | Amir Zeidner <amirzei@mellanox.com> | 2018-03-05 14:32:22 +0200 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-03-05 18:40:41 +0000 |
commit | 0e7fe4fddb493350cf78c8126e9cc93d55490c42 (patch) | |
tree | 2a6c639e48a91c76a9d93b11689fdf367b5c082c /src/plugins | |
parent | f7b7fa53b7eaec81d8c00c1023fb7d01f1f9761f (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 'src/plugins')
-rw-r--r-- | src/plugins/dpdk.am | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/dpdk.am b/src/plugins/dpdk.am index 41430f3a722..10f2fe4aaba 100644 --- a/src/plugins/dpdk.am +++ b/src/plugins/dpdk.am @@ -25,9 +25,6 @@ endif if WITH_ISA_L_CRYPTO_LIB dpdk_plugin_la_LDFLAGS += -Wl,--exclude-libs,libisal_crypto.a,-l:libisal_crypto.a endif -if WITH_IBVERBS_LIB -dpdk_plugin_la_LDFLAGS += -Wl,-libverbs -endif dpdk_plugin_la_CFLAGS = $(AM_CFLAGS) dpdk_plugin_la_LDFLAGS += -Wl,-lnuma |