* [dts][PATCH V1 2/2] tests/pvp_qemu_multi_paths_port_restart: optimization testsuite
@ 2022-12-26 2:22 Wei Ling
2022-12-26 4:50 ` lijuan.tu
0 siblings, 1 reply; 2+ messages in thread
From: Wei Ling @ 2022-12-26 2:22 UTC (permalink / raw)
To: dts; +Cc: Wei Ling
Add `-a 0000:04:00.0,vectorized=1` in virtio0.95 and virtio1.0
vector_rx path case.
Signed-off-by: Wei Ling <weix.ling@intel.com>
---
tests/TestSuite_pvp_qemu_multi_paths_port_restart.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py b/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py
index 2b753eb1..f07b698f 100644
--- a/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py
+++ b/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py
@@ -101,8 +101,10 @@ class TestPVPQemuMultiPathPortRestart(TestCase):
)
elif path == "vector_rx":
command = (
- self.path + "-c 0x3 -n 3 -- -i " + "--nb-cores=1 --txd=1024 --rxd=1024"
- )
+ self.path
+ + "-c 0x3 -n 3 -a %s,vectorized=1 -- -i "
+ + "--nb-cores=1 --txd=1024 --rxd=1024"
+ ) % self.vm_dut.get_port_pci(0)
self.vm_dut.send_expect(command, "testpmd> ", 30)
self.vm_dut.send_expect("set fwd mac", "testpmd> ", 30)
self.vm_dut.send_expect("start", "testpmd> ", 30)
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-26 4:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-26 2:22 [dts][PATCH V1 2/2] tests/pvp_qemu_multi_paths_port_restart: optimization testsuite Wei Ling
2022-12-26 4:50 ` 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).