[V1] tests/flexible_common: replace eal allowlist option

Message ID 1632726653-243328-1-git-send-email-songx.jiale@intel.com (mailing list archive)
State Superseded
Headers
Series [V1] tests/flexible_common: replace eal allowlist option |

Checks

Context Check Description
ci/Intel-suite-dts-test fail Testing issues

Commit Message

Jiale, SongX Sept. 27, 2021, 7:10 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/flexible_common.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 mode change 100644 => 100755 tests/flexible_common.py
  

Patch

diff --git a/tests/flexible_common.py b/tests/flexible_common.py
old mode 100644
new mode 100755
index 9df62ca..3a701db
--- a/tests/flexible_common.py
+++ b/tests/flexible_common.py
@@ -340,7 +340,7 @@  class FlexibleRxdBase(object):
         cmd = (
             "-l 1,2,3 "
             "-n {mem_channel} "
-            "-w {pci},{param_type}=vxlan "
+            "-a {pci},{param_type}=vxlan "
             "-- -i "
             "{port_opt}").format(**{
                 'mem_channel': self.dut.get_memory_channels(),
@@ -364,7 +364,7 @@  class FlexibleRxdBase(object):
         cmd = (
             "-l 1,2,3 "
             "-n {mem_channel} "
-            "-w {pci} "
+            "-a {pci} "
             "--log-level='ice,8' "
             "-- -i "
             "{port_opt}").format(**{
@@ -501,7 +501,7 @@  class FlexibleRxdBase(object):
     def check_effect_replace_pkg_RXID_22_to_RXID_16(self):
         self.logger.info("replace ice-1.3.7.0.pkg with RXID 16")
         self.replace_pkg('os_default')
-        out = self.__pmdout.start_testpmd(cores="1S/4C/1T", param='--rxq=64 --txq=64', eal_param=f"-w {self.__pci}")
+        out = self.__pmdout.start_testpmd(cores="1S/4C/1T", param='--rxq=64 --txq=64', eal_param=f"-a {self.__pci}")
         self.verify("Fail to start port 0" in out, "RXID #16 not support start testpmd")
         self.__pmdout.execute_cmd("quit", "# ")
         self.replace_pkg('comms')