CSIT-1114 Add DPDK download to bootstrap
[csit.git] / tests / dpdk / dpdk_scripts / run_l3fwd.sh
index e2c2d4d..014ba27 100755 (executable)
@@ -3,7 +3,7 @@
 set -x
 
 # Setting variables
-DPDK_VERSION=dpdk-18.02
+DPDK_DIR=dpdk
 ROOTDIR=/tmp/openvpp-testing
 L3FWDLOG=screenlog.0
 PWDDIR=$(pwd)
@@ -84,16 +84,18 @@ sudo rm -f /dev/hugepages/*
 sleep 2
 
 #run the l3fwd
-cd ${ROOTDIR}/${DPDK_VERSION}/
+cd ${ROOTDIR}/${DPDK_DIR}/
 rm -f ${L3FWDLOG}
 if [ "$jumbo_frames" = "yes" ]; then
     sudo sh -c "screen -dmSL DPDK-test ./examples/l3fwd/build/app/l3fwd \
-    -l ${cpu_corelist} -n 4 -- -P -L -p 0x3 --config='${port_config}' \
+    -l ${cpu_corelist} -n 4 --log-level 8 -- \
+    -P -L -p 0x3 --config='${port_config}' \
     --enable-jumbo --max-pkt-len=9000 --eth-dest=0,${adj_mac0} \
     --eth-dest=1,${adj_mac1} --parse-ptype"
 else
     sudo sh -c "screen -dmSL DPDK-test ./examples/l3fwd/build/app/l3fwd \
-    -l ${cpu_corelist} -n 4 -- -P -L -p 0x3 --config='${port_config}' \
+    -l ${cpu_corelist} -n 4 --log-level 8 -- \
+    -P -L -p 0x3 --config='${port_config}' \
     --eth-dest=0,${adj_mac0} --eth-dest=1,${adj_mac1} --parse-ptype"
 fi