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 0A5B6A0613 for ; Wed, 28 Aug 2019 08:52:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C0EE41C1FA; Wed, 28 Aug 2019 08:52:40 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 565C31C1F7 for ; Wed, 28 Aug 2019 08:52:39 +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 orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Aug 2019 23:52:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,440,1559545200"; d="scan'208";a="192491716" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga002.jf.intel.com with ESMTP; 27 Aug 2019 23:52:38 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 27 Aug 2019 23:52:37 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 27 Aug 2019 23:52:37 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.249]) with mapi id 14.03.0439.000; Wed, 28 Aug 2019 14:52:36 +0800 From: "Ma, LihongX" To: "Mo, YufengX" , "dts@dpdk.org" CC: "Mo, YufengX" Thread-Topic: [dts] [PATCH V2 1/2] framework/pktgen_base: fix measure_throughput missed option Thread-Index: AQHVTbGuH0vjHATQe0aGBP9fwHu9X6cQPpjg Date: Wed, 28 Aug 2019 06:52:35 +0000 Message-ID: References: <1565245370-83258-1-git-send-email-yufengx.mo@intel.com> <1565245370-83258-2-git-send-email-yufengx.mo@intel.com> In-Reply-To: <1565245370-83258-2-git-send-email-yufengx.mo@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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 V2 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" tested-by: lihong -----Original Message----- From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yufengmx Sent: Thursday, August 8, 2019 2:23 PM To: dts@dpdk.org Cc: Mo, YufengX Subject: [dts] [PATCH V2 1/2] framework/pktgen_base: fix measure_throughput= missed option input add missing _start_transmission options input in measure_throughput method. Signed-off-by: yufengmx --- framework/pktgen_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/pktgen_base.py b/framework/pktgen_base.py index e9d3= fcb..85b54cf 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) -- 1.9.3