From d3c64b0e39300b688f9339434436c6ecbcaee455 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Thu, 12 Apr 2018 12:57:31 +0200 Subject: [PATCH] Add log-level 8 to DPDK init sequence - Add --log-level 8 for testpmd init - Fix txqflags parameter for testpmd 18.02 Change-Id: Icc687ffdd7cf3ab5fa8ece0f3ce2eb03996b22cf Signed-off-by: Peter Mikus --- tests/dpdk/dpdk_scripts/run_l2fwd.sh | 6 +++--- tests/dpdk/dpdk_scripts/run_l3fwd.sh | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/dpdk/dpdk_scripts/run_l2fwd.sh b/tests/dpdk/dpdk_scripts/run_l2fwd.sh index 83ee1d3240..90b538bd8f 100755 --- a/tests/dpdk/dpdk_scripts/run_l2fwd.sh +++ b/tests/dpdk/dpdk_scripts/run_l2fwd.sh @@ -88,13 +88,13 @@ 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 -- \ + -l ${cpu_corelist} -n 4 --log-level 8 -- \ --numa \ --nb-ports=2 \ --portmask=0x3 \ --nb-cores=${nb_cores} \ --max-pkt-len=9000 \ - --txqflags=0 \ + --tx-offloads=0 \ --forward-mode=io \ --rxq=${queue_nums} \ --txq=$((${nb_cores} + 1)) \ @@ -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 -- \ + -l ${cpu_corelist} -n 4 --log-level 8 -- \ --numa \ --nb-ports=2 \ --portmask=0x3 \ diff --git a/tests/dpdk/dpdk_scripts/run_l3fwd.sh b/tests/dpdk/dpdk_scripts/run_l3fwd.sh index e2c2d4d575..11222c1bf8 100755 --- a/tests/dpdk/dpdk_scripts/run_l3fwd.sh +++ b/tests/dpdk/dpdk_scripts/run_l3fwd.sh @@ -88,12 +88,14 @@ cd ${ROOTDIR}/${DPDK_VERSION}/ 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 -- 2.16.6