test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH v1] test_plans: update test configuration in vm2vm_virtio_net_perf_test_plan
@ 2020-04-26 19:01 Yinan
  2020-04-27  7:51 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Yinan @ 2020-04-26 19:01 UTC (permalink / raw)
  To: dts; +Cc: Wang Yinan

From: Wang Yinan <yinan.wang@intel.com>

Signed-off-by: Wang Yinan <yinan.wang@intel.com>
---
 .../vm2vm_virtio_net_perf_test_plan.rst       | 56 +++++++++----------
 1 file changed, 28 insertions(+), 28 deletions(-)

diff --git a/test_plans/vm2vm_virtio_net_perf_test_plan.rst b/test_plans/vm2vm_virtio_net_perf_test_plan.rst
index 9e9d561..8218d3f 100644
--- a/test_plans/vm2vm_virtio_net_perf_test_plan.rst
+++ b/test_plans/vm2vm_virtio_net_perf_test_plan.rst
@@ -1,4 +1,4 @@
-.. Copyright (c) <2019>, Intel Corporation
+.. Copyright (c) <2020>, Intel Corporation
    All rights reserved.
 
    Redistribution and use in source and binary forms, with or without
@@ -69,7 +69,7 @@ Test Case 1: VM2VM split ring vhost-user/virtio-net test with tcp traffic
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
     -chardev socket,id=char0,path=./vhost-net0 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10
 
    qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \
@@ -80,7 +80,7 @@ Test Case 1: VM2VM split ring vhost-user/virtio-net test with tcp traffic
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
     -chardev socket,id=char0,path=./vhost-net1 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12
 
 3. On VM1, set virtio device IP and run arp protocal::
 
@@ -125,7 +125,7 @@ Test Case 2: VM2VM split ring vhost-user/virtio-net dequeue zero-copy test with
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
     -chardev socket,id=char0,path=./vhost-net0 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10
 
    qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \
@@ -136,7 +136,7 @@ Test Case 2: VM2VM split ring vhost-user/virtio-net dequeue zero-copy test with
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
     -chardev socket,id=char0,path=./vhost-net1 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12
 
 3. On VM1, set virtio device IP and run arp protocal::
 
@@ -180,7 +180,7 @@ Test Case 3: VM2VM split ring vhost-user/virtio-net test with udp traffic
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
     -chardev socket,id=char0,path=./vhost-net0 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :10
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :10
 
    qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \
@@ -191,7 +191,7 @@ Test Case 3: VM2VM split ring vhost-user/virtio-net test with udp traffic
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
     -chardev socket,id=char0,path=./vhost-net1 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :12
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :12
 
 3. On VM1, set virtio device IP and run arp protocal::
 
@@ -235,7 +235,7 @@ Test Case 4: Check split ring virtio-net device capability
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
     -chardev socket,id=char0,path=./vhost-net0 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :10
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :10
 
    qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \
@@ -246,7 +246,7 @@ Test Case 4: Check split ring virtio-net device capability
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
     -chardev socket,id=char0,path=./vhost-net1 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :12
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :12
 
 3. Check UFO and TSO offload status on for the Virtio-net driver on VM1 and VM2::
 
@@ -283,7 +283,7 @@ Test Case 5: VM2VM virtio-net split ring mergeable zero copy test with large pac
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
     -chardev socket,id=char0,path=./vhost-net0 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :10
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :10
 
    qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \
@@ -294,7 +294,7 @@ Test Case 5: VM2VM virtio-net split ring mergeable zero copy test with large pac
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
     -chardev socket,id=char0,path=./vhost-net1 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :12
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :12
 
 3. On VM1, set virtio device IP and run arp protocal::
 
@@ -331,7 +331,7 @@ Test Case 6: VM2VM virtio-net split ring non-mergeable zero copy test with large
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
     -chardev socket,id=char0,path=./vhost-net0 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :10
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :10
 
    qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \
@@ -342,7 +342,7 @@ Test Case 6: VM2VM virtio-net split ring non-mergeable zero copy test with large
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
     -chardev socket,id=char0,path=./vhost-net1 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :12
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :12
 
 3. On VM1, set virtio device IP and run arp protocal::
 
