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 EDF74A0562; Tue, 31 Mar 2020 05:05:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E60581C08D; Tue, 31 Mar 2020 05:05:57 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id B1B0D1C06A for ; Tue, 31 Mar 2020 05:05:56 +0200 (CEST) IronPort-SDR: M3TVOKlYNO21MB+FrsMgnCY73Zrx0gLYVUNuuj2ea+85qBfNsve8TzmY6EG3W7VTEPAOVkrU1d Tz7nUAVmNckg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2020 20:05:55 -0700 IronPort-SDR: fkpDSVNXR5unjLLINEVFgty5DF0hcsCRBAfKbsE5G1d/S7AdH0T4E0cY0D0HI94uTqaeRyFylZ vikfKxyj5y0w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,326,1580803200"; d="scan'208";a="267133774" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga002.jf.intel.com with ESMTP; 30 Mar 2020 20:05:55 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 30 Mar 2020 20:05:55 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 30 Mar 2020 20:05:54 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 30 Mar 2020 20:05:54 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.146]) with mapi id 14.03.0439.000; Tue, 31 Mar 2020 11:05:52 +0800 From: "Tu, Lijuan" To: "Wang, Yinan" , "dts@dpdk.org" CC: "Wang, Yinan" Thread-Topic: [dts] [PATCH v2] test_plans: update qemu cmd for packed ring of virtio_pvp_regression cases Thread-Index: AQHWAmxUh9+rXRmbf0uq5/kei3HrK6hiDbUQ Date: Tue, 31 Mar 2020 03:05:51 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC03508@SHSMSX101.ccr.corp.intel.com> References: <20200324230604.12573-1-yinan.wang@intel.com> In-Reply-To: <20200324230604.12573-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 v2] test_plans: update qemu cmd for packed ring of virtio_pvp_regression cases 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: Wednesday, March 25, 2020 7:06 AM > To: dts@dpdk.org > Cc: Wang, Yinan > Subject: [dts] [PATCH v2] test_plans: update qemu cmd for packed ring of > virtio_pvp_regression cases >=20 > From: Wang Yinan >=20 > Signed-off-by: Wang Yinan > --- > .../virtio_pvp_regression_test_plan.rst | 24 +++++++++---------- > 1 file changed, 12 insertions(+), 12 deletions(-) >=20 > diff --git a/test_plans/virtio_pvp_regression_test_plan.rst > b/test_plans/virtio_pvp_regression_test_plan.rst > index 2242920..4d64aa7 100644 > --- a/test_plans/virtio_pvp_regression_test_plan.rst > +++ b/test_plans/virtio_pvp_regression_test_plan.rst > @@ -293,20 +293,20 @@ Test Case 7: pvp test with virtio 1.1 mergeable pat= h >=20 > 2. Check dut machine already has installed qemu 4.2.0, then launch VM:: >=20 > - qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 3 -m 4096 \ > + qemu-system-x86_64 -name vm1 -enable-kvm -cpu host -smp 3 -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 \ > -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 -net > nic,vlan=3D2,macaddr=3D00:00:00:08:e8:aa,addr=3D1f -net > user,vlan=3D2,hostfwd=3Dtcp:127.0.0.1:6002-:22 \ > + -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-net,server \ > - -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce,qu= eues=3D2 > \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,mrg_rxbuf=3Don,rx_queue_size= =3D10 > 24,tx_queue_size=3D1024,mq=3Don,vectors=3D15,packed_vq=3D1 \ > - -vnc :10 > + -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce,qu= eues=3D2 > \ > + -device virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,disa= ble- > modern=3Dfalse,mrg_rxbuf=3Don,rx_queue_size=3D1024,tx_queue_size=3D1024,m= q=3D > on,vectors=3D15,packed=3Don -vnc :10 >=20 > 3. On VM, bind virtio net to igb_uio and run testpmd without tx-offloads= :: >=20 > - ./testpmd -c 0x7 -n 4 -- -i --enable-hw-vlan-strip\ > + ./testpmd -c 0x7 -n 4 -- -i --enable-hw-vlan-strip \ > --nb-cores=3D2 --rxq=3D2 --txq=3D2 --txd=3D1024 --rxd=3D1024 > testpmd>set fwd mac > testpmd>start > @@ -332,20 +332,20 @@ Test Case 8: pvp test with virtio 1.1 non-mergeable > path >=20 > 2. Check dut machine already has installed qemu 4.2.0, then launch VM:: >=20 > - qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 3 -m 4096 \ > + qemu-system-x86_64 -name vm1 -enable-kvm -cpu host -smp 3 -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 \ > -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 -net > nic,vlan=3D2,macaddr=3D00:00:00:08:e8:aa,addr=3D1f -net > user,vlan=3D2,hostfwd=3Dtcp:127.0.0.1:6002-:22 \ > + -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-net,server \ > - -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce,qu= eues=3D2 > \ > - -device virtio-net- > pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,mrg_rxbuf=3Doff,rx_queue_siz= e=3D1 > 024,tx_queue_size=3D1024,mq=3Don,vectors=3D15,packed_vq=3D1 \ > - -vnc :10 > + -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce,qu= eues=3D2 > \ > + -device virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,disa= ble- > modern=3Dfalse,mrg_rxbuf=3Doff,rx_queue_size=3D1024,tx_queue_size=3D1024,= mq=3D > on,vectors=3D15,packed=3Don -vnc :10 >=20 > 3. On VM, bind virtio net to igb_uio and run testpmd without tx-offloads= :: >=20 > - ./testpmd -c 0x7 -n 4 -- -i --enable-hw-vlan-strip\ > + ./testpmd -c 0x7 -n 4 -- -i --enable-hw-vlan-strip \ > --nb-cores=3D2 --rxq=3D2 --txq=3D2 --txd=3D1024 --rxd=3D1024 > testpmd>set fwd mac > testpmd>start > -- > 2.17.1