Hi Ross,
Is This patch fine ?
Thanks and Regards,
-Sreeju
-Original Message-
From: Selvaraj, Sreeju ArmughanX
Sent: Wednesday, September 17, 2014 10:20 PM
To: meta-intel@yoctoproject.org
Cc: Selvaraj, Sreeju ArmughanX
Subject: [PATCH V2 2/3] meta-inte/common: Upgrade DPDK to v1.7.0
From: Sreeju Selvaraj sreeju.armughanx.selva...@intel.com
Added support for DPDK v1.7.0
Added PACKAGECONFIG mechanism to explicitly disable the use of fuse and qat
which are dependancies 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 sreeju.armughanx.selva...@intel.com
---
...d-config-variables-to-enable-disable-dpdk.patch | 40 +++
...examples-pipeline-build-with-all-examples.patch | 33 ++
...e-extra-devices-creation-with-vdev-option.patch | 43 +++
.../dpdk/dpdk-1.7.0-ring-simplify-unit-tests.patch | 379 +
common/recipes-extended/dpdk/dpdk_1.7.0.bb | 41 +++
5 files changed, 536 insertions(+)
create mode 100644
common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-examples-Add-config-variables-to-enable-disable-dpdk.patch
create mode 100644
common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-examples-pipeline-build-with-all-examples.patch
create mode 100644
common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-ring-remove-extra-devices-creation-with-vdev-option.patch
create mode 100644
common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-ring-simplify-unit-tests.patch
create mode 100644 common/recipes-extended/dpdk/dpdk_1.7.0.bb
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 000..79a44e7
--- /dev/null
+++ b/common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-examples-Add-config-v
+++ ariables-to-enable-disable-dpdk.patch
@@ -0,0 +1,40 @@
+From 6e1b99836d0c50d18f7ed0027dc4ed3119bdbb2f Mon Sep 17 00:00:00 2001
+From: Sreeju Selvaraj sreeju.armughanx.selva...@intel.com
+Date: Wed, 17 Sep 2014 19:10:01 +0800
+Subject: [PATCH] examples: Add config variables to enable/disable
+dpdk_qat and vhost
+
+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 sreeju.armughanx.selva...@intel.com
+---
+ examples/Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/examples/Makefile b/examples/Makefile index
+dc85cf3..1788d6e 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
+@@ -62,7 +62,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
+
diff --git
a/common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-examples-pipeline-build-with-all-examples.patch
b/common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-examples-pipeline-build-with-all-examples.patch
new file mode 100644
index 000..234260b
--- /dev/null
+++ b/common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-examples-pipeline-bui
+++ ld-with-all-examples.patch
@@ -0,0 +1,33 @@
+From 835b75b7b22d8373f6ee17cb9ff456518ea7c208 Mon Sep 17 00:00:00 2001
+From: Thomas Monjalon thomas.monja...@6wind.com
+Date: Thu, 17 Jul 2014 10:30:52 +0200
+Subject: [PATCH] examples/pipeline: build with all examples
+
+Imported patch from: http://dpdk.org/browse/dpdk/log/
+
+When adding this packet framework sample (commit 77a3346), it has been
+forgotten to add it into the global makefile for make examples.
+
+Signed-off-by: Thomas Monjalon thomas.monja...@6wind.com (cherry
+picked from commit a6664a09a7caa5e63f9ae625cf1946b0eef7794e)
+Signed-off-by: Sreeju Selvaraj sreeju.armughanx.selva...@intel.com
+---
+ examples/Makefile | 1
+ 1 file changed, 1 insertion(+)
+
+diff --git a/examples/Makefile b/examples/Makefile index
+d0624f6..dc85cf3 100644
+--- a/examples/Makefile
b/examples/Makefile
+@@ -43,6 +43,7 @@ DIRS-y += dpdk_qat
+ endif
+ DIRS-y += exception_path
+ DIRS-y += helloworld
++DIRS-y += ip_pipeline
+ DIRS-y += ip_reassembly
+ DIRS-$(CONFIG_RTE_MBUF_SCATTER_GATHER) += ip_fragmentation
+ DIRS-$(CONFIG_RTE_MBUF_SCATTER_GATHER)