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 9EF1CA0352; Wed, 6 May 2020 05:14:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 96E111D670; Wed, 6 May 2020 05:14:59 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 1780A1D5E5 for ; Wed, 6 May 2020 05:14:57 +0200 (CEST) IronPort-SDR: 1FS5Cn8QBUjb7qtlIUKYNfctp3e4Wp2wbPI67gftBtIMAVmVe5UshLN9+cNPlx4Wv0xca6QLqx 2m999P7qkqyA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2020 20:14:57 -0700 IronPort-SDR: HQCYT2qLVCskMs4pFNdCgNKo7u9h0iZs08TeZUyRcNSdggaE8T+IztgKc0PPTE3liq0E/jrRhX /MoY0udyoaeA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,357,1583222400"; d="scan'208";a="296045551" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga008.jf.intel.com with ESMTP; 05 May 2020 20:14:57 -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:14:56 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) 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:14:56 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.225]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.95]) with mapi id 14.03.0439.000; Wed, 6 May 2020 11:14:54 +0800 From: "Tu, Lijuan" To: "Wang, Yinan" , "dts@dpdk.org" CC: "Wang, Yinan" Thread-Topic: [dts] [PATCH v1] tests: update case due to virtio path selection logic change in TestSuite_loopback_multi_paths_port_restart.py Thread-Index: AQHWHcrFOwAE+kHDMkOPBsH+8lv3GqiabWsg Date: Wed, 6 May 2020 03:14:53 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC21DC7@SHSMSX101.ccr.corp.intel.com> References: <20200428185946.72742-1-yinan.wang@intel.com> In-Reply-To: <20200428185946.72742-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 case due to virtio path selection logic change in TestSuite_loopback_multi_paths_port_restart.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: Wednesday, April 29, 2020 3:00 AM > To: dts@dpdk.org > Cc: Wang, Yinan > Subject: [dts] [PATCH v1] tests: update case due to virtio path selection= logic > change in TestSuite_loopback_multi_paths_port_restart.py >=20 > From: Wang Yinan >=20 > Signed-off-by: Wang Yinan > --- > ...Suite_loopback_multi_paths_port_restart.py | 23 +++++++++++++++---- > 1 file changed, 18 insertions(+), 5 deletions(-) >=20 > diff --git a/tests/TestSuite_loopback_multi_paths_port_restart.py > b/tests/TestSuite_loopback_multi_paths_port_restart.py > index 5f1faad..8d23196 100644 > --- a/tests/TestSuite_loopback_multi_paths_port_restart.py > +++ b/tests/TestSuite_loopback_multi_paths_port_restart.py > @@ -49,7 +49,7 @@ class TestLoopbackPortRestart(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.core_config =3D "1S/5C/1T" > self.dut_ports =3D self.dut.get_ports() > self.ports_socket =3D self.dut.get_numa_id(self.dut_ports[0]) > @@ -230,7 +230,20 @@ class TestLoopbackPortRestart(TestCase): > """ > performance for [frame_sizes] and restart port on inorder mergea= ble > path > """ > - pmd_arg =3D {"version": "packed_vq=3D1,mrg_rxbuf=3D0,in_order=3D= 1", > + pmd_arg =3D {"version": > "packed_vq=3D1,mrg_rxbuf=3D0,in_order=3D1,vectorized=3D1", > + "path": "--rx-offloads=3D0x10 --enable-hw-vlan= -strip"} > + for frame_size in self.frame_sizes: > + self.start_vhost_testpmd() > + self.start_virtio_user_testpmd(pmd_arg) > + self.send_and_verify("packed ring inorder non-mergeable", > frame_size) > + self.close_all_testpmd() > + self.result_table_print() > + > + def test_lookback_test_with_packed_ring_vectorized_path(self): > + """ > + performance for [frame_sizes] and restart port on inorder mergea= ble > path > + """ > + pmd_arg =3D {"version": > "packed_vq=3D1,mrg_rxbuf=3D0,in_order=3D1,vectorized=3D1", > "path": "--tx-offloads=3D0x0 --enable-hw-vlan-= strip"} > for frame_size in self.frame_sizes: > self.start_vhost_testpmd() > @@ -282,7 +295,7 @@ class TestLoopbackPortRestart(TestCase): > """ > performance for [frame_sizes] and restart port on virtio normal = path > """ > - pmd_arg =3D {"version": "packed_vq=3D0,in_order=3D0,mrg_rxbuf=3D= 0", > + pmd_arg =3D {"version": > "packed_vq=3D0,in_order=3D0,mrg_rxbuf=3D0,vectorized=3D1", > "path": "--tx-offloads=3D0x0 --enable-hw-vlan-= strip "} > for frame_size in self.frame_sizes: > self.start_vhost_testpmd() > @@ -295,8 +308,8 @@ class TestLoopbackPortRestart(TestCase): > """ > performance for frame_sizes and restart port on virtio vector rx > """ > - pmd_arg =3D {"version": "packed_vq=3D0,in_order=3D0,mrg_rxbuf=3D= 0 ", > - "path": ""} > + pmd_arg =3D {"version": > "packed_vq=3D0,in_order=3D0,mrg_rxbuf=3D0,vectorized=3D1", > + "path": "--tx-offloads=3D0x0 "} > for frame_size in self.frame_sizes: > self.start_vhost_testpmd() > self.start_virtio_user_testpmd(pmd_arg) > -- > 2.17.1