aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dpdk
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
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')
-rwxr-xr-xtests/dpdk/dpdk_scripts/run_l2fwd.sh6
-rwxr-xr-xtests/dpdk/dpdk_scripts/run_l3fwd.sh6
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