From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 62DF2A00BE; Mon, 27 Apr 2020 09:52:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 59AF91C1A6; Mon, 27 Apr 2020 09:52:00 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 06EA81BF8E for ; Mon, 27 Apr 2020 09:51:58 +0200 (CEST) IronPort-SDR: gewl1o0ZsND8i6m0+riVHmwxyNQiE5wFIG2DQDtwZAI3FvztJ18hL0GCQZxGXmOMmw+2yVoqRQ miMuOdnJ2vPg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2020 00:51:58 -0700 IronPort-SDR: R2SPkIzRVGFfDWa3u/opUv6bgFbRaLdrJdkn6AE4ZhnOHdkgiFnTM6Jp8Pk625xXfvtMOUuM05 mQ/zcSGw8WIA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,323,1583222400"; d="scan'208";a="246031036" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga007.jf.intel.com with ESMTP; 27 Apr 2020 00:51:57 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 27 Apr 2020 00:51:56 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 27 Apr 2020 00:51:56 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.89]) with mapi id 14.03.0439.000; Mon, 27 Apr 2020 15:51:53 +0800 From: "Tu, Lijuan" To: "Wang, Yinan" , "dts@dpdk.org" CC: "Wang, Yinan" Thread-Topic: [dts] [PATCH v1] test_plans: update test configuration in vm2vm_virtio_net_perf_test_plan Thread-Index: AQHWHDi2PxpQr9LcOEaeg8LUHl8DXqiMmPmg Date: Mon, 27 Apr 2020 07:51:52 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC12B65@SHSMSX101.ccr.corp.intel.com> References: <20200426190121.40141-1-yinan.wang@intel.com> In-Reply-To: <20200426190121.40141-1-yinan.wang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH v1] test_plans: update test configuration in vm2vm_virtio_net_perf_test_plan X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" 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 > Subject: [dts] [PATCH v1] test_plans: update test configuration in > vm2vm_virtio_net_perf_test_plan >=20 > From: Wang Yinan >=20 > Signed-off-by: Wang Yinan > --- > .../vm2vm_virtio_net_perf_test_plan.rst | 56 +++++++++---------- > 1 file changed, 28 insertions(+), 28 deletions(-) >=20 > 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. >=20 > 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 wi= th > tcp traffic > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6002-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net0 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don -vnc :10 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don -vnc :10 >=20 > qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \ > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > path=3D/mnt/huge,share=3Don \ @@ -80,7 +80,7 @@ Test Case 1: VM2VM split > ring vhost-user/virtio-net test with tcp traffic > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6003-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net1 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don -vnc :12 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don -vnc :12 >=20 > 3. On VM1, set virtio device IP and run arp protocal:: >=20 > @@ -125,7 +125,7 @@ Test Case 2: VM2VM split ring vhost-user/virtio-net > dequeue zero-copy test with > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6002-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net0 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don -vnc :10 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don -vnc :10 >=20 > qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \ > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > path=3D/mnt/huge,share=3Don \ @@ -136,7 +136,7 @@ Test Case 2: VM2VM > split ring vhost-user/virtio-net dequeue zero-copy test with > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6003-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net1 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don -vnc :12 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don -vnc :12 >=20 > 3. On VM1, set virtio device IP and run arp protocal:: >=20 > @@ -180,7 +180,7 @@ Test Case 3: VM2VM split ring vhost-user/virtio-net > test with udp traffic > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6002-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net0 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,guest_ufo=3Don,hos= t_ufo > =3Don -vnc :10 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don,guest_ufo=3Don,host_ufo=3Don -vnc :10 >=20 > qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \ > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > path=3D/mnt/huge,share=3Don \ @@ -191,7 +191,7 @@ Test Case 3: VM2VM > split ring vhost-user/virtio-net test with udp traffic > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6003-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net1 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,guest_ufo=3Don,hos= t_ufo > =3Don -vnc :12 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don,guest_ufo=3Don,host_ufo=3Don -vnc :12 >=20 > 3. On VM1, set virtio device IP and run arp protocal:: >=20 > @@ -235,7 +235,7 @@ Test Case 4: Check split ring virtio-net device > capability > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6002-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net0 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,guest_ufo=3Don,hos= t_ufo > =3Don -vnc :10 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don,guest_ufo=3Don,host_ufo=3Don -vnc :10 >=20 > qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \ > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > path=3D/mnt/huge,share=3Don \ @@ -246,7 +246,7 @@ Test Case 4: Check spli= t > ring virtio-net device capability > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6003-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net1 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,guest_ufo=3Don,hos= t_ufo > =3Don -vnc :12 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don,guest_ufo=3Don,host_ufo=3Don -vnc :12 >=20 > 3. Check UFO and TSO offload status on for the Virtio-net driver on VM1 = and > VM2:: >=20 > @@ -283,7 +283,7 @@ Test Case 5: VM2VM virtio-net split ring mergeable > zero copy test with large pac > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6002-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net0 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,guest_ufo=3Don,hos= t_ufo > =3Don -vnc :10 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don,guest_ufo=3Don,host_ufo=3Don -vnc :10 >=20 > qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \ > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > path=3D/mnt/huge,share=3Don \ @@ -294,7 +294,7 @@ Test Case 5: VM2VM > virtio-net split ring mergeable zero copy test with large pac > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6003-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net1 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,guest_ufo=3Don,hos= t_ufo > =3Don -vnc :12 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don,guest_ufo=3Don,host_ufo=3Don -vnc :12 >=20 > 3. On VM1, set virtio device IP and run arp protocal:: >=20 > @@ -331,7 +331,7 @@ Test Case 6: VM2VM virtio-net split ring non- > mergeable zero copy test with large > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6002-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net0 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,guest_ufo=3Don,hos= t_ufo > =3Don -vnc :10 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Doff,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3D= on,gu > es > + t_ecn=3Don,guest_ufo=3Don,host_ufo=3Don -vnc :10 >=20 > qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \ > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > path=3D/mnt/huge,share=3Don \ @@ -342,7 +342,7 @@ Test Case 6: VM2VM > virtio-net split ring non-mergeable zero copy test with large > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6003-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net1 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,guest_ufo=3Don,hos= t_ufo > =3Don -vnc :12 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Doff,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3D= on,gu > es > + t_ecn=3Don,guest_ufo=3Don,host_ufo=3Don -vnc :12 >=20 > 3. On VM1, set virtio device IP and run arp protocal:: >=20 > @@ -379,7 +379,7 @@ Test Case 7: VM2VM packed ring vhost-user/virtio- > net test with tcp traffic > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6002-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net0 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,packed=3Don -vnc := 10 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don,packed=3Don -vnc :10 >=20 > qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \ > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > path=3D/mnt/huge,share=3Don \ @@ -390,7 +390,7 @@ Test Case 7: VM2VM > packed ring vhost-user/virtio-net test with tcp traffic > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6003-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net1 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,packed=3Don -vnc := 12 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don,packed=3Don -vnc :12 >=20 > 3. On VM1, set virtio device IP and run arp protocal:: >=20 > @@ -434,7 +434,7 @@ Test Case 8: VM2VM packed ring vhost-user/virtio- > net dequeue zero-copy test with > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6002-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net0 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,packed=3Don -vnc := 10 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don,packed=3Don -vnc :10 >=20 > qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \ > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > path=3D/mnt/huge,share=3Don \ @@ -445,7 +445,7 @@ Test Case 8: VM2VM > packed ring vhost-user/virtio-net dequeue zero-copy test with > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6003-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net1 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,packed=3Don -vnc := 12 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don,packed=3Don -vnc :12 >=20 > 3. On VM1, set virtio device IP and run arp protocal:: >=20 > @@ -480,16 +480,16 @@ Test Case 9: VM2VM packed ring vhost-user/virtio- > net test with udp traffic >=20 > 2. Launch VM1 and VM2:: >=20 > - 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=3Dmem,size=3D4096M,mem- > path=3D/mnt/huge,share=3Don \ > - -numa node,memdev=3Dmem -mem-prealloc -drive > file=3D/home/osimg/ubuntu16.img \ > + -numa node,memdev=3Dmem -mem-prealloc -drive > + file=3D/home/osimg/ubuntu1910.img \ > -chardev socket,path=3D/tmp/vm2_qga0.sock,server,nowait,id=3Dvm2_qga= 0 - > device virtio-serial \ > -device virtserialport,chardev=3Dvm2_qga0,name=3Dorg.qemu.guest_agen= t.2 - > daemonize \ > -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device > e1000,netdev=3Dnttsip1 \ > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6002-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net0 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,packed=3Don -vnc := 10 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don,packed=3Don -vnc :10 >=20 > qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \ > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > path=3D/mnt/huge,share=3Don \ @@ -500,7 +500,7 @@ Test Case 9: VM2VM > packed ring vhost-user/virtio-net test with udp traffic > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6003-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net1 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,packed=3Don -vnc := 12 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don,packed=3Don -vnc :12 >=20 > 3. On VM1, set virtio device IP and run arp protocal:: >=20 > @@ -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 >=20 > Test Case 10: Check packed ring virtio-net device capability - > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > 1. Launch the Vhost sample by below commands:: >=20 > @@ -544,7 +544,7 @@ Test Case 10: Check packed ring virtio-net device > capability > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6002-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net0 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,packed=3Don -vnc := 10 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don,packed=3Don -vnc :10 >=20 > qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \ > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > path=3D/mnt/huge,share=3Don \ @@ -555,7 +555,7 @@ Test Case 10: Check > packed ring virtio-net device capability > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6003-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net1 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,packed=3Don -vnc := 12 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,hos > t_ > + ufo=3Don,guest_ufo=3Don,guest_ecn=3Don,packed=3Don -vnc :12 >=20 > 3. Check UFO and TSO offload status on for the Virtio-net driver on VM1 = and > VM2:: >=20 > @@ -592,7 +592,7 @@ Test Case 11: VM2VM packed ring virtio-net > mergeable dequeue zero copy test with > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6002-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net0 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,packed=3Don -vnc := 10 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don,packed=3Don -vnc :10 >=20 > qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \ > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > path=3D/mnt/huge,share=3Don \ @@ -603,7 +603,7 @@ Test Case 11: VM2VM > packed ring virtio-net mergeable dequeue zero copy test with > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6003-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net1 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,packed=3Don -vnc := 12 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3Do= n,gue > st > + _ecn=3Don,packed=3Don -vnc :12 >=20 > 3. On VM1, set virtio device IP and run arp protocal:: >=20 > @@ -640,7 +640,7 @@ Test Case 12: VM2VM packed ring virtio-net non- > mergeable dequeue zero copy test > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6002-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net0 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,packed=3Don -vnc := 10 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Doff,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3D= on,gu > es > + t_ecn=3Don,packed=3Don -vnc :10 >=20 > qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 1 -m 4096 \ > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > path=3D/mnt/huge,share=3Don \ @@ -651,7 +651,7 @@ Test Case 12: VM2VM > packed ring virtio-net non-mergeable dequeue zero copy test > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6003-:22 \ > -chardev socket,id=3Dchar0,path=3D./vhost-net1 \ > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,mrg_rxbuf=3Don,csum=3Don,gue= st_c > sum=3Don,host_tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,packed=3Don -vnc := 12 > + -device > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,disable-modern= =3Dfal > + > se,mrg_rxbuf=3Doff,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3D= on,gu > es > + t_ecn=3Don,packed=3Don -vnc :12 >=20 > 3. On VM1, set virtio device IP and run arp protocal:: >=20 > -- > 2.17.1