aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dpdk/dpdk_scripts/run_l2fwd.sh
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-04-12 12:57:31 +0200
committerPeter Mikus <pmikus@cisco.com>2018-04-12 12:53:19 +0000
commitd3c64b0e39300b688f9339434436c6ecbcaee455 (patch)
treee5950d1d1dd6b24ec1eceb2e5a63fe04f6869efe /tests/dpdk/dpdk_scripts/run_l2fwd.sh
parent4a40c75ffc9f6b62a2eb58007675ef17f4c32b1e (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>
Diffstat (limited to 'tests/dpdk/dpdk_scripts/run_l2fwd.sh')
-rwxr-xr-xtests/dpdk/dpdk_scripts/run_l2fwd.sh6
1 files changed, 3 insertions, 3 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 \