* [dts][PATCH v1] tests/kernelpf_iavf: support eal_param -a to avoid running containers conflict
@ 2023-05-31 13:26 Weiyuan Li
2023-06-07 7:57 ` lijuan.tu
0 siblings, 1 reply; 2+ messages in thread
From: Weiyuan Li @ 2023-05-31 13:26 UTC (permalink / raw)
To: dts; +Cc: Weiyuan Li
Support eal_param -a to avoid running containers conflict.
Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
tests/TestSuite_kernelpf_iavf.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py
index 49d82545..bde556ea 100644
--- a/tests/TestSuite_kernelpf_iavf.py
+++ b/tests/TestSuite_kernelpf_iavf.py
@@ -756,7 +756,9 @@ class TestKernelpfIavf(TestCase):
# start l3fwd-power
l3fwd_app = self.dut.apps_name["l3fwd-power"]
- cmd = l3fwd_app + " -l 6,7 -n 4 -- -p 0x3 --config " + "'(0,0,6),(1,0,7)'"
+ vf_pci_id_0 = self.dut.ports_info[self.used_dut_port_0]["sriov_vfs_pci"][0]
+ vf_pci_id_1 = self.dut.ports_info[self.used_dut_port_1]["sriov_vfs_pci"][0]
+ cmd = l3fwd_app + f" -l 6,7 -n 4 -a {vf_pci_id_0} -a {vf_pci_id_1} -- -p 0x3 --config " + "'(0,0,6),(1,0,7)'"
self.dut.send_expect(cmd, "POWER", timeout=40)
out = self.dut.get_session_output()
print(out)
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-07 7:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-31 13:26 [dts][PATCH v1] tests/kernelpf_iavf: support eal_param -a to avoid running containers conflict Weiyuan Li
2023-06-07 7:57 ` lijuan.tu
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).