aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dpdk/dpdk_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dpdk/dpdk_scripts')
-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