CSIT-1114 Add DPDK download to bootstrap
[csit.git] / tests / dpdk / dpdk_scripts / run_l2fwd.sh
index 8579d7e..0e07b68 100755 (executable)
@@ -3,7 +3,7 @@
 set -x
 
 # Setting variables
-DPDK_VERSION=dpdk-18.02
+DPDK_DIR=dpdk
 ROOTDIR=/tmp/openvpp-testing
 TESTPMDLOG=screenlog.0
 PWDDIR=$(pwd)
@@ -82,13 +82,13 @@ sudo rm -f /dev/hugepages/*
 
 sleep 2
 
-cd ${ROOTDIR}/${DPDK_VERSION}/
+cd ${ROOTDIR}/${DPDK_DIR}/
 rm -f ${TESTPMDLOG}
 TESTPMD_BIN=./${arch}-${machine}-linuxapp-gcc/app/testpmd
 
 if [ "$jumbo_frames" = "yes" ]; then
     sudo sh -c "screen -dmSL DPDK-test $TESTPMD_BIN \
-        -l ${cpu_corelist} -n 4 --log-level 8 -- \
+        -l ${cpu_corelist} -n 4 --log-level 8 -v -- \
         --numa \
         --nb-ports=2 \
         --portmask=0x3 \
@@ -105,7 +105,7 @@ if [ "$jumbo_frames" = "yes" ]; then
         --auto-start"
 else
     sudo sh -c "screen -dmSL DPDK-test $TESTPMD_BIN \
-        -l ${cpu_corelist} -n 4 --log-level 8 -- \
+        -l ${cpu_corelist} -n 4 --log-level 8 -v -- \
         --numa \
         --nb-ports=2 \
         --portmask=0x3 \