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 D120EA04C1; Fri, 22 Nov 2019 09:57:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6C1EA2C30; Fri, 22 Nov 2019 09:57:00 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id D8FED2C28 for ; Fri, 22 Nov 2019 09:56:58 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Nov 2019 00:56:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,229,1571727600"; d="scan'208";a="407513675" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.222]) by fmsmga005.fm.intel.com with ESMTP; 22 Nov 2019 00:56:56 -0800 From: yufengmx To: dts@dpdk.org, yinan.wang@intel.com Cc: yufengmx Date: Fri, 22 Nov 2019 16:58:38 +0800 Message-Id: <20191122085843.97671-1-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V2 0/5] dts/pktgen: measure throughput supports multiple return values and callback 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" v2 Add new demand of pktgen as wang,yinan required. *. add a callback to deal with executing other tools query actions in throughput traffic lasting status. *. rebase source code. v1 As chen zhaoyan new demand of pktgen, add these changes *. add __get_single_throughput_statistic/__get_multi_throughput_statistic methods to realize measure_throughput support return several throughput statistic data in a duration. *. add test method(latency/loss/throughput/rfc2544) options parameter usage comment in pktgen_base module. *. add test method(latency/loss/throughput) delay/duration options new usage definition and relevant process source code in pktgen_base module. *. set delay option to the warm up time before start main traffic. *. set pktgen duration default value to 10 second. *. remove duration option used in trex/ixia module, move duration option in testing scenario methods(latency/loss/throughput) in pktgen_base module. *. remove un-used optons in pktgen.cfg. *. remove un-used parameter in trex/ixia _start_transmission. *. rebase coremask new setting options from next branch. yufengmx (5): conf/pktgen: remove un-used optons doc/dts_gsg/pktgen_prog_guide: update description framework/pktgen_base: measure throughput supports multiple return values framework/pktgen_ixia: measure throughput supports multiple return values framework/pktgen_trex: measure throughput supports multiple return values conf/pktgen.cfg | 18 ++-- doc/dts_gsg/pktgen_prog_guide.rst | 49 ++++++--- framework/pktgen_base.py | 162 +++++++++++++++++++++++++++--- framework/pktgen_ixia.py | 30 ++---- framework/pktgen_trex.py | 63 ++++-------- 5 files changed, 224 insertions(+), 98 deletions(-) -- 2.21.0