Skip to content

Commit

Permalink
netdev-dpdk: Move to DPDK 1.7.1
Browse files Browse the repository at this point in the history
This patch updates the documentation to reflect that DPDK 1.7.1
is supported. Travis scripts have also been updated to reflect
this. DPDK phy and ring ports were validated against DPDK 1.7.1.

Reviewed-by: Mark D. Gray <mark.d.gray@intel.com>
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Acked-by: Daniele Di Proietto <ddiproietto@vmware.com>
Acked-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
  • Loading branch information
maryam.tahhan authored and Pravin B Shelar committed Oct 20, 2014
1 parent caeb490 commit b35839f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -8,7 +8,7 @@ before_install: ./.travis/prepare.sh
env:
- OPTS="--disable-ssl"
- TESTSUITE=1 KERNEL=1 OPTS="--with-linux=./linux-3.16.2"
- KERNEL=1 DPDK=1 OPTS="--with-dpdk=./dpdk-1.7.0/build"
- KERNEL=1 DPDK=1 OPTS="--with-dpdk=./dpdk-1.7.1/build"

script: ./.travis/build.sh $OPTS

Expand Down
6 changes: 3 additions & 3 deletions .travis/build.sh
Expand Up @@ -19,9 +19,9 @@ function install_kernel()

function install_dpdk()
{
wget http://www.dpdk.org/browse/dpdk/snapshot/dpdk-1.7.0.tar.gz
tar xzvf dpdk-1.7.0.tar.gz > /dev/null
cd dpdk-1.7.0
wget http://www.dpdk.org/browse/dpdk/snapshot/dpdk-1.7.1.tar.gz
tar xzvf dpdk-1.7.1.tar.gz > /dev/null
cd dpdk-1.7.1
find ./ -type f | xargs sed -i 's/max-inline-insns-single=100/max-inline-insns-single=400/'
sed -ri 's,(CONFIG_RTE_BUILD_COMBINE_LIBS=).*,\1y,' config/common_linuxapp
make config CC=gcc T=x86_64-native-linuxapp-gcc
Expand Down
4 changes: 2 additions & 2 deletions INSTALL.DPDK
Expand Up @@ -14,10 +14,10 @@ and "make".
Building and Installing:
------------------------

Required DPDK 1.7.
Required DPDK 1.7

DPDK:
Set dir i.g.: export DPDK_DIR=/usr/src/dpdk-1.7.0
Set dir i.g.: export DPDK_DIR=/usr/src/dpdk-1.7.1
cd $DPDK_DIR
update config/common_linuxapp so that dpdk generate single lib file.
(modification also required for IVSHMEM build)
Expand Down
2 changes: 1 addition & 1 deletion acinclude.m4
Expand Up @@ -206,7 +206,7 @@ AC_DEFUN([OVS_CHECK_DPDK], [
OVS_LDFLAGS="$OVS_LDFLAGS -L$DPDK_LIB_DIR"
OVS_CFLAGS="$OVS_CFLAGS -I$DPDK_INCLUDE"
# DPDK 1.7.0 pmd drivers are not linked unless --whole-archive is used.
# DPDK 1.7 pmd drivers are not linked unless --whole-archive is used.
#
# This happens because the rest of the DPDK code doesn't use any symbol in
# the pmd driver objects, and the drivers register themselves using an
Expand Down

0 comments on commit b35839f

Please sign in to comment.