test suite reviews and discussions
 help / color / mirror / Atom feed
From: Jiale Song <songx.jiale@intel.com>
To: dts@dpdk.org
Cc: Jiale Song <songx.jiale@intel.com>
Subject: [dts] [PATCH V1] tests/flexible_common: replace eal allowlist option
Date: Mon, 27 Sep 2021 15:10:53 +0800
Message-ID: <1632726653-243328-1-git-send-email-songx.jiale@intel.com> (raw)

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


                 reply	other threads:[~2021-09-27  6:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1632726653-243328-1-git-send-email-songx.jiale@intel.com \
    --to=songx.jiale@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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