[dts] [PATCH V5] tests/cvl_advanced_rss:change port to start testpmd

Zeng Xiaoxiao xiaoxiaox.zeng at intel.com
Sun Jan 19 08:09:06 CET 2020


*.CVL 25G have 4 ports, no need put all ports to start testpmd.

Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng at intel.com>
---
 tests/TestSuite_cvl_advanced_rss.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_cvl_advanced_rss.py b/tests/TestSuite_cvl_advanced_rss.py
index 8faee33..58c7b02 100644
--- a/tests/TestSuite_cvl_advanced_rss.py
+++ b/tests/TestSuite_cvl_advanced_rss.py
@@ -849,7 +849,7 @@ class AdvancedRSSTest(TestCase):
         Create testpmd command for non-pipeline mode
         """
         #Prepare testpmd EAL and parameters 
-        all_eal_param = self.dut.create_eal_parameters()
+        all_eal_param = self.dut.create_eal_parameters(ports=[self.pf_pci])
         print(all_eal_param)   #print eal parameters
         command = "./%s/app/testpmd %s  -- -i %s" % (self.dut.target, all_eal_param, "--rxq=64 --txq=64")
         return command
-- 
1.8.3.1



More information about the dts mailing list