aboutsummaryrefslogtreecommitdiffstats
path: root/build-data
diff options
context:
space:
mode:
authorMatthew Smith <mgsmith@netgate.com>2019-02-28 10:33:12 -0600
committerDamjan Marion <dmarion@me.com>2019-03-01 20:26:47 +0000
commit84caa17a9d77e2986bb996a46d7c4a8a05fc868d (patch)
tree8ee1b3d4c83448706259549b533b72ad5a37417e /build-data
parentb89609428977fe4ffae4e0823e28942fd4ac4ee8 (diff)
dpdk: update mlx[45] linking options
Upstream DPDK changed the names of the options to use dlopen() with libibverbs and libmlx[45] from RTE_LIBRTE_MLX[45]_DLOPEN_DEPS to RTE_IBVERBS_LINK_DLOPEN (handles both mlx4 and mlx5). VPP's build option to enable this configuration when building DPDK no longer worked starting when VPP moved to DPDK 19.02. Update VPP's build options to enable the correct option name. Change-Id: I8e34e1d3fc4ee8aac4fd6f2a7d27177f2b0dea50 Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'build-data')
-rw-r--r--build-data/packages/external.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-data/packages/external.mk b/build-data/packages/external.mk
index 1ed3f09af34..9bc04d3ef03 100644
--- a/build-data/packages/external.mk
+++ b/build-data/packages/external.mk
@@ -29,9 +29,9 @@ ifneq ($(DPDK_MLX5_PMD),)
DPDK_MAKE_ARGS += DPDK_MLX5_PMD=y
endif
-DPDK_MLX5_PMD_DLOPEN_DEPS=$(strip $($(PLATFORM)_uses_dpdk_mlx5_dlopen_deps))
-ifneq ($(DPDK_MLX5_PMD_DLOPEN_DEPS),)
-DPDK_MAKE_ARGS += DPDK_MLX5_PMD_DLOPEN_DEPS=y
+DPDK_MLX_IBVERBS_DLOPEN=$(strip $($(PLATFORM)_uses_dpdk_ibverbs_link_dlopen))
+ifneq ($(DPDK_MLX_IBVERBS_DLOPEN),)
+DPDK_MAKE_ARGS += DPDK_MLX_IBVERBS_DLOPEN=y
endif
DPDK_MLX4_PMD=$(strip $($(PLATFORM)_uses_dpdk_mlx4_pmd))