From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id D0735A046B for ; Wed, 26 Jun 2019 10:10:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AD4384CAF; Wed, 26 Jun 2019 10:10:00 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 7EAEAA3 for ; Wed, 26 Jun 2019 10:09:59 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jun 2019 01:09:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,419,1557212400"; d="scan'208";a="360667423" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga006.fm.intel.com with ESMTP; 26 Jun 2019 01:09:58 -0700 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 26 Jun 2019 01:09:58 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 26 Jun 2019 01:09:58 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.87]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.173]) with mapi id 14.03.0439.000; Wed, 26 Jun 2019 16:09:56 +0800 From: "Tu, Lijuan" To: "Zhao, MeijuanX" , "dts@dpdk.org" CC: "Zhao, MeijuanX" Thread-Topic: [dts] [PATCH V1] tests/tso :fix syntax issue Thread-Index: AQHVKy4IN2/oaBw45kysNsu612uTFaatlqxQ Date: Wed, 26 Jun 2019 08:09:55 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAC51C9@SHSMSX101.ccr.corp.intel.com> References: <20190625161500.88431-1-meijuanx.zhao@intel.com> In-Reply-To: <20190625161500.88431-1-meijuanx.zhao@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.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzlhNTdjMTgtNzNmNC00YTUxLTgwY2QtNjY4NjhjMmVmY2YzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZ1o3T2hQc05aRnVFM05DWjN2aFZNMnlPaVNPMHptSUV1QlVnTVRUY2E2a0RuTDJRQWJhUFREV1c2UGxZaFVTQiJ9 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/tso :fix syntax issue 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 zhaomeijuan > Sent: Wednesday, June 26, 2019 12:15 AM > To: dts@dpdk.org > Cc: Zhao, MeijuanX > Subject: [dts] [PATCH V1] tests/tso :fix syntax issue >=20 > Signed-off-by: zhaomeijuan > --- > tests/TestSuite_tso.py | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) >=20 > diff --git a/tests/TestSuite_tso.py b/tests/TestSuite_tso.py index > fd4879d..34294cc 100644 > --- a/tests/TestSuite_tso.py > +++ b/tests/TestSuite_tso.py > @@ -360,7 +360,6 @@ class TestTSO(TestCase): > queues =3D 1 >=20 > command_line =3D "./%s/app/testpmd -c %s -n %d %s -- -i --rx= d=3D512 -- > txd=3D512 --burst=3D32 --rxfreet=3D64 --mbcache=3D128 --portmask=3D%s --t= xpt=3D36 -- > txht=3D0 --txwt=3D0 --txfreet=3D32 --txrst=3D32 " % (self.target, self.co= reMask, > self.dut.get_memory_channels(), self.blacklist, self.portMask) > ->>>>>>> next > info =3D "Executing PMD using %s\n" % test_cycle['cores'] > self.logger.info(info) > self.rst_report(info, annex=3DTrue) @@ -409,8 +408,8 @@ clas= s > TestTSO(TestCase): > _, pps =3D > self.tester.pktgen.measure_throughput(stream_ids=3Dstreams) >=20 > pps /=3D 1000000.0 > - test_cycle['Mpps'][frame_size] =3D pps > - test_cycle['pct'][frame_size] =3D pps * 100 / wirespeed > + test_cycle['Mpps'][loading_size] =3D pps > + test_cycle['pct'][loading_size] =3D pps * 100 / wirespee= d >=20 > self.dut.send_expect("stop", "testpmd> ") > self.dut.send_expect("quit", "# ", 30) > -- > 2.17.1