[dts] [PATCH v2] test_plans/vm2vm_virtio_net_perf_test_plan.rst

Yinan Wang yinan.wang at intel.com
Thu Jul 29 19:57:36 CEST 2021


1. Add whole BDF name of cbdma devices.
2. Add a tip that cbdma case need special dpdk code.

Signed-off-by: Yinan Wang <yinan.wang at intel.com>
---
 .../vm2vm_virtio_net_perf_test_plan.rst       | 25 ++++++++++---------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/test_plans/vm2vm_virtio_net_perf_test_plan.rst b/test_plans/vm2vm_virtio_net_perf_test_plan.rst
index 3fb12f41..65da707e 100644
--- a/test_plans/vm2vm_virtio_net_perf_test_plan.rst
+++ b/test_plans/vm2vm_virtio_net_perf_test_plan.rst
@@ -46,6 +46,7 @@ and packed ring vhost-user/virtio-net mergeable and non-mergeable path.
 Note: 
 1.For packed virtqueue virtio-net test, need qemu version > 4.2.0 and VM kernel version > v5.1.
 2.For split virtqueue virtio-net with multi-queues server mode test, need qemu version > LTS 4.2.1, dut to old qemu exist reconnect issue when multi-queues test.
+3.Blow cases which have cbdma usage should add dpdk local path to support async vhostpmd.
 
 Test flow
 =========
@@ -113,8 +114,8 @@ Test Case 2: VM2VM split ring vhost-user/virtio-net CBDMA enable test with tcp t
 1. Launch the Vhost sample by below commands::
 
     rm -rf vhost-net*
-    ./dpdk-testpmd -l 2-4 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=1,dmas=[txq0 at 00:04.0],dmathr=512' \
-    --vdev 'net_vhost1,iface=vhost-net1,queues=1,dmas=[txq0 at 00:04.1],dmathr=512'  -- -i --nb-cores=2 --txd=1024 --rxd=1024
+    ./dpdk-testpmd -l 2-4 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=1,dmas=[txq0 at 0000:00:04.0],dmathr=512' \
+    --vdev 'net_vhost1,iface=vhost-net1,queues=1,dmas=[txq0 at 0000:00:04.1],dmathr=512'  -- -i --nb-cores=2 --txd=1024 --rxd=1024
     testpmd>start
 
 2. Launch VM1 and VM2 on socket 1::
@@ -273,8 +274,8 @@ Test Case 5: VM2VM virtio-net split ring mergeable 8 queues CBDMA enable test wi
 1. Launch the Vhost sample by below commands::
 
     rm -rf vhost-net*
-    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8,dmas=[txq0 at 00:04.0;txq1 at 00:04.1;txq2 at 00:04.2;txq3 at 00:04.3;txq4 at 00:04.4;txq5 at 00:04.5;txq6 at 00:04.6;txq7 at 00:04.7],dmathr=512' \
-    --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8,dmas=[txq0 at 80:04.0;txq1 at 80:04.1;txq2 at 80:04.2;txq3 at 80:04.3;txq4 at 80:04.4;txq5 at 80:04.5;txq6 at 80:04.6;txq7 at 80:04.7],dmathr=512'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8
+    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8,dmas=[txq0 at 0000:00:04.0;txq1 at 0000:00:04.1;txq2 at 0000:00:04.2;txq3 at 0000:00:04.3;txq4 at 0000:00:04.4;txq5 at 0000:00:04.5;txq6 at 0000:00:04.6;txq7 at 0000:00:04.7],dmathr=512' \
+    --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8,dmas=[txq0 at 0000:80:04.0;txq1 at 0000:80:04.1;txq2 at 0000:80:04.2;txq3 at 0000:80:04.3;txq4 at 0000:80:04.4;txq5 at 0000:80:04.5;txq6 at 0000:80:04.6;txq7 at 0000:80:04.7],dmathr=512'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8
     testpmd>start
 
 2. Launch VM1 and VM2 using qemu 5.2.0::
@@ -366,8 +367,8 @@ Test Case 6: VM2VM virtio-net split ring non-mergeable 8 queues CBDMA enable tes
 1. Launch the Vhost sample by below commands::
 
     rm -rf vhost-net*
-    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8,dmas=[txq0 at 00:04.0;txq1 at 00:04.1;txq2 at 00:04.2;txq3 at 00:04.3;txq4 at 00:04.4;txq5 at 00:04.5;txq6 at 00:04.6;txq7 at 00:04.7],dmathr=512' \
-    --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8,dmas=[txq0 at 80:04.0;txq1 at 80:04.1;txq2 at 80:04.2;txq3 at 80:04.3;txq4 at 80:04.4;txq5 at 80:04.5;txq6 at 80:04.6;txq7 at 80:04.7],dmathr=512'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8
+    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8,dmas=[txq0 at 0000:00:04.0;txq1 at 0000:00:04.1;txq2 at 0000:00:04.2;txq3 at 0000:00:04.3;txq4 at 0000:00:04.4;txq5 at 0000:00:04.5;txq6 at 0000:00:04.6;txq7 at 0000:00:04.7],dmathr=512' \
+    --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8,dmas=[txq0 at 0000:80:04.0;txq1 at 0000:80:04.1;txq2 at 0000:80:04.2;txq3 at 0000:80:04.3;txq4 at 0000:80:04.4;txq5 at 0000:80:04.5;txq6 at 0000:80:04.6;txq7 at 0000:80:04.7],dmathr=512'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8
     testpmd>start
 
 2. Launch VM1 and VM2 using qemu 5.2.0::
