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 E6D50A0352; Wed, 6 May 2020 05:26:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DDB471D6CB; Wed, 6 May 2020 05:26:17 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 290A01C06D for ; Wed, 6 May 2020 05:26:15 +0200 (CEST) IronPort-SDR: rMpe3Mw1JjSI0rxkZADHXOdOluq+g/T1FtfTzik+Vap+QWCiamLqZlAlEsmHXjB3KyiRzdKGl6 b0o4gNBa2f4g== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2020 20:26:14 -0700 IronPort-SDR: gbeurP8/1M5W2BRh/bKaAMvCdN7kYfQgZvE/Q5dZOdxXTTw9BjyNmNMIYosJhdauQK/IM1K48X 6oVl+IVVnSLw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,357,1583222400"; d="scan'208";a="263405770" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga006.jf.intel.com with ESMTP; 05 May 2020 20:26:13 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 May 2020 20:26:12 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 May 2020 20:26:11 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.225]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.200]) with mapi id 14.03.0439.000; Wed, 6 May 2020 11:26:03 +0800 From: "Tu, Lijuan" To: "Wang, Yinan" , "dts@dpdk.org" CC: "Wang, Yinan" Thread-Topic: [dts] [PATCH v1] tests: update test commonds for vectorized cases in TestSuite_loopback_multi_queues.py Thread-Index: AQHWHq/NunJMbp+pPk2vWkVw4pa9dqiabsDw Date: Wed, 6 May 2020 03:26:02 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC21F9A@SHSMSX101.ccr.corp.intel.com> References: <20200429221921.28021-1-yinan.wang@intel.com> In-Reply-To: <20200429221921.28021-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] tests: update test commonds for vectorized cases in TestSuite_loopback_multi_queues.py 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:19 AM > To: dts@dpdk.org > Cc: Wang, Yinan > Subject: [dts] [PATCH v1] tests: update test commonds for vectorized case= s in > TestSuite_loopback_multi_queues.py >=20 > From: Wang Yinan >=20 > Signed-off-by: Wang Yinan > --- > tests/TestSuite_loopback_multi_queues.py | 28 +++++++++++++++++++----- > 1 file changed, 23 insertions(+), 5 deletions(-) >=20 > diff --git a/tests/TestSuite_loopback_multi_queues.py > b/tests/TestSuite_loopback_multi_queues.py > index 174ce01..029c1f0 100644 > --- a/tests/TestSuite_loopback_multi_queues.py > +++ b/tests/TestSuite_loopback_multi_queues.py > @@ -48,7 +48,7 @@ class TestLoopbackMultiQueues(TestCase): > """ > Run at the start of each test suite. > """ > - self.frame_sizes =3D [64, 128, 256, 512, 1024, 1518] > + self.frame_sizes =3D [64, 1518] > self.verify_queue =3D [1, 8] > self.dut_ports =3D self.dut.get_ports() > port_socket =3D self.dut.get_numa_id(self.dut_ports[0]) > @@ -283,7 +283,7 @@ class TestLoopbackMultiQueues(TestCase): > """ > performance for Vhost PVP Normal Path. > """ > - virtio_pmd_arg =3D {"version": "packed_vq=3D0,in_order=3D0,mrg_r= xbuf=3D0", > + virtio_pmd_arg =3D {"version": > "packed_vq=3D0,in_order=3D0,mrg_rxbuf=3D0,vectorized=3D1", > "path": "--enable-hw-vlan-strip"} > for i in self.verify_queue: > self.nb_cores =3D i > @@ -301,7 +301,7 @@ class TestLoopbackMultiQueues(TestCase): > """ > performance for Vhost PVP Vector_RX Path > """ > - virtio_pmd_arg =3D {"version": "packed_vq=3D0,in_order=3D0,mrg_r= xbuf=3D0", > + virtio_pmd_arg =3D {"version": > "packed_vq=3D0,in_order=3D0,mrg_rxbuf=3D0,vectorized=3D1", > "path": ""} > for i in self.verify_queue: > self.nb_cores =3D i > @@ -337,8 +337,26 @@ class TestLoopbackMultiQueues(TestCase): > """ > performance for Vhost PVP Vector_RX Path > """ > - virtio_pmd_arg =3D {"version": "packed_vq=3D1,mrg_rxbuf=3D0,in_o= rder=3D1", > - "path": ""} > + virtio_pmd_arg =3D {"version": > "packed_vq=3D1,mrg_rxbuf=3D0,in_order=3D1,vectorized=3D1", > + "path": "--rx-offloads=3D0x10 --enable-hw-vl= an-strip "} > + for i in self.verify_queue: > + self.nb_cores =3D i > + self.queue_number =3D i > + self.get_core_mask() > + self.start_vhost_testpmd() > + self.start_virtio_testpmd(virtio_pmd_arg) > + self.send_and_verify("virtio 1.1 inorder non-mergeable") > + self.close_all_testpmd() > + > + self.result_table_print() > + self.verify_liner_for_multi_queue() > + > + def test_loopback_with_virtio11_vectorized_path_multi_queue(self): > + """ > + performance for Vhost PVP Vector_RX Path > + """ > + virtio_pmd_arg =3D {"version": > "packed_vq=3D1,mrg_rxbuf=3D0,in_order=3D1,vectorized=3D1", > + "path": "--enable-hw-vlan-strip "} > for i in self.verify_queue: > self.nb_cores =3D i > self.queue_number =3D i > -- > 2.17.1