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 0A820A2EFC for ; Fri, 20 Sep 2019 08:09:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 025E01F2AA; Fri, 20 Sep 2019 08:09:41 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id BB8A61C1E0 for ; Fri, 20 Sep 2019 08:09:39 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Sep 2019 23:09:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,527,1559545200"; d="scan'208";a="189843510" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga003.jf.intel.com with ESMTP; 19 Sep 2019 23:09:38 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 19 Sep 2019 23:09:04 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 19 Sep 2019 23:09:04 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.92]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.235]) with mapi id 14.03.0439.000; Fri, 20 Sep 2019 14:09:02 +0800 From: "Tu, Lijuan" To: "Mo, YufengX" , "dts@dpdk.org" , "Ma, LihongX" Thread-Topic: [dts][PATCH V3 1/2] framework/pktgen_base: fix measure_throughput missed option Thread-Index: AQHVb1mdr6OrXFcbpUCG4h1eJF6BBac0FROw Date: Fri, 20 Sep 2019 06:09:01 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB24A54@SHSMSX101.ccr.corp.intel.com> References: <20190920021903.11770-1-yufengx.mo@intel.com> <20190920021903.11770-2-yufengx.mo@intel.com> In-Reply-To: <20190920021903.11770-2-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjgzZmM4YzctOTFhYy00M2E5LWEzN2EtYmMzMjAxMGQzNjVlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiXC9kZHVBZ0VTc2ZtcnhBK0czMVdMUVRvaUk1dGNiaUFyQXpid2g5Sjc4SDU2b056NHZTbTNmWUM2ejNEVU9jWHIifQ== 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 V3 1/2] framework/pktgen_base: fix measure_throughput missed option 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: Mo, YufengX > Sent: Friday, September 20, 2019 10:19 AM > To: dts@dpdk.org; Ma, LihongX ; Tu, Lijuan > > Cc: Mo, YufengX > Subject: [dts][PATCH V3 1/2] framework/pktgen_base: fix > measure_throughput missed option >=20 > input >=20 > add missing _start_transmission options input in measure_throughput > method. >=20 > Signed-off-by: yufengmx > --- > framework/pktgen_base.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/framework/pktgen_base.py b/framework/pktgen_base.py index > 06ad738..4cb5447 100644 > --- a/framework/pktgen_base.py > +++ b/framework/pktgen_base.py > @@ -170,7 +170,7 @@ class PacketGenerator(object): > bps_rx =3D [] > pps_rx =3D [] > self._prepare_transmission(stream_ids=3Dstream_ids) > - self._start_transmission(stream_ids) > + self._start_transmission(stream_ids, options) >=20 > delay =3D options.get('delay') or 5 > time.sleep(delay) > -- > 2.21.0