[meta-intel] [meta-intel[meta-isg][fido][master][PATCH 3/7] meta-isg: dpdk v2.0.0: add patch to handle ip_fragmentation application

Darren Hart dvhart at linux.intel.com
Wed Jul 29 09:27:57 PDT 2015



On 7/28/15 1:05 AM, chia.chuan.wu at intel.com wrote:
> From: WU CHIA CHUAN <chia.chuan.wu at intel.com>
> 
> 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 at intel.com>
> ---
>  ...nable-ip_fragmentation-in-common_linuxapp.patch | 29 ++++++++++++++++++++++
>  .../common/recipes-extended/dpdk/dpdk_2.0.0.bb     |  3 +++
>  2 files changed, 32 insertions(+)
>  create mode 100644 meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-2.0.0-dpdk-enable-ip_fragmentation-in-common_linuxapp.patch
> 
> 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..ce13dc8
> --- /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,29 @@
> +From ebf07e9708c96aa1e655127175c39ad6ae3fc5ae Mon Sep 17 00:00:00 2001
> +From: WU CHIA CHUAN <chia.chuan.wu at intel.com>
> +Date: Tue, 28 Jul 2015 13:12:21 +0800
> +Subject: [PATCH] dpdk enable ip_fragmentation in common_linuxapp config
> +

This patch is missing the Upstream-Status tag.

> +Signed-off-by: WU CHIA CHUAN <chia.chuan.wu at intel.com>
> +---
> + config/common_linuxapp | 5 +++++
> + 1 file changed, 5 insertions(+)
> +
> +diff --git a/config/common_linuxapp b/config/common_linuxapp
> +index 0b25f34..8cd97d7 100644
> +--- a/config/common_linuxapp
> ++++ b/config/common_linuxapp
> +@@ -354,6 +354,11 @@ CONFIG_RTE_MAX_LCORE_FREQS=64
> + CONFIG_RTE_LIBRTE_NET=y
> + 
> + #
> ++# Compile ip_fragmentation
> ++#
> ++CONFIG_RTE_IP_FRAG=y
> ++
> ++#
> + # Compile librte_ip_frag
> + #
> + CONFIG_RTE_LIBRTE_IP_FRAG=y
> +-- 
> +1.9.1
> +
> 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 @@
>  include dpdk.inc
>  
> +SRC_URI += "file://dpdk-2.0.0-dpdk-enable-ip_fragmentation-in-common_linuxapp.patch \
> +	    "
> +
>  SRC_URI[dpdk.md5sum] = "e9e7935c9eec920841ad373949514934"
>  SRC_URI[dpdk.sha256sum] = "643789a3be5ba44dd84d6b248cdf5471b260f8736dada177dadf076aebfbff3f"
>  
> 

-- 
Darren Hart
Intel Open Source Technology Center


More information about the meta-intel mailing list