From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id EE95427D for ; Mon, 25 Feb 2019 10:13:26 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Feb 2019 01:13:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,411,1544515200"; d="scan'208";a="321839009" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga006.fm.intel.com with ESMTP; 25 Feb 2019 01:13:25 -0800 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 25 Feb 2019 01:13:24 -0800 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 25 Feb 2019 01:13:24 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.110]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.174]) with mapi id 14.03.0415.000; Mon, 25 Feb 2019 17:13:22 +0800 From: "Tu, Lijuan" To: "Yao, BingX Y" , "dts@dpdk.org" CC: "Yao, BingX Y" Thread-Topic: [dts] [PATCH V1] tests/tso:change parse_tunnel to parse-tunnel Thread-Index: AQHUzKvVe00RHgb1f0a8s2FRis7MLqXwO1Tw Date: Mon, 25 Feb 2019 09:13:22 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA26B25@SHSMSX101.ccr.corp.intel.com> References: <1551059350-50599-1-git-send-email-bingx.y.yao@intel.com> In-Reply-To: <1551059350-50599-1-git-send-email-bingx.y.yao@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2M2YzA1NDUtYzk3Yi00N2VjLWE5MjYtODM0ZDY3NzAwMmY4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoieWR2NDIxUTdlamdOdTRnTTFOTFwvaVNWVncyUkRmcXVzNTd1TjNoQ3dnc2M5clUrUGpmWklpOHhaSFJ1UWZQTWQifQ== 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 V1] tests/tso:change parse_tunnel to parse-tunnel 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: Mon, 25 Feb 2019 09:13:27 -0000 Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yaobing > Sent: Monday, February 25, 2019 9:49 AM > To: dts@dpdk.org > Cc: Yao, BingX Y > Subject: [dts] [PATCH V1] tests/tso:change parse_tunnel to parse-tunnel >=20 > In dpdk commit 5b48cd159536b70a943ae8246c2f717183818b19: > app/testpmd: fix csum parse-tunnel command invocation > Based on the documentation and help print, the sub command > for csum suppose to be "parse-tunnel" instead of "parse_tunnel" > in app/test-pmd/cmdline.c. > Update tests/tso to fit this changement. >=20 > Signed-off-by: yaobing > --- > tests/TestSuite_tso.py | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) >=20 > diff --git a/tests/TestSuite_tso.py b/tests/TestSuite_tso.py index > 0a9d66c..8dc84c2 100644 > --- a/tests/TestSuite_tso.py > +++ b/tests/TestSuite_tso.py > @@ -165,14 +165,14 @@ class TestTSO(TestCase): > self.dut.send_expect("csum set tcp hw %d" % self.dut_ports[0], "= testpmd> > ", 120) > self.dut.send_expect("csum set sctp hw %d" % self.dut_ports[0], = "testpmd> > ", 120) > self.dut.send_expect("csum set outer-ip hw %d" % self.dut_ports[= 0], > "testpmd> ", 120) > - self.dut.send_expect("csum parse_tunnel on %d" % self.dut_ports[= 0], > "testpmd> ", 120) > + self.dut.send_expect("csum parse-tunnel on %d" % > + self.dut_ports[0], "testpmd> ", 120) >=20 > self.dut.send_expect("csum set ip hw %d" % self.dut_ports[1], "t= estpmd> ", > 120) > self.dut.send_expect("csum set udp hw %d" % self.dut_ports[1], "= testpmd> > ", 120) > self.dut.send_expect("csum set tcp hw %d" % self.dut_ports[1], "= testpmd> > ", 120) > self.dut.send_expect("csum set sctp hw %d" % self.dut_ports[1], = "testpmd> > ", 120) > self.dut.send_expect("csum set outer-ip hw %d" % self.dut_ports[= 1], > "testpmd> ", 120) > - self.dut.send_expect("csum parse_tunnel on %d" % self.dut_ports[= 1], > "testpmd> ", 120) > + self.dut.send_expect("csum parse-tunnel on %d" % > + self.dut_ports[1], "testpmd> ", 120) >=20 > self.dut.send_expect("tso set 800 %d" % self.dut_ports[1], "test= pmd> ", > 120) > self.dut.send_expect("set fwd csum", "testpmd> ", 120) @@ -231,1= 4 > +231,14 @@ class TestTSO(TestCase): > self.dut.send_expect("csum set tcp hw %d" % self.dut_ports[0], "= testpmd> > ", 120) > self.dut.send_expect("csum set sctp hw %d" % self.dut_ports[0], = "testpmd> > ", 120) > self.dut.send_expect("csum set outer-ip hw %d" % self.dut_ports[= 0], > "testpmd> ", 120) > - self.dut.send_expect("csum parse_tunnel on %d" % self.dut_ports[= 0], > "testpmd> ", 120) > + self.dut.send_expect("csum parse-tunnel on %d" % > + self.dut_ports[0], "testpmd> ", 120) >=20 > self.dut.send_expect("csum set ip hw %d" % self.dut_ports[1], "t= estpmd> ", > 120) > self.dut.send_expect("csum set udp hw %d" % self.dut_ports[1], "= testpmd> > ", 120) > self.dut.send_expect("csum set tcp hw %d" % self.dut_ports[1], "= testpmd> > ", 120) > self.dut.send_expect("csum set sctp hw %d" % self.dut_ports[1], = "testpmd> > ", 120) > self.dut.send_expect("csum set outer-ip hw %d" % self.dut_ports[= 1], > "testpmd> ", 120) > - self.dut.send_expect("csum parse_tunnel on %d" % self.dut_ports[= 1], > "testpmd> ", 120) > + self.dut.send_expect("csum parse-tunnel on %d" % > + self.dut_ports[1], "testpmd> ", 120) >=20 > self.dut.send_expect("tso set 800 %d" % self.dut_ports[1], "test= pmd> ", > 120) > self.dut.send_expect("set fwd csum", "testpmd> ", 120) @@ -300,1= 3 > +300,13 @@ class TestTSO(TestCase): > self.dut.send_expect("csum set tcp hw %d" % self.dut_ports[0= ], "testpmd> > ", 120) > self.dut.send_expect("csum set sctp hw %d" % self.dut_ports[= 0], > "testpmd> ", 120) > self.dut.send_expect("csum set outer-ip hw %d" % self.dut_po= rts[0], > "testpmd> ", 120) > - self.dut.send_expect("csum parse_tunnel on %d" % self.dut_po= rts[0], > "testpmd> ", 120) > + self.dut.send_expect("csum parse-tunnel on %d" % > + self.dut_ports[0], "testpmd> ", 120) > self.dut.send_expect("csum set ip hw %d" % self.dut_ports[1]= , "testpmd> > ", 120) > self.dut.send_expect("csum set udp hw %d" % self.dut_ports[1= ], > "testpmd> ", 120) > self.dut.send_expect("csum set tcp hw %d" % self.dut_ports[1= ], "testpmd> > ", 120) > self.dut.send_expect("csum set sctp hw %d" % self.dut_ports[= 1], > "testpmd> ", 120) > self.dut.send_expect("csum set outer-ip hw %d" % self.dut_po= rts[1], > "testpmd> ", 120) > - self.dut.send_expect("csum parse_tunnel on %d" % self.dut_po= rts[1], > "testpmd> ", 120) > + self.dut.send_expect("csum parse-tunnel on %d" % > + self.dut_ports[1], "testpmd> ", 120) > self.dut.send_expect("tso set 800 %d" % self.dut_ports[1], "= testpmd> ", > 120) > self.dut.send_expect("set fwd csum", "testpmd> ", 120) > self.dut.send_expect("start", "testpmd> ") > -- > 2.17.2