Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Change the bootstrap and download NSH SFC packages.
[csit.git]
/
dpdk-tests
/
dpdk_scripts
/
install_dpdk.sh
diff --git
a/dpdk-tests/dpdk_scripts/install_dpdk.sh
b/dpdk-tests/dpdk_scripts/install_dpdk.sh
index
a050eb7
..
393465c
100755
(executable)
--- a/
dpdk-tests/dpdk_scripts/install_dpdk.sh
+++ b/
dpdk-tests/dpdk_scripts/install_dpdk.sh
@@
-3,7
+3,7
@@
set -x
# Setting variables
set -x
# Setting variables
-DPDK_VERSION=dpdk-17.0
2
+DPDK_VERSION=dpdk-17.0
5
DPDK_DIR=${DPDK_VERSION}
DPDK_PACKAGE=${DPDK_DIR}.tar.xz
ROOTDIR=/tmp/openvpp-testing
DPDK_DIR=${DPDK_VERSION}
DPDK_PACKAGE=${DPDK_DIR}.tar.xz
ROOTDIR=/tmp/openvpp-testing
@@
-18,6
+18,7
@@
tar xJvf ${DPDK_PACKAGE} || \
# Compile the DPDK
cd ./${DPDK_DIR}
# Compile the DPDK
cd ./${DPDK_DIR}
+sudo sed -i 's/^CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n/CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=y/g' ./config/common_base
make install T=x86_64-native-linuxapp-gcc -j || \
{ echo "Failed to compile $DPDK_VERSION"; exit 1; }
cd ${PWDDIR}
make install T=x86_64-native-linuxapp-gcc -j || \
{ echo "Failed to compile $DPDK_VERSION"; exit 1; }
cd ${PWDDIR}