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 CC21DA00E6 for ; Thu, 8 Aug 2019 08:21:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 372A82904; Thu, 8 Aug 2019 08:21:59 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id CA566F04 for ; Thu, 8 Aug 2019 08:21:57 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Aug 2019 23:21:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,360,1559545200"; d="scan'208";a="174751593" Received: from dpdk-moyufen01.sh.intel.com ([10.67.111.77]) by fmsmga008.fm.intel.com with ESMTP; 07 Aug 2019 23:21:56 -0700 From: yufengmx To: dts@dpdk.org Cc: yufengmx Date: Thu, 8 Aug 2019 14:22:49 +0800 Message-Id: <1565245370-83258-2-git-send-email-yufengx.mo@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1565245370-83258-1-git-send-email-yufengx.mo@intel.com> References: <1565245370-83258-1-git-send-email-yufengx.mo@intel.com> Subject: [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" 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 e9d3fcb..85b54cf 100644 --- a/framework/pktgen_base.py +++ b/framework/pktgen_base.py @@ -170,7 +170,7 @@ class PacketGenerator(object): bps_rx = [] pps_rx = [] self._prepare_transmission(stream_ids=stream_ids) - self._start_transmission(stream_ids) + self._start_transmission(stream_ids, options) delay = options.get('delay') or 5 time.sleep(delay) -- 1.9.3