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 5A6C72C2F for ; Mon, 25 Feb 2019 02:45:21 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Feb 2019 17:45:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,409,1544515200"; d="scan'208";a="136878471" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by orsmga002.jf.intel.com with ESMTP; 24 Feb 2019 17:45:18 -0800 From: yaobing To: dts@dpdk.org Cc: yaobing Date: Mon, 25 Feb 2019 09:49:10 +0800 Message-Id: <1551059350-50599-1-git-send-email-bingx.y.yao@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [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 01:45:22 -0000 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], "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) 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_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) self.dut.send_expect("tso set 800 %d" % self.dut_ports[1], "testpmd> ", 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], "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) 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_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) self.dut.send_expect("tso set 800 %d" % self.dut_ports[1], "testpmd> ", 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_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) 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_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) 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