diff mbox series

[V1,2/5] tests/port_control: replace eal allowlist option

Message ID 1632452259-143959-2-git-send-email-songx.jiale@intel.com (mailing list archive)
State Accepted
Headers show
Series [V1,1/5] tests/dcf_lifecycle: replace eal allowlist option | expand

Commit Message

Jiale Song Sept. 24, 2021, 2:57 a.m. UTC
because dpdk no longer supports the eal parameter '-w', replace eal
'-w' option with '-a'

Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
 tests/TestSuite_port_control.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 mode change 100644 => 100755 tests/TestSuite_port_control.py
diff mbox series

Patch

diff --git a/tests/TestSuite_port_control.py b/tests/TestSuite_port_control.py
old mode 100644
new mode 100755
index e8d96f5..2d33273
--- a/tests/TestSuite_port_control.py
+++ b/tests/TestSuite_port_control.py
@@ -159,7 +159,7 @@  class TestPortControl(TestCase):
         terminal.send_expect("ip addr flush %s " % vf_if[1], "#")
         terminal.send_expect("./usertools/dpdk-devbind.py -b vfio-pci --force %s" % vf_pci[1], "#")
         app_name = terminal.apps_name['test-pmd']
-        cmd = app_name + "-n 1 -w %s --vfio-intr=legacy -- -i" % vf_pci[1]
+        cmd = app_name + "-n 1 -a %s --vfio-intr=legacy -- -i" % vf_pci[1]
         terminal.send_expect(cmd, "testpmd>", 10)
 
     def start_testpmd(self, terminal):