test suite reviews and discussions
 help / color / mirror / Atom feed
From: Hongbo Li <hongbox.li@intel.com>
To: dts@dpdk.org
Cc: Hongbo Li <hongbox.li@intel.com>
Subject: [dts][PATCH V1 1/2] tests/ice_iavf_fdir: support eal_param -a to avoid running containers conflict
Date: Fri,  9 Jun 2023 18:10:19 +0800	[thread overview]
Message-ID: <20230609101020.23747-1-hongbox.li@intel.com> (raw)

support eal_param -a to avoid running containers conflict

Signed-off-by: Hongbo Li <hongbox.li@intel.com>
---
 tests/TestSuite_ice_iavf_fdir.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_ice_iavf_fdir.py b/tests/TestSuite_ice_iavf_fdir.py
index ba231915..a24355f5 100644
--- a/tests/TestSuite_ice_iavf_fdir.py
+++ b/tests/TestSuite_ice_iavf_fdir.py
@@ -8701,6 +8701,9 @@ class TestICEIAVFFdir(TestCase):
                     vf_port.bind_driver(self.vf_driver)
                 for vf_port in self.sriov_vfs_pf1:
                     vf_port.bind_driver(self.vf_driver)
+            self.eal_param_a = ""
+            for sriov_vf in self.sriov_vfs_pf0:
+                self.eal_param_a += " -a {}".format(sriov_vf.pci)
 
         except Exception as e:
             self.destroy_env()
@@ -10486,7 +10489,9 @@ class TestICEIAVFFdir(TestCase):
             "ip link set {} vf {} mac 00:11:22:33:44:55".format(self.pf0_intf, nex_cnt),
             "#",
         )
-        command = self.path + " -c f -n 6 -- -i --rxq=16 --txq=16"
+        command = self.path + " -c f -n 6 %s -- -i --rxq=16 --txq=16" % (
+            self.eal_param_a
+        )
         self.dut.send_expect(command, "testpmd> ", 360)
         self.config_testpmd()
 
-- 
2.17.1


             reply	other threads:[~2023-06-09  1:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-09 10:10 Hongbo Li [this message]
2023-06-09 10:10 ` [dts][PATCH V1 2/2] tests/iavf_package_driver_error_handle: support eal_param -a to avoid running containers Hongbo Li
2023-06-14  2:13   ` lijuan.tu

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=20230609101020.23747-1-hongbox.li@intel.com \
    --to=hongbox.li@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).