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/dcf_lifecycle: change the eal parameter -w of testpmd to -a
Date: Wed, 22 Sep 2021 17:34:42 +0800	[thread overview]
Message-ID: <1632303282-179190-1-git-send-email-songx.jiale@intel.com> (raw)

since testpmd of dpdk no longer supports eal parameter -w, change -w in script to -a

Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
 tests/TestSuite_dcf_lifecycle.py | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
 mode change 100644 => 100755 tests/TestSuite_dcf_lifecycle.py

diff --git a/tests/TestSuite_dcf_lifecycle.py b/tests/TestSuite_dcf_lifecycle.py
old mode 100644
new mode 100755
index b8645a6..d47ef2b
--- a/tests/TestSuite_dcf_lifecycle.py
+++ b/tests/TestSuite_dcf_lifecycle.py
@@ -251,13 +251,13 @@ class TestDcfLifeCycle(TestCase):
         pf2_vf0 = self.vf_ports_info[1].get('vfs_pci')[0] \
             if len(self.vf_ports_info) >= 2 else ''
         allowlist = {
-            'pf1_vf0_dcf': f"-w {pf1_vf0},cap=dcf",
-            'pf1_vf1_dcf': f"-w {pf1_vf1},cap=dcf",
-            'pf1_vf0_pf2_vf0_dcf': f"-w {pf1_vf0},cap=dcf -w {pf2_vf0},cap=dcf",
-            'pf1_vf1_vf2': f"-w {pf1_vf1} -w {pf1_vf2}",
-            'pf1_vf1': f"-w {pf1_vf1}",
-            'pf2_vf0_dcf': f"-w {pf2_vf0},cap=dcf",
-            'pf1_vf0': f"-w {pf1_vf0}",
+            'pf1_vf0_dcf': f"-a {pf1_vf0},cap=dcf",
+            'pf1_vf1_dcf': f"-a {pf1_vf1},cap=dcf",
+            'pf1_vf0_pf2_vf0_dcf': f"-a {pf1_vf0},cap=dcf -a {pf2_vf0},cap=dcf",
+            'pf1_vf1_vf2': f"-a {pf1_vf1} -a {pf1_vf2}",
+            'pf1_vf1': f"-a {pf1_vf1}",
+            'pf2_vf0_dcf': f"-a {pf2_vf0},cap=dcf",
+            'pf1_vf0': f"-a {pf1_vf0}",
         }
         return allowlist
 
-- 
1.8.3.1


                 reply	other threads:[~2021-09-22  9:21 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=1632303282-179190-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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).