From cb371e36ed52b72f66dafd516598d4324259f006 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Thu, 7 Jun 2018 10:03:17 +0200 Subject: [PATCH] CSIT-1121: Add "Get DPDK version" KW to DPDK tests Change-Id: I6152b3b7d4895a376914166d03ee9ca15ea9eb32 Signed-off-by: Tibor Frank --- resources/libraries/python/DPDK/DPDKTools.py | 3 +-- resources/libraries/robot/dpdk/default.robot | 1 - tests/dpdk/dpdk_scripts/run_l2fwd.sh | 4 ++-- 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 \ -- 2.16.6