aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-06-07 10:03:17 +0200
committerTibor Frank <tifrank@cisco.com>2018-06-07 12:55:33 +0200
commitcb371e36ed52b72f66dafd516598d4324259f006 (patch)
tree85d194d3fdbd6535b31f8bf09a852f1972651455
parente79a1175d9c5e867d18206267e0bc571190d8643 (diff)
CSIT-1121: Add "Get DPDK version" KW to DPDK tests
Change-Id: I6152b3b7d4895a376914166d03ee9ca15ea9eb32 Signed-off-by: Tibor Frank <tifrank@cisco.com>
-rw-r--r--resources/libraries/python/DPDK/DPDKTools.py3
-rw-r--r--resources/libraries/robot/dpdk/default.robot1
-rwxr-xr-xtests/dpdk/dpdk_scripts/run_l2fwd.sh4
3 files changed, 3 insertions, 5 deletions
diff --git a/resources/libraries/python/DPDK/DPDKTools.py b/resources/libraries/python/DPDK/DPDKTools.py
index 4bdc68ceee..ec70b40270 100644
--- a/resources/libraries/python/DPDK/DPDKTools.py
+++ b/resources/libraries/python/DPDK/DPDKTools.py
@@ -100,7 +100,7 @@ class DPDKTools(object):
:param node: Dictionary created from topology
:type node: dict
:returns: nothing
- :raise RuntimeError: If command returns nonzero return code.
+ :raises RuntimeError: If command returns nonzero return code.
"""
arch = Topology.get_node_arch(node)
@@ -126,4 +126,3 @@ class DPDKTools(object):
for node in nodes.values():
if node['type'] == NodeType.DUT:
DPDKTools.install_dpdk_test(node)
-
diff --git a/resources/libraries/robot/dpdk/default.robot b/resources/libraries/robot/dpdk/default.robot
index e6921c9b27..f302476198 100644
--- a/resources/libraries/robot/dpdk/default.robot
+++ b/resources/libraries/robot/dpdk/default.robot
@@ -107,4 +107,3 @@
| | ... | ${nb_cores} | ${dut1_cpus} | ${rxqueues} | ${jumbo_frames}
| | Start the l3fwd test | ${nodes} | ${dut2} | ${dut2_if1} | ${dut2_if2}
| | ... | ${nb_cores} | ${dut2_cpus} | ${rxqueues} | ${jumbo_frames}
-
diff --git a/tests/dpdk/dpdk_scripts/run_l2fwd.sh b/tests/dpdk/dpdk_scripts/run_l2fwd.sh
index 8579d7e1ae..578c12c054 100755
--- a/tests/dpdk/dpdk_scripts/run_l2fwd.sh
+++ b/tests/dpdk/dpdk_scripts/run_l2fwd.sh
@@ -88,7 +88,7 @@ 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 --log-level 8 -- \
+ -l ${cpu_corelist} -n 4 --log-level 8 -v -- \
--numa \
--nb-ports=2 \
--portmask=0x3 \
@@ -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 --log-level 8 -- \
+ -l ${cpu_corelist} -n 4 --log-level 8 -v -- \
--numa \
--nb-ports=2 \
--portmask=0x3 \