Move to 17.11 as default DPDK version. 62/10462/1
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Thu, 8 Feb 2018 15:01:27 +0000 (15:01 +0000)
committerKonstantin Ananyev <konstantin.ananyev@intel.com>
Thu, 8 Feb 2018 15:03:29 +0000 (15:03 +0000)
As 17.11 will be new LTS - made it our default DPDK version.
Updated README.

Change-Id: I955513045ee1c6869a344cb551b095d6971b526f
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
README
dpdk/Makefile

diff --git a/README b/README
index 98ed902..16f96b9 100644 (file)
--- 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'.
index 545f5ab..63ddd6c 100644 (file)
@@ -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