[V1] vm2vm_virtio_net_perf_cbdma: modify start vhost-user back-end queues

Message ID 20230615032630.952838-1-weix.ling@intel.com (mailing list archive)
State New
Headers
Series [V1] vm2vm_virtio_net_perf_cbdma: modify start vhost-user back-end queues |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-doc-test success Testing OK
ci/Intel-dts-suite-test warning SKIPPED

Commit Message

Ling, WeiX June 15, 2023, 3:26 a.m. UTC
  As DPDK commit b82f55c0(net/vhost: use API to set max queue pairs), need
use the same queues number on vhose-user back-end side as front-end
side, so modify the testplan and testsuite.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 test_plans/vm2vm_virtio_net_perf_cbdma_test_plan.rst | 8 ++++----
 tests/TestSuite_vm2vm_virtio_net_perf_cbdma.py       | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
  

Patch

diff --git a/test_plans/vm2vm_virtio_net_perf_cbdma_test_plan.rst b/test_plans/vm2vm_virtio_net_perf_cbdma_test_plan.rst
index 87e91c17..365da668 100644
--- a/test_plans/vm2vm_virtio_net_perf_cbdma_test_plan.rst
+++ b/test_plans/vm2vm_virtio_net_perf_cbdma_test_plan.rst
@@ -241,8 +241,8 @@  The dynamic change of multi-queues number and iova as VA and PA mode also test.
 12. Quit and relaunch vhost w/o CBDMA channels::
 
 	<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost \
-	--vdev 'net_vhost0,iface=vhost-net0,client=1,tso=1,queues=4' \
-	--vdev 'net_vhost1,iface=vhost-net1,client=1,tso=1,queues=4' \
+	--vdev 'net_vhost0,iface=vhost-net0,client=1,tso=1,queues=8' \
+	--vdev 'net_vhost1,iface=vhost-net1,client=1,tso=1,queues=8' \
 	-- -i --nb-cores=4 --txd=1024 --rxd=1024 --txq=4 --rxq=4
 	testpmd>start
 
@@ -266,8 +266,8 @@  The dynamic change of multi-queues number and iova as VA and PA mode also test.
 17. Quit and relaunch vhost with 1 queues::
 
 	<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost \
-	--vdev 'net_vhost0,iface=vhost-net0,client=1,queues=4' \
-	--vdev 'net_vhost1,iface=vhost-net1,client=1,queues=4' \
+	--vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8' \
+	--vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8' \
 	-- -i --nb-cores=4 --txd=1024 --rxd=1024 --txq=1 --rxq=1
 	testpmd>start
 
diff --git a/tests/TestSuite_vm2vm_virtio_net_perf_cbdma.py b/tests/TestSuite_vm2vm_virtio_net_perf_cbdma.py
index c40c22f6..cbfbe7b9 100644
--- a/tests/TestSuite_vm2vm_virtio_net_perf_cbdma.py
+++ b/tests/TestSuite_vm2vm_virtio_net_perf_cbdma.py
@@ -344,8 +344,8 @@  class TestVM2VMVirtioNetPerfCbdma(TestCase):
 
         self.pmdout_vhost_user.execute_cmd("quit", "#")
         eal_param = (
-            "--vdev 'net_vhost0,iface=vhost-net0,client=1,queues=4,tso=1' "
-            + "--vdev 'net_vhost1,iface=vhost-net1,client=1,queues=4,tso=1'"
+            "--vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8,tso=1' "
+            + "--vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8,tso=1'"
         )
         param = " --nb-cores=4 --txd=1024 --rxd=1024 --txq=4 --rxq=4"
         self.start_vhost_testpmd(
@@ -363,8 +363,8 @@  class TestVM2VMVirtioNetPerfCbdma(TestCase):
         self.pmdout_vhost_user.execute_cmd("quit", "#")
 
         eal_param = (
-            "--vdev 'net_vhost0,iface=vhost-net0,client=1,queues=4,tso=1' "
-            + "--vdev 'net_vhost1,iface=vhost-net1,client=1,queues=4,tso=1'"
+            "--vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8,tso=1' "
+            + "--vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8,tso=1'"
         )
         param = " --nb-cores=4 --txd=1024 --rxd=1024 --rxq=1 --txq=1"
         self.start_vhost_testpmd(