CSIT-1121: Add "Get DPDK version" KW to DPDK tests 29/12929/5
authorTibor Frank <tifrank@cisco.com>
Thu, 7 Jun 2018 08:03:17 +0000 (10:03 +0200)
committerTibor Frank <tifrank@cisco.com>
Thu, 7 Jun 2018 10:55:33 +0000 (12:55 +0200)
Change-Id: I6152b3b7d4895a376914166d03ee9ca15ea9eb32
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/libraries/python/DPDK/DPDKTools.py
resources/libraries/robot/dpdk/default.robot
tests/dpdk/dpdk_scripts/run_l2fwd.sh

index 4bdc68c..ec70b40 100644 (file)
@@ -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)
-
index e6921c9..f302476 100644 (file)
 | | ... | ${nb_cores} | ${dut1_cpus} | ${rxqueues} | ${jumbo_frames}
 | | Start the l3fwd test | ${nodes} | ${dut2} | ${dut2_if1} | ${dut2_if2}
 | | ... | ${nb_cores} | ${dut2_cpus} | ${rxqueues} | ${jumbo_frames}
-
index 8579d7e..578c12c 100755 (executable)
@@ -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 \

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.