test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/flexible_common: replace eal allowlist option
@ 2021-09-27  7:10 Jiale Song
  0 siblings, 0 replies; only message in thread
From: Jiale Song @ 2021-09-27  7:10 UTC (permalink / raw)
  To: dts; +Cc: Jiale Song

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

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')
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-27  6:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27  7:10 [dts] [PATCH V1] tests/flexible_common: replace eal allowlist option Jiale Song

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git