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 668B4A00E6 for ; Wed, 7 Aug 2019 05:42:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 601164C8F; Wed, 7 Aug 2019 05:42:40 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 784AE2E8F for ; Wed, 7 Aug 2019 05:42:38 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 20:42:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,356,1559545200"; d="scan'208";a="165187809" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga007.jf.intel.com with ESMTP; 06 Aug 2019 20:42:37 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 20:42:37 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.65]) with mapi id 14.03.0439.000; Wed, 7 Aug 2019 11:42:34 +0800 From: "Tu, Lijuan" To: "Ma, LihongX" , "dts@dpdk.org" CC: "Ma, LihongX" Thread-Topic: [dts] [PATCH V1] tests/pvp_qemu_multi_paths_port_restart: add test case about port restart 100 times Thread-Index: AQHVO3nr4ZjOFx8NRU+jjoxk+ZUekabvLU8Q Date: Wed, 7 Aug 2019 03:42:34 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFECA6@SHSMSX101.ccr.corp.intel.com> References: <1563215719-14564-1-git-send-email-lihongx.ma@intel.com> In-Reply-To: <1563215719-14564-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOWVmMGU0MjMtYTE0ZC00NGY4LWJiMzMtNjIxNWRhZTM0MDkyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiN0xtc0FSRFdOb0IrREtYN0hKakYxY1lqTzZVbGRcL2hNc0c2YldiU1NDRElsd1wvdkxFMG03Q1Jac1I5Unp6NnVkIn0= 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/pvp_qemu_multi_paths_port_restart: add test case about port restart 100 times 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: Tuesday, July 16, 2019 2:35 AM > To: dts@dpdk.org > Cc: Ma, LihongX > Subject: [dts] [PATCH V1] tests/pvp_qemu_multi_paths_port_restart: add > test case about port restart 100 times >=20 > Signed-off-by: lihong > --- > .../TestSuite_pvp_qemu_multi_paths_port_restart.py | 21 > +++++++++++++++++++++ > 1 file changed, 21 insertions(+) >=20 > diff --git a/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py > b/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py > index 38380ed..81328e0 100644 > --- a/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py > +++ b/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py > @@ -311,6 +311,27 @@ class TestPVPQemuMultiPathPortRestart(TestCase): > self.result_table_print() > self.vm.stop() >=20 > + def > test_perf_pvp_qemu_modern_mergeable_mac_restart_100_times(self): > + """ > + restart port 100 times on virtio1.0 mergeable path > + """ > + self.start_vhost_testpmd() > + self.start_one_vm(modem=3D1, mergeable=3D1) > + self.start_vm_testpmd(path=3D"mergeable") > + > + case_info =3D "virtio1.0 mergeable" > + Mpps, throughput =3D self.calculate_avg_throughput(64) > + self.update_table_info(case_info, 64, Mpps, throughput, "Before > Restart") > + for cycle in range(100): > + self.logger.info('now port restart %d times' % (cycle+1)) > + self.port_restart() > + Mpps, throughput =3D self.calculate_avg_throughput(64) > + self.update_table_info(case_info, 64, Mpps, throughput, "Aft= er port > restart") > + > + self.close_all_testpmd() > + self.result_table_print() > + self.vm.stop() > + > def tear_down(self): > """ > Run after each test case. > -- > 2.7.4