From a14718dfaee57827a0666b858cf192dc1cb00db5 Mon Sep 17 00:00:00 2001 From: Sreeju Selvaraj Date: Mon, 29 Sep 2014 18:39:33 +0800 Subject: meta-intel/common: Upgrade DPDK to v1.7.0 Added support for DPDK v1.7.0. Added PACKAGECONFIG mechanism to explicitly disable the use of fuse and qat which are dependencies for example apps dpdk_qat and vhost. Added config variables CONFIG_EXAMPLE_DPDK_QAT and CONFIG_EXAMPLE_DPDK_VHOST to enable or disable the compilation of example apps dpdk_qat and vhost. Resolved the installation failure found in example app ip_pipeline by cherry-picking the patch from dpdk.org. Resolved the test failure found in example app ring_pmd_autotest by cherry-picking the patches from dpdk.org. Signed-off-by: Sreeju Selvaraj Acked-by: Ong Boon Leong Signed-off-by: Tom Zanussi --- ...d-config-variables-to-enable-disable-dpdk.patch | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-examples-Add-config-variables-to-enable-disable-dpdk.patch (limited to 'common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-examples-Add-config-variables-to-enable-disable-dpdk.patch') diff --git a/common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-examples-Add-config-variables-to-enable-disable-dpdk.patch b/common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-examples-Add-config-variables-to-enable-disable-dpdk.patch new file mode 100644 index 00000000..d0721ca0 --- /dev/null +++ b/common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-examples-Add-config-variables-to-enable-disable-dpdk.patch @@ -0,0 +1,42 @@ +From 63f8ccc5a305b193e219d288ef9e43b9a9fa6aa8 Mon Sep 17 00:00:00 2001 +From: Sreeju Selvaraj +Date: Wed, 17 Sep 2014 19:10:01 +0800 +Subject: [PATCH] examples: Add config variables to enable/disable dpdk_qat and + vhost + +Upstream-Status: Inappropriate [configuration] + +This can be used to export CONFIG_EXAMPLE_DPDK_QAT=n if dpdk_qat is not +in PACKAGECONFIG and also allow to export CONFIG_EXAMPLE_DPDK_VHOST=n +if vhost is not in PACKAGECONFIG. + +Signed-off-by: Sreeju Selvaraj +--- + examples/Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/examples/Makefile b/examples/Makefile +index d0624f6..885c938 100644 +--- a/examples/Makefile ++++ b/examples/Makefile +@@ -39,7 +39,7 @@ include $(RTE_SDK)/mk/rte.vars.mk + + DIRS-y += cmdline + ifneq ($(ICP_ROOT),) +-DIRS-y += dpdk_qat ++DIRS-$(CONFIG_EXAMPLE_DPDK_QAT) += dpdk_qat + endif + DIRS-y += exception_path + DIRS-y += helloworld +@@ -61,7 +61,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_METER) += qos_meter + DIRS-$(CONFIG_RTE_LIBRTE_SCHED) += qos_sched + DIRS-y += quota_watermark + DIRS-y += timer +-DIRS-y += vhost ++DIRS-$(CONFIG_EXAMPLE_DPDK_VHOST) += vhost + DIRS-$(CONFIG_RTE_LIBRTE_XEN_DOM0) += vhost_xen + DIRS-y += vmdq + DIRS-y += vmdq_dcb +-- +1.9.1 + -- cgit v1.2.3-54-g00ecf