@@ -379,7 +379,7 @@ Test Case 7: VM2VM packed ring vhost-user/virtio-net test with tcp traffic
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
     -chardev socket,id=char0,path=./vhost-net0 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
 
    qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \
@@ -390,7 +390,7 @@ Test Case 7: VM2VM packed ring vhost-user/virtio-net test with tcp traffic
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
     -chardev socket,id=char0,path=./vhost-net1 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12
 
 3. On VM1, set virtio device IP and run arp protocal::
 
@@ -434,7 +434,7 @@ Test Case 8: VM2VM packed ring vhost-user/virtio-net dequeue zero-copy test with
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
     -chardev socket,id=char0,path=./vhost-net0 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
 
    qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \
@@ -445,7 +445,7 @@ Test Case 8: VM2VM packed ring vhost-user/virtio-net dequeue zero-copy test with
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
     -chardev socket,id=char0,path=./vhost-net1 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12
 
 3. On VM1, set virtio device IP and run arp protocal::
 
@@ -480,16 +480,16 @@ Test Case 9: VM2VM packed ring vhost-user/virtio-net test with udp traffic
 
 2. Launch VM1 and VM2::
 
-    qemu-system-x86_64 -name vm1 -enable-kvm -cpu host -smp 1 -m 4096 \
+    qemu-system-x86_64 -name vm1 -enable-kvm -cpu host -smp 40 -m 4096 \
     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \
-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu16.img  \
+    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu1910.img  \
     -chardev socket,path=/tmp/vm2_qga0.sock,server,nowait,id=vm2_qga0 -device virtio-serial \
     -device virtserialport,chardev=vm2_qga0,name=org.qemu.guest_agent.2 -daemonize \
     -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
     -chardev socket,id=char0,path=./vhost-net0 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
 
    qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \
@@ -500,7 +500,7 @@ Test Case 9: VM2VM packed ring vhost-user/virtio-net test with udp traffic
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
     -chardev socket,id=char0,path=./vhost-net1 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12
 
 3. On VM1, set virtio device IP and run arp protocal::
 
@@ -524,7 +524,7 @@ Test Case 9: VM2VM packed ring vhost-user/virtio-net test with udp traffic
     Port 1 should have rx packets above 1522
 
 Test Case 10: Check packed ring virtio-net device capability
-============================================================
+===========================================================
 
 1. Launch the Vhost sample by below commands::
 
@@ -544,7 +544,7 @@ Test Case 10: Check packed ring virtio-net device capability
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
     -chardev socket,id=char0,path=./vhost-net0 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
 
    qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \
@@ -555,7 +555,7 @@ Test Case 10: Check packed ring virtio-net device capability
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
     -chardev socket,id=char0,path=./vhost-net1 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,host_ufo=on,guest_ufo=on,guest_ecn=on,packed=on -vnc :12
 
 3. Check UFO and TSO offload status on for the Virtio-net driver on VM1 and VM2::
 
@@ -592,7 +592,7 @@ Test Case 11: VM2VM packed ring virtio-net mergeable dequeue zero copy test with
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
     -chardev socket,id=char0,path=./vhost-net0 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
 
    qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \
@@ -603,7 +603,7 @@ Test Case 11: VM2VM packed ring virtio-net mergeable dequeue zero copy test with
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
     -chardev socket,id=char0,path=./vhost-net1 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12
 
 3. On VM1, set virtio device IP and run arp protocal::
 
@@ -640,7 +640,7 @@ Test Case 12: VM2VM packed ring virtio-net non-mergeable dequeue zero copy test
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
     -chardev socket,id=char0,path=./vhost-net0 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
 
    qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \
@@ -651,7 +651,7 @@ Test Case 12: VM2VM packed ring virtio-net non-mergeable dequeue zero copy test
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
     -chardev socket,id=char0,path=./vhost-net1 \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12
