From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 4A11CA046B for ; Tue, 25 Jun 2019 10:14:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E67E01BBE1; Tue, 25 Jun 2019 10:14:23 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id B0BCF1BBDB for ; Tue, 25 Jun 2019 10:14:22 +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 fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jun 2019 01:14:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,415,1557212400"; d="scan'208";a="161855745" Received: from meijuan2.sh.intel.com ([10.67.119.150]) by fmsmga008.fm.intel.com with ESMTP; 25 Jun 2019 01:14:20 -0700 From: zhaomeijuan To: dts@dpdk.org Cc: zhaomeijuan Date: Tue, 25 Jun 2019 16:15:00 +0000 Message-Id: <20190625161500.88431-1-meijuanx.zhao@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/tso :fix syntax issue 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" Signed-off-by: zhaomeijuan --- tests/TestSuite_tso.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_tso.py b/tests/TestSuite_tso.py index fd4879d..34294cc 100644 --- a/tests/TestSuite_tso.py +++ b/tests/TestSuite_tso.py @@ -360,7 +360,6 @@ class TestTSO(TestCase): queues = 1 command_line = "./%s/app/testpmd -c %s -n %d %s -- -i --rxd=512 --txd=512 --burst=32 --rxfreet=64 --mbcache=128 --portmask=%s --txpt=36 --txht=0 --txwt=0 --txfreet=32 --txrst=32 " % (self.target, self.coreMask, self.dut.get_memory_channels(), self.blacklist, self.portMask) ->>>>>>> next info = "Executing PMD using %s\n" % test_cycle['cores'] self.logger.info(info) self.rst_report(info, annex=True) @@ -409,8 +408,8 @@ class TestTSO(TestCase): _, pps = self.tester.pktgen.measure_throughput(stream_ids=streams) pps /= 1000000.0 - test_cycle['Mpps'][frame_size] = pps - test_cycle['pct'][frame_size] = pps * 100 / wirespeed + test_cycle['Mpps'][loading_size] = pps + test_cycle['pct'][loading_size] = pps * 100 / wirespeed self.dut.send_expect("stop", "testpmd> ") self.dut.send_expect("quit", "# ", 30) -- 2.17.1