[dts] [PATCH V1] tests/vmdq: replace allowlist option

Wei Ling weix.ling at intel.com
Mon Sep 27 08:01:26 CEST 2021


Replace -w to -a option to assign pci port.

Signed-off-by: Wei Ling <weix.ling at intel.com>
---
 tests/TestSuite_vmdq.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vmdq.py b/tests/TestSuite_vmdq.py
index 6dae54a4..1a170f89 100644
--- a/tests/TestSuite_vmdq.py
+++ b/tests/TestSuite_vmdq.py
@@ -113,7 +113,7 @@ class TestVmdq(TestCase):
         port_mask = utils.create_mask(self.dut_ports)
         eal_param = ""
         for i in self.dut_ports:
-            eal_param += " -w %s" % self.dut.ports_info[i]['pci']
+            eal_param += " -a %s" % self.dut.ports_info[i]['pci']
         # Run the application
         self.dut.send_expect("./%s -c %s -n 4 %s -- -p %s --nb-pools %s --enable-rss" %
                              (self.app_vmdq_path, core_mask, eal_param, port_mask, str(npools)), "reading queues", 120)
-- 
2.25.1



More information about the dts mailing list