From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id BFAED1D7 for ; Mon, 25 Feb 2019 03:57:25 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Feb 2019 18:57:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,410,1544515200"; d="scan'208";a="277558341" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga004.jf.intel.com with ESMTP; 24 Feb 2019 18:57:23 -0800 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 24 Feb 2019 18:57:24 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 24 Feb 2019 18:57:24 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.207]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.109]) with mapi id 14.03.0415.000; Mon, 25 Feb 2019 10:57:22 +0800 From: "Zhu, WenhuiX" 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: AQHUzKvVfoNo+2eob0OjT8RmZjIUQKXv0jzw Date: Mon, 25 Feb 2019 02:57:21 +0000 Message-ID: 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: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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 02:57:26 -0000 Tested-by: Zhu, WenhuiX -----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 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. Signed-off-by: yaobing --- tests/TestSuite_tso.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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], "te= stpmd> ", 120) self.dut.send_expect("csum set sctp hw %d" % self.dut_ports[0], "t= estpmd> ", 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" %=20 + self.dut_ports[0], "testpmd> ", 120) =20 self.dut.send_expect("csum set ip hw %d" % self.dut_ports[1], "tes= tpmd> ", 120) self.dut.send_expect("csum set udp hw %d" % self.dut_ports[1], "te= stpmd> ", 120) self.dut.send_expect("csum set tcp hw %d" % self.dut_ports[1], "te= stpmd> ", 120) self.dut.send_expect("csum set sctp hw %d" % self.dut_ports[1], "t= estpmd> ", 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" %=20 + self.dut_ports[1], "testpmd> ", 120) =20 self.dut.send_expect("tso set 800 %d" % self.dut_ports[1], "testpm= d> ", 120) self.dut.send_expect("set fwd csum", "testpmd> ", 120) @@ -231,14 = +231,14 @@ class TestTSO(TestCase): self.dut.send_expect("csum set tcp hw %d" % self.dut_ports[0], "te= stpmd> ", 120) self.dut.send_expect("csum set sctp hw %d" % self.dut_ports[0], "t= estpmd> ", 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" %=20 + self.dut_ports[0], "testpmd> ", 120) =20 self.dut.send_expect("csum set ip hw %d" % self.dut_ports[1], "tes= tpmd> ", 120) self.dut.send_expect("csum set udp hw %d" % self.dut_ports[1], "te= stpmd> ", 120) self.dut.send_expect("csum set tcp hw %d" % self.dut_ports[1], "te= stpmd> ", 120) self.dut.send_expect("csum set sctp hw %d" % self.dut_ports[1], "t= estpmd> ", 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" %=20 + self.dut_ports[1], "testpmd> ", 120) =20 self.dut.send_expect("tso set 800 %d" % self.dut_ports[1], "testpm= d> ", 120) self.dut.send_expect("set fwd csum", "testpmd> ", 120) @@ -300,13 = +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_port= s[0], "testpmd> ", 120) - self.dut.send_expect("csum parse_tunnel on %d" % self.dut_port= s[0], "testpmd> ", 120) + self.dut.send_expect("csum parse-tunnel on %d" %=20 + 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_port= s[1], "testpmd> ", 120) - self.dut.send_expect("csum parse_tunnel on %d" % self.dut_port= s[1], "testpmd> ", 120) + self.dut.send_expect("csum parse-tunnel on %d" %=20 + self.dut_ports[1], "testpmd> ", 120) self.dut.send_expect("tso set 800 %d" % self.dut_ports[1], "te= stpmd> ", 120) self.dut.send_expect("set fwd csum", "testpmd> ", 120) self.dut.send_expect("start", "testpmd> ") -- 2.17.2