From 946322cf51d4d8c979fc1d9c8fa1fe82c405917e Mon Sep 17 00:00:00 2001 From: Konstantin Ananyev Date: Thu, 8 Feb 2018 15:01:27 +0000 Subject: Move to 17.11 as default DPDK version. As 17.11 will be new LTS - made it our default DPDK version. Updated README. Change-Id: I955513045ee1c6869a344cb551b095d6971b526f Signed-off-by: Konstantin Ananyev --- README | 3 ++- dpdk/Makefile | 8 +++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README b/README index 98ed902..16f96b9 100644 --- a/README +++ b/README @@ -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 -- cgit 1.2.3-korg