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 2D13AA00E6 for ; Wed, 7 Aug 2019 05:02:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1B27B4CA9; Wed, 7 Aug 2019 05:02:11 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id A4C8D4C9F for ; Wed, 7 Aug 2019 05:02:09 +0200 (CEST) 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/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 20:02:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,353,1559545200"; d="scan'208";a="168488952" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga008.jf.intel.com with ESMTP; 06 Aug 2019 20:02:08 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 20:02:07 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 20:02:07 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.139]) with mapi id 14.03.0439.000; Wed, 7 Aug 2019 11:02:05 +0800 From: "Tu, Lijuan" To: "Ma, LihongX" , "dts@dpdk.org" CC: "Ma, LihongX" Thread-Topic: [dts] [PATCH V1] tests/loopback_multi_paths_port_restart: update according to plan Thread-Index: AQHVOI8qQSmlQAeEZEKL5+zqUMFQLqbvJ9Vg Date: Wed, 7 Aug 2019 03:02:04 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFEB51@SHSMSX101.ccr.corp.intel.com> References: <1562894993-15581-1-git-send-email-lihongx.ma@intel.com> In-Reply-To: <1562894993-15581-1-git-send-email-lihongx.ma@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-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzkwYWFiODItNTI3Mi00M2Y2LThlY2MtN2QwMzc1MTdlYTkyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiOFhQb0xtbFRPTE9VNnpoMlN1MFRZYndKNHFNZVlSbnlkb2ZPQVV3QTU2QXZnaitaUENZMHRuUXB2MEgreEJlaSJ9 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/loopback_multi_paths_port_restart: update according to 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 lihong > Sent: Friday, July 12, 2019 9:30 AM > To: dts@dpdk.org > Cc: Ma, LihongX > Subject: [dts] [PATCH V1] tests/loopback_multi_paths_port_restart: update > according to plan >=20 > 1. remove testcase of virtio1.1 inorder path 2. add command 'set burst 1' > when vhost port restart 3. modify prefix of testcase from test_perf to te= st >=20 > Signed-off-by: lihong > --- > .../TestSuite_loopback_multi_paths_port_restart.py | 39 ++++++++--------= ----- > - > 1 file changed, 13 insertions(+), 26 deletions(-) >=20 > diff --git a/tests/TestSuite_loopback_multi_paths_port_restart.py > b/tests/TestSuite_loopback_multi_paths_port_restart.py > index 797be95..b1bd32f 100644 > --- a/tests/TestSuite_loopback_multi_paths_port_restart.py > +++ b/tests/TestSuite_loopback_multi_paths_port_restart.py > @@ -33,10 +33,9 @@ >=20 > """ > DPDK Test suite. > -Benchmark Vhost loopback for 8 RX/TX PATHs. > +Benchmark Vhost loopback for 7 RX/TX PATHs. > Includes Mergeable, Normal, Vector_RX,Inorder_mergeable, - > Inorder_no_mergeable, VIRTIO1.1_mergeable, VIRTIO1.1_normal Path, - > VIRTIO1.1_inorder_normal Path. > +Inorder_no_mergeable, VIRTIO1.1_mergeable, VIRTIO1.1_normal Path. > """ > import utils > import time > @@ -144,7 +143,8 @@ class TestLoopbackPortRestart(TestCase): > self.vhost.send_expect("clear port stats all", "testpmd> ", 120) > self.vhost.send_expect("port start all", "testpmd> ", 120) > self.check_port_link_status_after_port_restart() > - self.vhost.send_expect("start tx_first 32", "testpmd> ", 120) > + self.vhost.send_expect("set burst 1", "testpmd> ", 120) > + self.vhost.send_expect("start tx_first 1", "testpmd> ", 120) >=20 > def update_table_info(self, case_info, frame_size, Mpps, Cycle): > results_row =3D [frame_size] > @@ -180,7 +180,7 @@ class TestLoopbackPortRestart(TestCase): >=20 > self.port_restart() > Mpps =3D self.calculate_avg_throughput() > - self.update_table_info(case_info, frame_size, Mpps, "After Resta= rt") > + self.update_table_info(case_info, frame_size, Mpps, "After > + Restart and set burst to 1") >=20 > def close_all_testpmd(self): > """ > @@ -196,7 +196,7 @@ class TestLoopbackPortRestart(TestCase): > self.dut.close_session(self.vhost) > self.dut.close_session(self.virtio_user) >=20 > - def test_perf_vhost_loopback_virtio11_mergeable_mac(self): > + def test_vhost_loopback_virtio11_mergeable_mac(self): > """ > performance for [frame_sizes] and restart port on virtio1.1 merg= eable > path > """ > @@ -209,7 +209,7 @@ class TestLoopbackPortRestart(TestCase): > self.close_all_testpmd() > self.result_table_print() >=20 > - def test_perf_vhost_loopback_virtio11_normal_mac(self): > + def test_vhost_loopback_virtio11_normal_mac(self): > """ > performance for [frame_sizes] and restart port ob virtio1.1 norm= al path > """ > @@ -222,20 +222,7 @@ class TestLoopbackPortRestart(TestCase): > self.close_all_testpmd() > self.result_table_print() >=20 > - def test_perf_vhost_loopback_virtio11_inorder_mac(self): > - """ > - performance for [frame_sizes] and restart port on virtio1.1 inor= der > path > - """ > - pmd_arg =3D {"version": "packed_vq=3D1,in_order=3D1,mrg_rxbuf=3D= 0 ", > - "path": "--tx-offloads=3D0x0 --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("virtio1.1 inorder", frame_size) > - self.close_all_testpmd() > - self.result_table_print() > - > - def test_perf_vhost_loopback_virtiouser_inorder_mergeable_mac(self): > + def test_vhost_loopback_virtiouser_inorder_mergeable_mac(self): > """ > performance for [frame_sizes] and restart port on inorder mergea= ble > path > """ > @@ -248,7 +235,7 @@ class TestLoopbackPortRestart(TestCase): > self.close_all_testpmd() > self.result_table_print() >=20 > - def > test_perf_vhost_loopback_virtiouser_inorder_mergeable_off_mac(self): > + def test_vhost_loopback_virtiouser_inorder_mergeable_off_mac(self): > """ > performance for [frame_sizes] and restart port on inorder normal= path > """ > @@ -261,7 +248,7 @@ class TestLoopbackPortRestart(TestCase): > self.close_all_testpmd() > self.result_table_print() >=20 > - def test_perf_vhost_loopback_virtiouser_mergeable_mac(self): > + def test_vhost_loopback_virtiouser_mergeable_mac(self): > """ > performance for [frame_sizes] and restart port on virtio mergeab= le > path > """ > @@ -274,7 +261,7 @@ class TestLoopbackPortRestart(TestCase): > self.close_all_testpmd() > self.result_table_print() >=20 > - def test_perf_vhost_loopback_virtiouser_normal_mac(self): > + def test_vhost_loopback_virtiouser_normal_mac(self): > """ > performance for [frame_sizes] and restart port on virtio normal = path > """ > @@ -287,12 +274,12 @@ class TestLoopbackPortRestart(TestCase): > self.close_all_testpmd() > self.result_table_print() >=20 > - def test_perf_vhost_loopback_virtiouser_vector_rx_mac(self): > + def test_vhost_loopback_virtiouser_vector_rx_mac(self): > """ > 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": "--tx-offloads=3D0x0 "} > + "path": ""} > for frame_size in self.frame_sizes: > self.start_vhost_testpmd() > self.start_virtio_user_testpmd(pmd_arg) > -- > 2.7.4