diff options
author | Peter Mikus <pmikus@cisco.com> | 2018-04-12 12:57:31 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2018-04-12 12:53:26 +0000 |
commit | 1d04f9ded1a604e137ad05634f1fdde822d2da6a (patch) | |
tree | 4f77aab3b6c4ef52b9d4ce264204c75be25f0f46 | |
parent | 176a217b3cf30ebbc96ebfadad9f09df5a4c3696 (diff) |
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 <pmikus@cisco.com>
(cherry picked from commit d3c64b0e39300b688f9339434436c6ecbcaee455)
-rwxr-xr-x | tests/dpdk/dpdk_scripts/run_l2fwd.sh | 6 | ||||
-rwxr-xr-x | 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 |