summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWU CHIA CHUAN <chia.chuan.wu@intel.com>2015-07-28 08:05:10 (GMT)
committerDarren Hart <dvhart@linux.intel.com>2015-07-29 20:06:55 (GMT)
commitcdec96764e4640ceddb493d3022004b7f0aa3621 (patch)
tree44e94e3eff574556de10199a7ac682c0158fb4bd
parentbcfa8d0e06525c038b95abe5a728a039e9a4e6d0 (diff)
downloadmeta-intel-cdec96764e4640ceddb493d3022004b7f0aa3621.tar.gz
meta-isg: dpdk v2.0.0: add patch to handle ip_fragmentation application
dpdk v2.0.0 required "CONFIG_RTE_IP_FRAG=y" in order to build ip_fragmentation application. Signed-off-by: WU CHIA CHUAN <chia.chuan.wu@intel.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com> (cherry picked from commit ca1e771363d3f80317f31b30509a6a238e096699) Signed-off-by: Darren Hart <dvhart@linux.intel.com>
-rw-r--r--meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-2.0.0-dpdk-enable-ip_fragmentation-in-common_linuxapp.patch31
-rw-r--r--meta-isg/common/recipes-extended/dpdk/dpdk_2.0.0.bb3
2 files changed, 34 insertions, 0 deletions
diff --git a/meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-2.0.0-dpdk-enable-ip_fragmentation-in-common_linuxapp.patch b/meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-2.0.0-dpdk-enable-ip_fragmentation-in-common_linuxapp.patch
new file mode 100644
index 0000000..c4c683e
--- /dev/null
+++ b/meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-2.0.0-dpdk-enable-ip_fragmentation-in-common_linuxapp.patch
@@ -0,0 +1,31 @@
1From ebf07e9708c96aa1e655127175c39ad6ae3fc5ae Mon Sep 17 00:00:00 2001
2From: WU CHIA CHUAN <chia.chuan.wu@intel.com>
3Date: Tue, 28 Jul 2015 13:12:21 +0800
4Subject: [PATCH] dpdk enable ip_fragmentation in common_linuxapp config
5
6Upstream-Status: Inappropriate [Configuration]
7
8Signed-off-by: WU CHIA CHUAN <chia.chuan.wu@intel.com>
9---
10 config/common_linuxapp | 5 +++++
11 1 file changed, 5 insertions(+)
12
13diff --git a/config/common_linuxapp b/config/common_linuxapp
14index 0b25f34..8cd97d7 100644
15--- a/config/common_linuxapp
16+++ b/config/common_linuxapp
17@@ -354,6 +354,11 @@ CONFIG_RTE_MAX_LCORE_FREQS=64
18 CONFIG_RTE_LIBRTE_NET=y
19
20 #
21+# Compile ip_fragmentation
22+#
23+CONFIG_RTE_IP_FRAG=y
24+
25+#
26 # Compile librte_ip_frag
27 #
28 CONFIG_RTE_LIBRTE_IP_FRAG=y
29--
301.9.1
31
diff --git a/meta-isg/common/recipes-extended/dpdk/dpdk_2.0.0.bb b/meta-isg/common/recipes-extended/dpdk/dpdk_2.0.0.bb
index 0e9350b..cb1b1d3 100644
--- a/meta-isg/common/recipes-extended/dpdk/dpdk_2.0.0.bb
+++ b/meta-isg/common/recipes-extended/dpdk/dpdk_2.0.0.bb
@@ -1,5 +1,8 @@
1include dpdk.inc 1include dpdk.inc
2 2
3SRC_URI += "file://dpdk-2.0.0-dpdk-enable-ip_fragmentation-in-common_linuxapp.patch \
4 "
5
3SRC_URI[dpdk.md5sum] = "e9e7935c9eec920841ad373949514934" 6SRC_URI[dpdk.md5sum] = "e9e7935c9eec920841ad373949514934"
4SRC_URI[dpdk.sha256sum] = "643789a3be5ba44dd84d6b248cdf5471b260f8736dada177dadf076aebfbff3f" 7SRC_URI[dpdk.sha256sum] = "643789a3be5ba44dd84d6b248cdf5471b260f8736dada177dadf076aebfbff3f"
5 8