aboutsummaryrefslogtreecommitdiffstats
path: root/dpdk/Makefile
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-02-24 19:21:14 +0100
committerDamjan Marion <damarion@cisco.com>2018-02-24 19:21:19 +0100
commit3473e4938718a820b63edaeab5ae7738c31379d5 (patch)
tree98777af953642cf56cebabc424c62346449b4907 /dpdk/Makefile
parenta530cd0e9f2558cc32b67f9c95b257694b417b28 (diff)
dpdk: Add option to specify cache line size for dpdk build
Change-Id: Ib3361eded05babfc17ead28af7d252e7503ce141 Signed-off-by: Damjan Marion <damarion@cisco.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 d4294504e50..22ea9cfae9b 100644
--- a/dpdk/Makefile
+++ b/dpdk/Makefile
@@ -17,6 +17,7 @@ SHELL := /bin/bash
DPDK_BUILD_DIR ?= $(CURDIR)/_build
DPDK_INSTALL_DIR ?= $(CURDIR)/_install
DPDK_PKTMBUF_HEADROOM ?= 128
+DPDK_CACHE_LINE_SIZE ?= 64
DPDK_DOWNLOAD_DIR ?= $(HOME)/Downloads
DPDK_DEBUG ?= n
DPDK_MLX4_PMD ?= n
@@ -177,6 +178,7 @@ $(B)/custom-config: $(B)/.patch.ok Makefile
@# modify options
$(call set,RTE_MAX_LCORE,256)
$(call set,RTE_PKTMBUF_HEADROOM,$(DPDK_PKTMBUF_HEADROOM))
+ $(call set,RTE_CACHE_LINE_SIZE,$(DPDK_CACHE_LINE_SIZE))
$(call set,RTE_LIBEAL_USE_HPET,y)
$(call set,RTE_BUILD_COMBINE_LIBS,y)
$(call set,RTE_PCI_CONFIG,y)