[dts][PATCH V1 2/2] tests/pvp_qemu_multi_paths_port_restart: optimization testsuite
Wei Ling
weix.ling at intel.com
Mon Dec 26 03:22:08 CET 2022
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 at 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
More information about the dts
mailing list