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 759A6A00E6 for ; Tue, 6 Aug 2019 10:00:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 68A3E1BDED; Tue, 6 Aug 2019 10:00:16 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id EBCBA1B9D6 for ; Tue, 6 Aug 2019 10:00:12 +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 fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 01:00:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,352,1559545200"; d="scan'208";a="176558016" Received: from dpdk-moyufen01.sh.intel.com ([10.67.111.77]) by orsmga003.jf.intel.com with ESMTP; 06 Aug 2019 01:00:11 -0700 From: yufengmx To: dts@dpdk.org Cc: yufengmx Date: Tue, 6 Aug 2019 16:01:04 +0800 Message-Id: <1565078464-4870-2-git-send-email-yufengx.mo@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1565078464-4870-1-git-send-email-yufengx.mo@intel.com> References: <1565078464-4870-1-git-send-email-yufengx.mo@intel.com> Subject: [dts] [PATCH V1][next]tests/nic_single_core_perf: update pktgen input parameter 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" *. update suite nic_single_core_perf with new pktgen measure_throughput input parameter definition. *. fix typo. Signed-off-by: yufengmx --- tests/TestSuite_nic_single_core_perf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_nic_single_core_perf.py b/tests/TestSuite_nic_single_core_perf.py index 5b815f4..ca09c72 100644 --- a/tests/TestSuite_nic_single_core_perf.py +++ b/tests/TestSuite_nic_single_core_perf.py @@ -101,7 +101,7 @@ class TestNicSingleCorePerf(TestCase): self.expected_throughput = self.get_suite_cfg()[ 'expected_throughput'][self.nic] - # initilize throughput attribution + # initialize throughput attribution # {'$framesize':{"$nb_desc": 'throughput'} self.throughput = {} @@ -182,7 +182,7 @@ class TestNicSingleCorePerf(TestCase): # measure throughput stream_ids = self.prepare_stream(frame_size) - traffic_opt = {'delay': self.test_duration} + traffic_opt = {'duration': self.test_duration} _, packets_received = self.tester.pktgen.measure_throughput( stream_ids, traffic_opt) throughput = packets_received / 1000000.0 @@ -193,7 +193,7 @@ class TestNicSingleCorePerf(TestCase): self.verify(throughput, "No traffic detected, please check your configuration") - self.logger.info("Trouthput of " + + self.logger.info("Throughput of " + "framesize: {}, rxd/txd: {} is :{} Mpps".format( frame_size, nb_desc, throughput)) -- 1.9.3