aboutsummaryrefslogtreecommitdiffstats
path: root/build/external
diff options
context:
space:
mode:
Diffstat (limited to 'build/external')
-rw-r--r--build/external/packages/dpdk.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/build/external/packages/dpdk.mk b/build/external/packages/dpdk.mk
index a551151bba7..9cbcf020a23 100644
--- a/build/external/packages/dpdk.mk
+++ b/build/external/packages/dpdk.mk
@@ -15,6 +15,7 @@ DPDK_PKTMBUF_HEADROOM ?= 128
DPDK_CACHE_LINE_SIZE ?= 64
DPDK_DOWNLOAD_DIR ?= $(DL_CACHE_DIR)
DPDK_DEBUG ?= n
+DPDK_AARCH64_GENERIC ?= y
DPDK_MLX4_PMD ?= n
DPDK_MLX5_PMD ?= n
DPDK_TAP_PMD ?= n
@@ -67,7 +68,10 @@ export CROSS
DPDK_TARGET ?= arm64-armv8a-linuxapp-$(DPDK_CC)
DPDK_MACHINE ?= armv8a
DPDK_TUNE ?= generic
-
+ifeq (y, $(DPDK_AARCH64_GENERIC))
+DPDK_CACHE_LINE_SIZE := 128
+# assign aarch64 variant specific options
+else
CPU_IMP_ARM = 0x41
CPU_IMP_CAVIUM = 0x43
@@ -112,6 +116,9 @@ $(warning Unknown Cavium CPU)
endif
endif
+# finish of assigning aarch64 variant specific options
+endif
+
##############################################################################
# Unknown platform
##############################################################################