@@ -514,8 +515,8 @@ Test Case 8: VM2VM packed ring vhost-user/virtio-net CBDMA enable test with tcp
 1. Launch the Vhost sample by below commands::
 
     rm -rf vhost-net*
-    ./dpdk-testpmd -l 2-4 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=1,dmas=[txq0 at 00:04.0],dmathr=512' \
-    --vdev 'net_vhost1,iface=vhost-net1,queues=1,dmas=[txq0 at 00:04.1],dmathr=512'  -- -i --nb-cores=2 --txd=1024 --rxd=1024
+    ./dpdk-testpmd -l 2-4 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=1,dmas=[txq0 at 0000:00:04.0],dmathr=512' \
+    --vdev 'net_vhost1,iface=vhost-net1,queues=1,dmas=[txq0 at 0000:00:04.1],dmathr=512'  -- -i --nb-cores=2 --txd=1024 --rxd=1024
     testpmd>start
 
 2. Launch VM1 and VM2 on socket 1 with qemu 5.2.0::
@@ -674,8 +675,8 @@ Test Case 11: VM2VM virtio-net packed ring mergeable 8 queues CBDMA enable test
 1. Launch the Vhost sample by below commands::
 
     rm -rf vhost-net*
-    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=8,dmas=[txq0 at 00:04.0;txq1 at 00:04.1;txq2 at 00:04.2;txq3 at 00:04.3;txq4 at 00:04.4;txq5 at 00:04.5;txq6 at 00:04.6;txq7 at 00:04.7],dmathr=512' \
-    --vdev 'net_vhost1,iface=vhost-net1,queues=8,dmas=[txq0 at 80:04.0;txq1 at 80:04.1;txq2 at 80:04.2;txq3 at 80:04.3;txq4 at 80:04.4;txq5 at 80:04.5;txq6 at 80:04.6;txq7 at 80:04.7],dmathr=512'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8
+    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=8,dmas=[txq0 at 0000:00:04.0;txq1 at 0000:00:04.1;txq2 at 0000:00:04.2;txq3 at 0000:00:04.3;txq4 at 0000:00:04.4;txq5 at 0000:00:04.5;txq6 at 0000:00:04.6;txq7 at 0000:00:04.7],dmathr=512' \
+    --vdev 'net_vhost1,iface=vhost-net1,queues=8,dmas=[txq0 at 0000:80:04.0;txq1 at 0000:80:04.1;txq2 at 0000:80:04.2;txq3 at 0000:80:04.3;txq4 at 0000:80:04.4;txq5 at 0000:80:04.5;txq6 at 0000:80:04.6;txq7 at 0000:80:04.7],dmathr=512'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8
     testpmd>start
 
 2. Launch VM1 and VM2 with qemu 5.2.0::
@@ -731,8 +732,8 @@ Test Case 12: VM2VM virtio-net packed ring non-mergeable 8 queues CBDMA enable t
 1. Launch the Vhost sample by below commands::
 
     rm -rf vhost-net*
-    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=8,dmas=[txq0 at 00:04.0;txq1 at 00:04.1;txq2 at 00:04.2;txq3 at 00:04.3;txq4 at 00:04.4;txq5 at 00:04.5;txq6 at 00:04.6;txq7 at 00:04.7],dmathr=512' \
-    --vdev 'net_vhost1,iface=vhost-net1,queues=8,dmas=[txq0 at 80:04.0;txq1 at 80:04.1;txq2 at 80:04.2;txq3 at 80:04.3;txq4 at 80:04.4;txq5 at 80:04.5;txq6 at 80:04.6;txq7 at 80:04.7],dmathr=512'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8
+    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=8,dmas=[txq0 at 0000:00:04.0;txq1 at 0000:00:04.1;txq2 at 0000:00:04.2;txq3 at 0000:00:04.3;txq4 at 0000:00:04.4;txq5 at 0000:00:04.5;txq6 at 0000:00:04.6;txq7 at 0000:00:04.7],dmathr=512' \
+    --vdev 'net_vhost1,iface=vhost-net1,queues=8,dmas=[txq0 at 0000:80:04.0;txq1 at 0000:80:04.1;txq2 at 0000:80:04.2;txq3 at 0000:80:04.3;txq4 at 0000:80:04.4;txq5 at 0000:80:04.5;txq6 at 0000:80:04.6;txq7 at 0000:80:04.7],dmathr=512'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8
     testpmd>start
 
 2. Launch VM1 and VM2::
-- 
2.25.1



More information about the dts mailing list