Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
DPDK version bump
[csit.git]
/
dpdk-tests
/
dpdk_scripts
/
cleanup_dpdk.sh
diff --git
a/dpdk-tests/dpdk_scripts/cleanup_dpdk.sh
b/dpdk-tests/dpdk_scripts/cleanup_dpdk.sh
index
3533a1a
..
505a157
100755
(executable)
--- a/
dpdk-tests/dpdk_scripts/cleanup_dpdk.sh
+++ b/
dpdk-tests/dpdk_scripts/cleanup_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
ROOTDIR=/tmp/openvpp-testing
TESTPMDLOG=screenlog.0
PWDDIR=$(pwd)
ROOTDIR=/tmp/openvpp-testing
TESTPMDLOG=screenlog.0
PWDDIR=$(pwd)
@@
-47,9
+47,9
@@
sudo rm -f /dev/hugepages/*
# Unbind interfaces
cd ${ROOTDIR}/${DPDK_VERSION}/
sudo ./usertools/dpdk-devbind.py -b ${port1_driver} ${port1_pci} || \
# Unbind interfaces
cd ${ROOTDIR}/${DPDK_VERSION}/
sudo ./usertools/dpdk-devbind.py -b ${port1_driver} ${port1_pci} || \
- echo "Unbind ${port1_pci} failed" || exit 1
+ { echo "Unbind ${port1_pci} failed"; exit 1; }
sudo ./usertools/dpdk-devbind.py -b ${port2_driver} ${port2_pci} || \
sudo ./usertools/dpdk-devbind.py -b ${port2_driver} ${port2_pci} || \
- echo "Unbind ${port1_pci} failed" || exit 1
+ { echo "Unbind ${port1_pci} failed"; exit 1; }
sleep 2
sleep 2
@@
-58,6
+58,6
@@
if2_name=`./usertools/dpdk-devbind.py --s | grep "${port2_pci}" | sed -n 's/.*if
# Remove igb_uio driver
rmmod igb_uio || \
# Remove igb_uio driver
rmmod igb_uio || \
- echo "Removing igb_uio failed" || exit 1
+ { echo "Removing igb_uio failed"; exit 1; }
cd ${PWDDIR}
cd ${PWDDIR}