diff mbox

[check-odp] dpdk: update to DPDK 2.0.0

Message ID 1435767585-20202-1-git-send-email-zoltan.kiss@linaro.org
State New
Headers show

Commit Message

Zoltan Kiss July 1, 2015, 4:19 p.m. UTC
The odp-dpdk.git repo now relies on this DPDK version.

Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org>
---

Comments

Anders Roxell July 6, 2015, 9:06 a.m. UTC | #1
On 2015-07-01 17:19, Zoltan Kiss wrote:
> The odp-dpdk.git repo now relies on this DPDK version.
> 
> Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org>
> ---
> diff --git a/helper/platform/dpdk b/helper/platform/dpdk
> index 05c46e9..120da1d 100644
> --- a/helper/platform/dpdk
> +++ b/helper/platform/dpdk
> @@ -25,7 +25,7 @@ dpdk_get(){
>      fi
>      cd $ROOT_DIR_DPDK
>      git clean -xfd
> -    git checkout tags/v1.7.1
> +    git checkout tags/v2.0.0
>  
>      #apply patch depending on cleaned up version string to fix later builds
>      VERSION=`uname -r`
> @@ -49,8 +49,6 @@ dpdk_build() {
>      dpdk_target=x86_64-native-linuxapp-gcc
>      make -j ${NUM_CPUS} config T=x86_64-native-linuxapp-gcc O="${dpdk_target}"
>      sed -ri 's,(CONFIG_RTE_BUILD_COMBINE_LIBS=).*,\1y,' "${dpdk_target}"/.config
> -    sed -ri 's,(CONFIG_RTE_MBUF_SCATTER_GATHER=).*,\1n,' "${dpdk_target}"/.config
> -    sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_BOND=).*,\1n,' "${dpdk_target}"/.config
>      sed -ri 's,(CONFIG_RTE_LIBRTE_IP_FRAG=).*,\1n,' "${dpdk_target}"/.config
>      sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' "${dpdk_target}"/.config
>      make -j ${NUM_CPUS} install T="${dpdk_target}" EXTRA_CFLAGS="-fPIC -g -O3"
> 

Applied.

Cheers,
Anders
diff mbox

Patch

diff --git a/helper/platform/dpdk b/helper/platform/dpdk
index 05c46e9..120da1d 100644
--- a/helper/platform/dpdk
+++ b/helper/platform/dpdk
@@ -25,7 +25,7 @@  dpdk_get(){
     fi
     cd $ROOT_DIR_DPDK
     git clean -xfd
-    git checkout tags/v1.7.1
+    git checkout tags/v2.0.0
 
     #apply patch depending on cleaned up version string to fix later builds
     VERSION=`uname -r`
@@ -49,8 +49,6 @@  dpdk_build() {
     dpdk_target=x86_64-native-linuxapp-gcc
     make -j ${NUM_CPUS} config T=x86_64-native-linuxapp-gcc O="${dpdk_target}"
     sed -ri 's,(CONFIG_RTE_BUILD_COMBINE_LIBS=).*,\1y,' "${dpdk_target}"/.config
-    sed -ri 's,(CONFIG_RTE_MBUF_SCATTER_GATHER=).*,\1n,' "${dpdk_target}"/.config
-    sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_BOND=).*,\1n,' "${dpdk_target}"/.config
     sed -ri 's,(CONFIG_RTE_LIBRTE_IP_FRAG=).*,\1n,' "${dpdk_target}"/.config
     sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' "${dpdk_target}"/.config
     make -j ${NUM_CPUS} install T="${dpdk_target}" EXTRA_CFLAGS="-fPIC -g -O3"