From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 7FA3D1B958 for ; Fri, 11 Jan 2019 02:00:32 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jan 2019 17:00:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,463,1539673200"; d="scan'208";a="113820421" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga007.fm.intel.com with ESMTP; 10 Jan 2019 17:00:31 -0800 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 10 Jan 2019 17:00:31 -0800 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 10 Jan 2019 17:00:30 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.196]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.46]) with mapi id 14.03.0415.000; Fri, 11 Jan 2019 09:00:28 +0800 From: "Tu, Lijuan" To: "Peng, Yuan" , "dts@dpdk.org" CC: "Peng, Yuan" Thread-Topic: [dts] [PATCH] tests: correct spelling errors Thread-Index: AQHUqAH0BpwjmZsAU0OTk7bsrNxevaWpQgNA Date: Fri, 11 Jan 2019 01:00:27 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0B9FFCB9@SHSMSX101.ccr.corp.intel.com> References: <1547028131-22824-1-git-send-email-yuan.peng@intel.com> In-Reply-To: <1547028131-22824-1-git-send-email-yuan.peng@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZGY0MDMwNDItZTcxNS00YWU1LTk0MDYtNWQwMzllZDQ2Y2IyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiS0J2UjRaZDhuWXVUN3FIQnlPNG9EZHBDN213UGNHYjVcL3gzbER4QlRqQ2p6NHBNUW9jakJhYVlXOWtZWkd4NFMifQ== 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] tests: correct spelling errors 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: , X-List-Received-Date: Fri, 11 Jan 2019 01:00:33 -0000 Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Peng Yuan > Sent: Wednesday, January 9, 2019 6:02 PM > To: dts@dpdk.org > Cc: Peng, Yuan > Subject: [dts] [PATCH] tests: correct spelling errors >=20 > Correct spelling errors of TestSuite_vmdq.py. >=20 > Signed-off-by: Peng Yuan >=20 > diff --git a/tests/TestSuite_vmdq.py b/tests/TestSuite_vmdq.py index > 10cb8e6..796a214 100644 > --- a/tests/TestSuite_vmdq.py > +++ b/tests/TestSuite_vmdq.py > @@ -6,7 +6,6 @@ DPDK Test suite. > Tests for vmdq. >=20 > """ > - > import utils > import re > from etgen import IxiaPacketGenerator > @@ -30,7 +29,6 @@ class TestVmdq(TestCase, IxiaPacketGenerator): > """ > Run at the start of each test suite. > """ > - > self.tester.extend_external_packet_generator(TestVmdq, self) >=20 > self.dut.send_expect("sed -i > 's/CONFIG_RTE_MAX_QUEUES_PER_PORT=3D256/CONFIG_RTE_MAX_QUEUES_P > ER_PORT=3D1024/' ./config/common_base", "# ", 5) @@ -53,12 +51,10 @@ clas= s > TestVmdq(TestCase, IxiaPacketGenerator): > out =3D self.dut.send_expect("make -C examples/vmdq", "#", 10) > self.verify("Error" not in out, "Compilation error") >=20 > - > def validateApproxEqual(self, lines): > """ > Check that all the rx queue stats are within a 30% range. > """ > - > minimum =3D 1000000 > maximun =3D 0 >=20 > @@ -85,7 +81,6 @@ class TestVmdq(TestCase, IxiaPacketGenerator): > MAX queues is 128 > queues/pools =3D 128/npools > """ > - > self.current_frame_size =3D self.default_framesize >=20 > self.dut_ports =3D self.dut.get_ports(self.nic) @@ -130,8 +125,8= @@ class > TestVmdq(TestCase, IxiaPacketGenerator): >=20 > def test_perf_vmdq_64pools_queues(self): > """ > - This function call " Npools_128queues" with differen number > - of pools. Details see below. if not sure, set it as 8 pools. > + This function call "Npools_128queues" with different number > + of pools. Details see below. If not sure, set it as 8 pools. > """ > if self.nic in ("niantic", "springfountain"): > self.Npools_128queues(64) > @@ -144,9 +139,8 @@ class TestVmdq(TestCase, IxiaPacketGenerator): >=20 > def test_perf_vmdq_performance(self): > """ > - Try different configuration and different packe size > + Try different configuration and different packet size > """ > - > self.tester.get_interface( > self.tester.get_local_port(self.dut_ports[0])) >=20 > @@ -240,7 +234,6 @@ class TestVmdq(TestCase, IxiaPacketGenerator): > """ > Change Ixia configuration > """ > - > self.add_tcl_cmd("vlan config -mode vIncrement") > self.add_tcl_cmd("vlan config -step 1") > self.add_tcl_cmd("vlan config -repeat %d" % self.vlan_repeat) @@= -250,7 > +243,7 @@ class TestVmdq(TestCase, IxiaPacketGenerator): >=20 > def ether(self, port, src, dst, type): > """ > - Configure Ether protocal. > + Configure Ether protocol. > """ > self.add_tcl_cmd("protocol config -ethernetType ethernetII") > self.add_tcl_cmd('stream config -sa "%s"' % self.macToTclFormat(= src)) @@ > -258,5 +251,3 @@ class TestVmdq(TestCase, IxiaPacketGenerator): > self.add_tcl_cmd('stream config -daRepeatCounter increment') > self.add_tcl_cmd('stream config -daStep 1') > self.add_tcl_cmd('stream config -numDA %d' % self.da_repeat) > - > - > -- > 2.7.4