+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12
 
 3. On VM1, set virtio device IP and run arp protocal::
 
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH v1] test_plans: update test configuration in vm2vm_virtio_net_perf_test_plan
  2020-04-26 19:01 [dts] [PATCH v1] test_plans: update test configuration in vm2vm_virtio_net_perf_test_plan Yinan
@ 2020-04-27  7:51 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-04-27  7:51 UTC (permalink / raw)
  To: Wang, Yinan, dts; +Cc: Wang, Yinan

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Yinan
> Sent: Monday, April 27, 2020 3:01 AM
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>
> Subject: [dts] [PATCH v1] test_plans: update test configuration in
> vm2vm_virtio_net_perf_test_plan
> 
> From: Wang Yinan <yinan.wang@intel.com>
> 
> Signed-off-by: Wang Yinan <yinan.wang@intel.com>
> ---
>  .../vm2vm_virtio_net_perf_test_plan.rst       | 56 +++++++++----------
>  1 file changed, 28 insertions(+), 28 deletions(-)
> 
> diff --git a/test_plans/vm2vm_virtio_net_perf_test_plan.rst
> b/test_plans/vm2vm_virtio_net_perf_test_plan.rst
> index 9e9d561..8218d3f 100644
> --- a/test_plans/vm2vm_virtio_net_perf_test_plan.rst
> +++ b/test_plans/vm2vm_virtio_net_perf_test_plan.rst
> @@ -1,4 +1,4 @@
> -.. Copyright (c) <2019>, Intel Corporation
> +.. Copyright (c) <2020>, Intel Corporation
>     All rights reserved.
> 
>     Redistribution and use in source and binary forms, with or without @@ -
> 69,7 +69,7 @@ Test Case 1: VM2VM split ring vhost-user/virtio-net test with
> tcp traffic
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
>      -chardev socket,id=char0,path=./vhost-net0 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on -vnc :10
> 
>     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
>      -object memory-backend-file,id=mem,size=4096M,mem-
> path=/mnt/huge,share=on \ @@ -80,7 +80,7 @@ Test Case 1: VM2VM split
> ring vhost-user/virtio-net test with tcp traffic
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
>      -chardev socket,id=char0,path=./vhost-net1 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on -vnc :12
> 
>  3. On VM1, set virtio device IP and run arp protocal::
> 
> @@ -125,7 +125,7 @@ Test Case 2: VM2VM split ring vhost-user/virtio-net
> dequeue zero-copy test with
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
>      -chardev socket,id=char0,path=./vhost-net0 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on -vnc :10
> 
>     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
>      -object memory-backend-file,id=mem,size=4096M,mem-
> path=/mnt/huge,share=on \ @@ -136,7 +136,7 @@ Test Case 2: VM2VM
> split ring vhost-user/virtio-net dequeue zero-copy test with
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
>      -chardev socket,id=char0,path=./vhost-net1 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on -vnc :12
> 
>  3. On VM1, set virtio device IP and run arp protocal::
> 
> @@ -180,7 +180,7 @@ Test Case 3: VM2VM split ring vhost-user/virtio-net
> test with udp traffic
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
>      -chardev socket,id=char0,path=./vhost-net0 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo
> =on -vnc :10
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on,guest_ufo=on,host_ufo=on -vnc :10
> 
>     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
>      -object memory-backend-file,id=mem,size=4096M,mem-
> path=/mnt/huge,share=on \ @@ -191,7 +191,7 @@ Test Case 3: VM2VM
> split ring vhost-user/virtio-net test with udp traffic
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
>      -chardev socket,id=char0,path=./vhost-net1 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo
> =on -vnc :12
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on,guest_ufo=on,host_ufo=on -vnc :12
> 
>  3. On VM1, set virtio device IP and run arp protocal::
> 
> @@ -235,7 +235,7 @@ Test Case 4: Check split ring virtio-net device
> capability
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
>      -chardev socket,id=char0,path=./vhost-net0 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo
> =on -vnc :10
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on,guest_ufo=on,host_ufo=on -vnc :10
> 
>     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
>      -object memory-backend-file,id=mem,size=4096M,mem-
> path=/mnt/huge,share=on \ @@ -246,7 +246,7 @@ Test Case 4: Check split
> ring virtio-net device capability
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
>      -chardev socket,id=char0,path=./vhost-net1 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo
> =on -vnc :12
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on,guest_ufo=on,host_ufo=on -vnc :12
> 
>  3. Check UFO and TSO offload status on for the Virtio-net driver on VM1 and
> VM2::
> 
> @@ -283,7 +283,7 @@ Test Case 5: VM2VM virtio-net split ring mergeable
> zero copy test with large pac
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
>      -chardev socket,id=char0,path=./vhost-net0 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo
> =on -vnc :10
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on,guest_ufo=on,host_ufo=on -vnc :10
> 
>     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
>      -object memory-backend-file,id=mem,size=4096M,mem-
> path=/mnt/huge,share=on \ @@ -294,7 +294,7 @@ Test Case 5: VM2VM
> virtio-net split ring mergeable zero copy test with large pac
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
>      -chardev socket,id=char0,path=./vhost-net1 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo
> =on -vnc :12
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on,guest_ufo=on,host_ufo=on -vnc :12
> 
>  3. On VM1, set virtio device IP and run arp protocal::
> 
> @@ -331,7 +331,7 @@ Test Case 6: VM2VM virtio-net split ring non-
> mergeable zero copy test with large
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
>      -chardev socket,id=char0,path=./vhost-net0 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo
> =on -vnc :10
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=fal
> +
> se,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gu
> es
> + t_ecn=on,guest_ufo=on,host_ufo=on -vnc :10
> 
>     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
>      -object memory-backend-file,id=mem,size=4096M,mem-
> path=/mnt/huge,share=on \ @@ -342,7 +342,7 @@ Test Case 6: VM2VM
> virtio-net split ring non-mergeable zero copy test with large
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
>      -chardev socket,id=char0,path=./vhost-net1 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo
> =on -vnc :12
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=fal
> +
> se,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gu
> es
> + t_ecn=on,guest_ufo=on,host_ufo=on -vnc :12
> 
>  3. On VM1, set virtio device IP and run arp protocal::
> 
> @@ -379,7 +379,7 @@ Test Case 7: VM2VM packed ring vhost-user/virtio-
> net test with tcp traffic
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
>      -chardev socket,id=char0,path=./vhost-net0 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on,packed=on -vnc :10
> 
>     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
>      -object memory-backend-file,id=mem,size=4096M,mem-
> path=/mnt/huge,share=on \ @@ -390,7 +390,7 @@ Test Case 7: VM2VM
> packed ring vhost-user/virtio-net test with tcp traffic
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
>      -chardev socket,id=char0,path=./vhost-net1 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on,packed=on -vnc :12
> 
>  3. On VM1, set virtio device IP and run arp protocal::
> 
> @@ -434,7 +434,7 @@ Test Case 8: VM2VM packed ring vhost-user/virtio-
> net dequeue zero-copy test with
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
>      -chardev socket,id=char0,path=./vhost-net0 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on,packed=on -vnc :10
> 
>     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
>      -object memory-backend-file,id=mem,size=4096M,mem-
> path=/mnt/huge,share=on \ @@ -445,7 +445,7 @@ Test Case 8: VM2VM
> packed ring vhost-user/virtio-net dequeue zero-copy test with
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
>      -chardev socket,id=char0,path=./vhost-net1 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on,packed=on -vnc :12
> 
>  3. On VM1, set virtio device IP and run arp protocal::
> 
> @@ -480,16 +480,16 @@ Test Case 9: VM2VM packed ring vhost-user/virtio-
> net test with udp traffic
> 
>  2. Launch VM1 and VM2::
> 
> -    qemu-system-x86_64 -name vm1 -enable-kvm -cpu host -smp 1 -m 4096 \
> +    qemu-system-x86_64 -name vm1 -enable-kvm -cpu host -smp 40 -m 4096
> + \
>      -object memory-backend-file,id=mem,size=4096M,mem-
> path=/mnt/huge,share=on \
> -    -numa node,memdev=mem -mem-prealloc -drive
> file=/home/osimg/ubuntu16.img  \
> +    -numa node,memdev=mem -mem-prealloc -drive
> + file=/home/osimg/ubuntu1910.img  \
>      -chardev socket,path=/tmp/vm2_qga0.sock,server,nowait,id=vm2_qga0 -
> device virtio-serial \
>      -device virtserialport,chardev=vm2_qga0,name=org.qemu.guest_agent.2 -
> daemonize \
>      -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device
> e1000,netdev=nttsip1 \
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
>      -chardev socket,id=char0,path=./vhost-net0 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on,packed=on -vnc :10
> 
>     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
>      -object memory-backend-file,id=mem,size=4096M,mem-
> path=/mnt/huge,share=on \ @@ -500,7 +500,7 @@ Test Case 9: VM2VM
> packed ring vhost-user/virtio-net test with udp traffic
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
>      -chardev socket,id=char0,path=./vhost-net1 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on,packed=on -vnc :12
> 
>  3. On VM1, set virtio device IP and run arp protocal::
> 
> @@ -524,7 +524,7 @@ Test Case 9: VM2VM packed ring vhost-user/virtio-
> net test with udp traffic
>      Port 1 should have rx packets above 1522
> 
>  Test Case 10: Check packed ring virtio-net device capability -
> ============================================================
> +===========================================================
> 
>  1. Launch the Vhost sample by below commands::
> 
> @@ -544,7 +544,7 @@ Test Case 10: Check packed ring virtio-net device
> capability
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
>      -chardev socket,id=char0,path=./vhost-net0 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on,packed=on -vnc :10
> 
>     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
>      -object memory-backend-file,id=mem,size=4096M,mem-
> path=/mnt/huge,share=on \ @@ -555,7 +555,7 @@ Test Case 10: Check
> packed ring virtio-net device capability
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
>      -chardev socket,id=char0,path=./vhost-net1 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,hos
> t_
> + ufo=on,guest_ufo=on,guest_ecn=on,packed=on -vnc :12
> 
>  3. Check UFO and TSO offload status on for the Virtio-net driver on VM1 and
> VM2::
> 
> @@ -592,7 +592,7 @@ Test Case 11: VM2VM packed ring virtio-net
> mergeable dequeue zero copy test with
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
>      -chardev socket,id=char0,path=./vhost-net0 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on,packed=on -vnc :10
> 
>     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
>      -object memory-backend-file,id=mem,size=4096M,mem-
> path=/mnt/huge,share=on \ @@ -603,7 +603,7 @@ Test Case 11: VM2VM
> packed ring virtio-net mergeable dequeue zero copy test with
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
>      -chardev socket,id=char0,path=./vhost-net1 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=fal
> +
> se,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gue
> st
> + _ecn=on,packed=on -vnc :12
> 
>  3. On VM1, set virtio device IP and run arp protocal::
> 
> @@ -640,7 +640,7 @@ Test Case 12: VM2VM packed ring virtio-net non-
> mergeable dequeue zero copy test
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \
>      -chardev socket,id=char0,path=./vhost-net0 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=fal
> +
> se,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gu
> es
> + t_ecn=on,packed=on -vnc :10
> 
>     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \
>      -object memory-backend-file,id=mem,size=4096M,mem-
> path=/mnt/huge,share=on \ @@ -651,7 +651,7 @@ Test Case 12: VM2VM
> packed ring virtio-net non-mergeable dequeue zero copy test
>      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
>      -chardev socket,id=char0,path=./vhost-net1 \
>      -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
> -    -device virtio-net-
> pci,netdev=netdev0,mac=52:54:00:00:00:02,mrg_rxbuf=on,csum=on,guest_c
> sum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12
> +    -device
> + virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=fal
> +
> se,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,gu
> es
> + t_ecn=on,packed=on -vnc :12
> 
>  3. On VM1, set virtio device IP and run arp protocal::
> 
> --
> 2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-27  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-26 19:01 [dts] [PATCH v1] test_plans: update test configuration in vm2vm_virtio_net_perf_test_plan Yinan
2020-04-27  7:51 ` Tu, Lijuan

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).