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 38FA35A74 for ; Thu, 5 Mar 2015 10:22:56 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 05 Mar 2015 01:22:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,345,1422950400"; d="scan'208";a="462836608" Received: from pgsmsx105.gar.corp.intel.com ([10.221.44.96]) by FMSMGA003.fm.intel.com with ESMTP; 05 Mar 2015 01:16:35 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by PGSMSX105.gar.corp.intel.com (10.221.44.96) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 5 Mar 2015 17:22:52 +0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.197]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.46]) with mapi id 14.03.0195.001; Thu, 5 Mar 2015 17:22:51 +0800 From: "Liu, Yong" To: "Xu, HuilongX" , "dts@dpdk.org" Thread-Topic: [dts] [dts v3] update checksum offload cmd line Thread-Index: AQHQVxUQKotGxXDGFES1DfWU5yC+CQ== Date: Thu, 5 Mar 2015 09:22:50 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10D855CE@SHSMSX103.ccr.corp.intel.com> References: <1425540094-23276-1-git-send-email-huilongx.xu@intel.com> Accept-Language: zh-CN, 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] [dts v3] update checksum offload cmd line 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: Thu, 05 Mar 2015 09:22:56 -0000 Applied. Thanks.=0A= > update cmdline for dpdk merge pacth "[dpdk-dev] [PATCH v3 06/20] testpmd:= replace tx_checksum command by csum"=0A= > used csum replace tx_checksum=0A= > add --txqflags=3D0 start parameter when setup testpmd=0A= >=0A= > Signed-off-by: huilong xu =0A= > ---=0A= > tests/TestSuite_checksum_offload.py | 18 +++++++++---------=0A= > 1 files changed, 9 insertions(+), 9 deletions(-)=0A= >=0A= > diff --git a/tests/TestSuite_checksum_offload.py b/tests/TestSuite_checks= um_offload.py=0A= > index 1ebac0f..6277f50 100644=0A= > --- a/tests/TestSuite_checksum_offload.py=0A= > +++ b/tests/TestSuite_checksum_offload.py=0A= > @@ -74,21 +74,21 @@ class TestChecksumOffload(TestCase):=0A= > Run before each test case.=0A= > """=0A= > if self.dut.want_func_tests:=0A= > - self.pmdout.start_testpmd("1S/2C/2T", "--portmask=3D%s " % (= self.portMask) + "--disable-hw-vlan --enable-rx-cksum --crc-strip")=0A= > + self.pmdout.start_testpmd("1S/2C/2T", "--portmask=3D%s " % (= self.portMask) + "--disable-hw-vlan --enable-rx-cksum --crc-strip --txqflag= s=3D0")=0A= > self.dut.send_expect("set verbose 1", "testpmd>")=0A= > self.dut.send_expect("set fwd csum", "testpmd>")=0A= > =0A= > def checksum_enablehw(self, port):=0A= > - self.dut.send_expect("tx_checksum set ip hw %d" % port, "tes= tpmd>")=0A= > - self.dut.send_expect("tx_checksum set udp hw %d" % port, "te= stpmd>")=0A= > - self.dut.send_expect("tx_checksum set tcp hw %d" % port, "te= stpmd>")=0A= > - self.dut.send_expect("tx_checksum set sctp hw %d" % port, "t= estpmd>")=0A= > + self.dut.send_expect("csum set ip hw %d" % port, "testpmd>")= =0A= > + self.dut.send_expect("csum set udp hw %d" % port, "testpmd>"= )=0A= > + self.dut.send_expect("csum set tcp hw %d" % port, "testpmd>"= )=0A= > + self.dut.send_expect("csum set sctp hw %d" % port, "testpmd>= ")=0A= > =0A= > def checksum_enablesw(self, port):=0A= > - self.dut.send_expect("tx_checksum set ip sw %d" % port, "tes= tpmd>")=0A= > - self.dut.send_expect("tx_checksum set udp sw %d" % port, "te= stpmd>")=0A= > - self.dut.send_expect("tx_checksum set tcp sw %d" % port, "te= stpmd>")=0A= > - self.dut.send_expect("tx_checksum set sctp sw %d" % port, "t= estpmd>")=0A= > + self.dut.send_expect("csum set ip sw %d" % port, "testpmd>")= =0A= > + self.dut.send_expect("csum set udp sw %d" % port, "testpmd>"= )=0A= > + self.dut.send_expect("csum set tcp sw %d" % port, "testpmd>"= )=0A= > + self.dut.send_expect("csum set sctp sw %d" % port, "testpmd>= ")=0A= > =0A= > def checksum_validate(self, packets_sent, packets_expected):=0A= > """=0A= =0A=