aboutsummaryrefslogtreecommitdiffstats
path: root/build-data/packages
diff options
context:
space:
mode:
authorRui Cai <rucai@microsoft.com>2018-05-11 21:52:22 +0000
committerDamjan Marion <dmarion.lists@gmail.com>2018-05-12 07:13:46 +0000
commit60bd3028270b1ae297def6f14b65e24a3697a3ed (patch)
tree1f33b8fccecfcfddf8c3191e6aea1db565e0c004 /build-data/packages
parentab13462c9024a596a77d40f477ada57280e6b059 (diff)
dpdk: Add build related keywords for failsafe PMD
Added build related keywords for TAP, FAILSAFE PMD and also added some missing keywords for mlx4 PMD This is part of initial effort to enable vpp running over dpdk on failsafe PMD in Microsoft Azure (1/4). Change-Id: I2aebf209fbc6db030185f41971b51a593a003a3a Signed-off-by: Rui Cai <rucai@microsoft.com>
Diffstat (limited to 'build-data/packages')
-rw-r--r--build-data/packages/dpdk.mk5
-rw-r--r--build-data/packages/vpp.mk3
2 files changed, 8 insertions, 0 deletions
diff --git a/build-data/packages/dpdk.mk b/build-data/packages/dpdk.mk
index 92eb6315eae..ab2e39a804e 100644
--- a/build-data/packages/dpdk.mk
+++ b/build-data/packages/dpdk.mk
@@ -27,6 +27,11 @@ ifneq ($(DPDK_MLX5_PMD),)
DPDK_MAKE_ARGS += DPDK_MLX5_PMD=y
endif
+DPDK_MLX4_PMD=$(strip $($(PLATFORM)_uses_dpdk_mlx4_pmd))
+ifneq ($(DPDK_MLX4_PMD),)
+DPDK_MAKE_ARGS += DPDK_MLX4_PMD=y
+endif
+
DPDK_PLATFORM_TARGET=$(strip $($(PLATFORM)_dpdk_target))
ifneq ($(DPDK_PLATFORM_TARGET),)
DPDK_MAKE_ARGS += DPDK_TARGET=$(DPDK_PLATFORM_TARGET)
diff --git a/build-data/packages/vpp.mk b/build-data/packages/vpp.mk
index 412259110de..19e32efdc24 100644
--- a/build-data/packages/vpp.mk
+++ b/build-data/packages/vpp.mk
@@ -39,6 +39,9 @@ endif
ifeq ($($(PLATFORM)_uses_dpdk_mlx5_pmd),yes)
vpp_configure_args += --with-dpdk-mlx5-pmd
endif
+ifeq ($($(PLATFORM)_uses_dpdk_mlx4_pmd),yes)
+vpp_configure_args += --with-dpdk-mlx4-pmd
+endif
else
vpp_configure_args += --disable-dpdk-plugin
endif