X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fdpdk%2Fdpdk_scripts%2Frun_l3fwd.sh;h=014ba2717f78e8f5dddb29b6302879a7f4616189;hb=173a910c5f56106cd5aaa620ae0f9cfb94fcfac3;hp=3363d71875f7154c522677e7f0d759939b295f45;hpb=6721e7f09aa95bff6622068332a3f56afad9c87b;p=csit.git diff --git a/tests/dpdk/dpdk_scripts/run_l3fwd.sh b/tests/dpdk/dpdk_scripts/run_l3fwd.sh index 3363d71875..014ba2717f 100755 --- a/tests/dpdk/dpdk_scripts/run_l3fwd.sh +++ b/tests/dpdk/dpdk_scripts/run_l3fwd.sh @@ -3,7 +3,7 @@ set -x # Setting variables -DPDK_VERSION=dpdk-17.05 +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