diff options
-rw-r--r-- | README | 3 | ||||
-rw-r--r-- | dpdk/Makefile | 8 |
2 files changed, 5 insertions, 6 deletions
@@ -39,8 +39,9 @@ 2. INSTALLATION GUIDE - 1) Obtain latest DPDK and build it. + 1) Obtain latest supported DPDK version and build it. (refer to http://dpdk.org for information how to download and build it). + Currently supported(tested) DPDK versions: 16.11 LTS, 17.11 LTS, 18.02. 2) Make sure that RTE_SDK and RTE_TARGET DPDK related environment variables are setup correctly. 3) Go to the TLDK root directory and type: 'make all'. diff --git a/dpdk/Makefile b/dpdk/Makefile index 545f5ab..63ddd6c 100644 --- a/dpdk/Makefile +++ b/dpdk/Makefile @@ -14,7 +14,7 @@ # Scripts require non-POSIX parts of bash SHELL := /bin/bash -DPDK_VERSION ?= 16.11 +DPDK_VERSION ?= v17.11 DPDK_BUILD_DIR ?= $(CURDIR)/_build DPDK_INSTALL_DIR ?= $(DPDK_BUILD_DIR)/dpdk/$(RTE_TARGET) DPDK_PKTMBUF_HEADROOM ?= 128 @@ -125,6 +125,8 @@ $(B)/custom-config: $(B)/.patch.ok Makefile $(call set,RTE_LIBRTE_PORT,n) $(call set,RTE_LIBRTE_TABLE,n) $(call set,RTE_LIBRTE_PIPELINE,n) + $(call set,RTE_LIBRTE_FLOW_CLASSIFY,n) + $(call set,RTE_LIBRTE_PMD_CRYPTO_SCHEDULER,n) $(call set,RTE_KNI_KMOD,n) @rm -f .config.ok @@ -133,11 +135,7 @@ $(B)/.download.ok: @if [ -e $(DPDK_SOURCE) ] ; \ then rm -rf $(DPDK_SOURCE) ; \ fi -ifeq ($(DPDK_VERSION),master) @git clone $(DPDK_GIT_REPO) --branch $(DPDK_VERSION) $(DPDK_SOURCE) -else - @git clone $(DPDK_GIT_REPO) --branch v$(DPDK_VERSION) $(DPDK_SOURCE) -endif @touch $@ .PHONY: download |