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 D4C42A00E6 for ; Thu, 8 Aug 2019 07:45:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9CCFE2082; Thu, 8 Aug 2019 07:45:31 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 6E30EF04 for ; Thu, 8 Aug 2019 07:45:30 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Aug 2019 22:45:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,360,1559545200"; d="scan'208";a="186242034" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga002.jf.intel.com with ESMTP; 07 Aug 2019 22:45:29 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 7 Aug 2019 22:45:29 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 7 Aug 2019 22:45:29 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.250]) with mapi id 14.03.0439.000; Thu, 8 Aug 2019 13:45:27 +0800 From: "Tu, Lijuan" To: "Mo, YufengX" , "dts@dpdk.org" CC: "Mo, YufengX" Thread-Topic: [dts] [PATCH V1][next]tests/nic_single_core_perf: update pktgen input parameter Thread-Index: AQHVTC0PUkq69654WkCCvK5XJmfFxabwwI6A Date: Thu, 8 Aug 2019 05:45:25 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFF622@SHSMSX101.ccr.corp.intel.com> References: <1565078464-4870-1-git-send-email-yufengx.mo@intel.com> <1565078464-4870-2-git-send-email-yufengx.mo@intel.com> In-Reply-To: <1565078464-4870-2-git-send-email-yufengx.mo@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmNiMzVmZjQtZjczMi00MWE2LTgwOTQtY2I0MDJjMDdkYWJiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibkdEVDZPajJUTDg4U2xzbTBUUjNkd2s5QW9cL3ZEbFpnV3Nobnl2Vnh0WGdYZG03dERaWkU2OGJPVlVjZklyVDQifQ== 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][next]tests/nic_single_core_perf: update pktgen input parameter 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 yufengmx > Sent: Tuesday, August 6, 2019 4:01 PM > To: dts@dpdk.org > Cc: Mo, YufengX > Subject: [dts] [PATCH V1][next]tests/nic_single_core_perf: update pktgen > input parameter >=20 >=20 > *. update suite nic_single_core_perf with new pktgen measure_throughput > input parameter definition. > *. fix typo. >=20 > Signed-off-by: yufengmx > --- > tests/TestSuite_nic_single_core_perf.py | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/tests/TestSuite_nic_single_core_perf.py > b/tests/TestSuite_nic_single_core_perf.py > index 5b815f4..ca09c72 100644 > --- a/tests/TestSuite_nic_single_core_perf.py > +++ b/tests/TestSuite_nic_single_core_perf.py > @@ -101,7 +101,7 @@ class TestNicSingleCorePerf(TestCase): > self.expected_throughput =3D self.get_suite_cfg()[ > 'expected_throughput'][self.nic] >=20 > - # initilize throughput attribution > + # initialize throughput attribution > # {'$framesize':{"$nb_desc": 'throughput'} > self.throughput =3D {} >=20 > @@ -182,7 +182,7 @@ class TestNicSingleCorePerf(TestCase): >=20 > # measure throughput > stream_ids =3D self.prepare_stream(frame_size) > - traffic_opt =3D {'delay': self.test_duration} > + traffic_opt =3D {'duration': self.test_duration} > _, packets_received =3D self.tester.pktgen.measure_throu= ghput( > stream_ids, traffic_opt) > throughput =3D packets_received / 1000000.0 @@ -193,7 +1= 93,7 @@ > class TestNicSingleCorePerf(TestCase): >=20 > self.verify(throughput, > "No traffic detected, please check your configuratio= n") > - self.logger.info("Trouthput of " + > + self.logger.info("Throughput of " + > "framesize: {}, rxd/txd: {} is :{} Mpps".format( > frame_size, nb_desc, throughput)) >=20 > -- > 1.9.3