[V1,2/2] tests/pvp_qemu_multi_paths_port_restart: optimization testsuite
Commit Message
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(-)
Comments
On Mon, 26 Dec 2022 10:22:08 +0800, Wei Ling <weix.ling@intel.com> wrote:
> 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>
Acked-by: Lijuan Tu <lijuan.tu@intel.com>
Series applied, thanks
@@ -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)