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 64C53A0352; Wed, 6 May 2020 05:26:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5656B1D6B8; Wed, 6 May 2020 05:26:02 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id C22261C06D for ; Wed, 6 May 2020 05:25:59 +0200 (CEST) IronPort-SDR: WxmMQWW85a0ayFLS7NlHL8IwVkepRL0sz9jdGAypt8bQ1RFDpocCl37wbOYO73UMFwggqgpJii TBZIBbE3F5qQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2020 20:25:59 -0700 IronPort-SDR: 3ccp+3xURBgzEFFMdc4N1DYEYMkGcOlXH7RrHluKV/zJmFX264/WM6ZBxMsEZdQIQIJDwqn4k4 zVck/fPfSLDA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,357,1583222400"; d="scan'208";a="284470743" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga004.fm.intel.com with ESMTP; 05 May 2020 20:25:59 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 May 2020 20:25:58 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 5 May 2020 20:25:58 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 5 May 2020 20:25:57 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.225]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.77]) with mapi id 14.03.0439.000; Wed, 6 May 2020 11:25:56 +0800 From: "Tu, Lijuan" To: "Wang, Yinan" , "dts@dpdk.org" CC: "Wang, Yinan" Thread-Topic: [dts] [PATCH v1] test_plans: update test commonds for vectorized cases in loopback_virtio_user_server_mode_test_plan.rst Thread-Index: AQHWHq9eg1DcVSdBqUKe4ac79BRcl6iabrhA Date: Wed, 6 May 2020 03:25:55 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC21F7D@SHSMSX101.ccr.corp.intel.com> References: <20200429221621.27954-1-yinan.wang@intel.com> In-Reply-To: <20200429221621.27954-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 commonds for vectorized cases in loopback_virtio_user_server_mode_test_plan.rst 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: Thursday, April 30, 2020 6:16 AM > To: dts@dpdk.org > Cc: Wang, Yinan > Subject: [dts] [PATCH v1] test_plans: update test commonds for vectorized > cases in loopback_virtio_user_server_mode_test_plan.rst >=20 > From: Wang Yinan >=20 > Signed-off-by: Wang Yinan > --- > ...back_virtio_user_server_mode_test_plan.rst | 20 ++++++++----------- > 1 file changed, 8 insertions(+), 12 deletions(-) >=20 > diff --git a/test_plans/loopback_virtio_user_server_mode_test_plan.rst > b/test_plans/loopback_virtio_user_server_mode_test_plan.rst > index 2716c91..abf369a 100644 > --- a/test_plans/loopback_virtio_user_server_mode_test_plan.rst > +++ b/test_plans/loopback_virtio_user_server_mode_test_plan.rst > @@ -38,10 +38,6 @@ Virtio-user server mode is a feature to enable virtio- > user as the server, vhost virtio-user can reconnect back to vhost-user a= gain; > at another hand, virtio-user also can reconnect back to vhost-user after > virtio-user is killed. > This feature test need cover different rx/tx paths with virtio 1.0 and v= irtio 1.1, > includes split ring mergeable, non-mergeable, inorder mergeable, inorder > non-mergeable, vector_rx path and packed ring mergeable, non-mergeable, > inorder non-mergeable, inorder mergeable, vectorized path. > -Note: Packed virtqueue vectorized path need below three initial > requirements: > - 1. AVX512 is allowed in config file and supported by compiler > - 2. Host cpu support AVX512F > - 3. ring size is power of two >=20 > Test Case 1: Basic test for packed ring server mode > =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 > @@ -315,7 +311,7 @@ Test Case 6: loopback reconnect test with split ring > non-mergeable path and serv 2. Launch virtio-user as server mode with 2 > queues:: >=20 > ./testpmd -n 4 -l 5-7 --socket-mem 1024,1024 --legacy-mem --no-pci -= -file- > prefix=3Dvirtio \ > - --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost- > net,server=3D1,queues=3D2,mrg_rxbuf=3D0,in_order=3D0 \ > + > + --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost-net,se= rver=3D > + 1,queues=3D2,mrg_rxbuf=3D0,in_order=3D0,vectorized=3D1 \ > -- -i --tx-offloads=3D0x0 --enable-hw-vlan-strip --rss-ip --nb-cores= =3D2 --rxq=3D2 - > -txq=3D2 > >set fwd mac > >start tx_first 32 > @@ -350,7 +346,7 @@ Test Case 6: loopback reconnect test with split ring > non-mergeable path and serv 8. Relaunch virtio-user and send packets:: >=20 > ./testpmd -n 4 -l 5-7 --socket-mem 1024,1024 --legacy-mem --no-pci -= -file- > prefix=3Dvirtio \ > - --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost- > net,server=3D1,queues=3D2,mrg_rxbuf=3D0,in_order=3D0 \ > + > + --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost-net,se= rver=3D > + 1,queues=3D2,mrg_rxbuf=3D0,in_order=3D0,vectorized=3D1 \ > -- -i --tx-offloads=3D0x0 --enable-hw-vlan-strip --rss-ip --nb-cores= =3D2 --rxq=3D2 - > -txq=3D2 > >set fwd mac > >start tx_first 32 > @@ -387,7 +383,7 @@ Test Case 7: loopback reconnect test with split ring > vector_rx path and server m 2. Launch virtio-user as server mode with 2 > queues:: >=20 > ./testpmd -n 4 -l 5-7 --socket-mem 1024,1024 --legacy-mem --no-pci -= -file- > prefix=3Dvirtio \ > - --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost- > net,server=3D1,queues=3D2,mrg_rxbuf=3D0,in_order=3D0 \ > + > + --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost-net,se= rver=3D > + 1,queues=3D2,mrg_rxbuf=3D0,in_order=3D0,vectorized=3D1 \ > -- -i --nb-cores=3D2 --rxq=3D2 --txq=3D2 > >set fwd mac > >start tx_first 32 > @@ -422,7 +418,7 @@ Test Case 7: loopback reconnect test with split ring > vector_rx path and server m 8. Relaunch virtio-user and send packets:: >=20 > ./testpmd -n 4 -l 5-7 --socket-mem 1024,1024 --legacy-mem --no-pci -= -file- > prefix=3Dvirtio \ > - --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost- > net,server=3D1,queues=3D2,mrg_rxbuf=3D0,in_order=3D0 \ > + > + --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost-net,se= rver=3D > + 1,queues=3D2,mrg_rxbuf=3D0,in_order=3D0,vectorized=3D1 \ > -- -i --nb-cores=3D2 --rxq=3D2 --txq=3D2 > >set fwd mac > >start tx_first 32 > @@ -675,7 +671,7 @@ Test Case 11: loopback reconnect test with packed > ring inorder non-mergeable pat 2. Launch virtio-user as server mode with= 2 > queues:: >=20 > ./testpmd -n 4 -l 5-7 --socket-mem 1024,1024 --legacy-mem --no-pci -= -file- > prefix=3Dvirtio \ > - --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost- > net,server=3D1,queues=3D2,packed_vq=3D1,mrg_rxbuf=3D0,in_order=3D1,packed= _vec=3D1 > \ > + > + --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost-net,se= rver=3D > + 1,queues=3D2,packed_vq=3D1,mrg_rxbuf=3D0,in_order=3D1,vectorized=3D1 \ > -- -i --rx-offloads=3D0x10 --enable-hw-vlan-strip --rss-ip --nb-core= s=3D2 --rxq=3D2 > --txq=3D2 > >set fwd mac > >start tx_first 32 > @@ -710,7 +706,7 @@ Test Case 11: loopback reconnect test with packed > ring inorder non-mergeable pat 8. Relaunch virtio-user and send packets:= : >=20 > ./testpmd -n 4 -l 5-7 --socket-mem 1024,1024 --legacy-mem --no-pci -= -file- > prefix=3Dvirtio \ > - --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost- > net,server=3D1,queues=3D2,packed_vq=3D1,mrg_rxbuf=3D0,in_order=3D1,packed= _vec=3D1 > \ > + > + --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost-net,se= rver=3D > + 1,queues=3D2,packed_vq=3D1,mrg_rxbuf=3D0,in_order=3D1,vectorized=3D1 \ > -- -i --rx-offloads=3D0x10 --enable-hw-vlan-strip --rss-ip --nb-core= s=3D2 --rxq=3D2 > --txq=3D2 > >set fwd mac > >start tx_first 32 > @@ -747,7 +743,7 @@ Test Case 12: loopback reconnect test with packed > ring vectorized path and serve 2. Launch virtio-user as server mode with= 2 > queues:: >=20 > ./testpmd -n 4 -l 5-7 --log-level=3Dpmd.net.virtio.driver,8 --no-pci= --file- > prefix=3Dvirtio \ > - --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost- > net,server=3D1,queues=3D2,packed_vq=3D1,mrg_rxbuf=3D0,in_order=3D1,packed= _vec=3D1 > \ > + > + --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost-net,se= rver=3D > + 1,queues=3D2,packed_vq=3D1,mrg_rxbuf=3D0,in_order=3D1,vectorized=3D1 \ > -- -i --tx-offloads=3D0x0 --enable-hw-vlan-strip --rss-ip --nb-cores= =3D2 --rxq=3D2 - > -txq=3D2 > >set fwd mac > >start tx_first 32 > @@ -782,7 +778,7 @@ Test Case 12: loopback reconnect test with packed > ring vectorized path and serve 8. Relaunch virtio-user and send packets:= : >=20 > ./testpmd -n 4 -l 5-7 --socket-mem 1024,1024 --legacy-mem --no-pci -= -file- > prefix=3Dvirtio \ > - --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost- > net,server=3D1,queues=3D2,packed_vq=3D1,mrg_rxbuf=3D0,in_order=3D1,packed= _vec=3D1 > \ > + > + --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost-net,se= rver=3D > + 1,queues=3D2,packed_vq=3D1,mrg_rxbuf=3D0,in_order=3D1,vectorized=3D1 \ > -- -i --tx-offloads=3D0x0 --enable-hw-vlan-strip --rss-ip --nb-cores= =3D2 --rxq=3D2 - > -txq=3D2 > >set fwd mac > >start tx_first 32 > -- > 2.17.1