[V1,2/5] tests/port_control: replace eal allowlist option
Commit Message
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
old mode 100644
new mode 100755
@@ -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):