aboutsummaryrefslogtreecommitdiffstats
path: root/dpdk-tests/dpdk_scripts/cleanup_dpdk.sh
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2017-04-03 12:34:32 +0200
committerPeter Mikus <pmikus@cisco.com>2017-04-05 04:47:50 +0000
commit44270521c22729cf6d58ea63ba6ddd1aa535b1c5 (patch)
treea44c46eeb99b1079e1e3975cba45f5dc8124f15d /dpdk-tests/dpdk_scripts/cleanup_dpdk.sh
parent5a04f6ddb56fefcc96452b4fe938616da309388f (diff)
Apply performance options for testpmd
- Add parameters to increase the performance of SUTs Change-Id: Ia9c5d76639bd931d8113c26e18861648de395322 Signed-off-by: pmikus <pmikus@cisco.com>
Diffstat (limited to 'dpdk-tests/dpdk_scripts/cleanup_dpdk.sh')
-rwxr-xr-xdpdk-tests/dpdk_scripts/cleanup_dpdk.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/dpdk-tests/dpdk_scripts/cleanup_dpdk.sh b/dpdk-tests/dpdk_scripts/cleanup_dpdk.sh
index 3533a1a580..7961a5b40f 100755
--- a/dpdk-tests/dpdk_scripts/cleanup_dpdk.sh
+++ b/dpdk-tests/dpdk_scripts/cleanup_dpdk.sh
@@ -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} || \
- echo "Unbind ${port1_pci} failed" || exit 1
+ { echo "Unbind ${port1_pci} failed"; exit 1; }
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
@@ -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 || \
- echo "Removing igb_uio failed" || exit 1
+ { echo "Removing igb_uio failed"; exit 1; }
-cd ${PWDDIR}
+cd ${PWDDIR} \ No newline at end of file