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
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
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)
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