diff mbox

dpdk: update to DPDK 2.0.0

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

Commit Message

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

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

Comments

Zoltan Kiss July 1, 2015, 4:21 p.m. UTC | #1
Sorry, I've forgot the check-odp string from the subject, I've sent it again

On 01/07/15 17:12, 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"
>
Bill Fischofer July 1, 2015, 7:33 p.m. UTC | #2
This should be on the lng-odp-dpdk list.  Should also mention that
tag v1.1.0.0_DPDK_1.7.1 marks the code versioned for DPDK v1.7.1



On Wed, Jul 1, 2015 at 11:21 AM, Zoltan Kiss <zoltan.kiss@linaro.org> wrote:

> Sorry, I've forgot the check-odp string from the subject, I've sent it
> again
>
>
> On 01/07/15 17:12, 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"
>>
>>  _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lng-odp
>
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"