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 26B5D5683 for ; Wed, 4 Mar 2015 07:09:34 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 03 Mar 2015 22:09:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,685,1418112000"; d="scan'208";a="693671938" Received: from pgsmsx101.gar.corp.intel.com ([10.221.44.78]) by orsmga002.jf.intel.com with ESMTP; 03 Mar 2015 22:09:34 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by PGSMSX101.gar.corp.intel.com (10.221.44.78) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 4 Mar 2015 14:09:31 +0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.197]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.209]) with mapi id 14.03.0195.001; Wed, 4 Mar 2015 14:09:29 +0800 From: "Liu, Yong" To: "Xu, HuilongX" , "dts@dpdk.org" Thread-Topic: [dts] update checksum offload cmd line Thread-Index: AQHQViO6z5eBYm5wME+/LbAXP/5mN50L1uXg Date: Wed, 4 Mar 2015 06:09:28 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10D84435@SHSMSX103.ccr.corp.intel.com> References: <1425436400-30891-1-git-send-email-huilongx.xu@intel.com> In-Reply-To: <1425436400-30891-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 Cc: root Subject: Re: [dts] 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: Wed, 04 Mar 2015 06:09:35 -0000 Applied, thanks. Do not forget to configure your git username and email cor= rectly:) > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of huilongx.xu > Sent: Wednesday, March 04, 2015 10:33 AM > To: dts@dpdk.org > Cc: root > Subject: [dts] update checksum offload cmd line >=20 > From: root >=20 >=20 > Signed-off-by: root > --- > tests/TestSuite_checksum_offload.py | 18 +++++++++--------- > 1 files changed, 9 insertions(+), 9 deletions(-) >=20 > diff --git a/tests/TestSuite_checksum_offload.py > b/tests/TestSuite_checksum_offload.py > index 1ebac0f..6277f50 100644 > --- a/tests/TestSuite_checksum_offload.py > +++ b/tests/TestSuite_checksum_offload.py > @@ -74,21 +74,21 @@ class TestChecksumOffload(TestCase): > Run before each test case. > """ > if self.dut.want_func_tests: > - self.pmdout.start_testpmd("1S/2C/2T", "--portmask=3D%s " % > (self.portMask) + "--disable-hw-vlan --enable-rx-cksum --crc-strip") > + self.pmdout.start_testpmd("1S/2C/2T", "--portmask=3D%s " % > (self.portMask) + "--disable-hw-vlan --enable-rx-cksum --crc-strip -- > txqflags=3D0") > self.dut.send_expect("set verbose 1", "testpmd>") > self.dut.send_expect("set fwd csum", "testpmd>") >=20 > def checksum_enablehw(self, port): > - self.dut.send_expect("tx_checksum set ip hw %d" % port, > "testpmd>") > - self.dut.send_expect("tx_checksum set udp hw %d" % port, > "testpmd>") > - self.dut.send_expect("tx_checksum set tcp hw %d" % port, > "testpmd>") > - self.dut.send_expect("tx_checksum set sctp hw %d" % port, > "testpmd>") > + self.dut.send_expect("csum set ip hw %d" % port, "testpmd>") > + self.dut.send_expect("csum set udp hw %d" % port, "testpmd>"= ) > + self.dut.send_expect("csum set tcp hw %d" % port, "testpmd>"= ) > + self.dut.send_expect("csum set sctp hw %d" % port, "testpmd>= ") >=20 > def checksum_enablesw(self, port): > - self.dut.send_expect("tx_checksum set ip sw %d" % port, > "testpmd>") > - self.dut.send_expect("tx_checksum set udp sw %d" % port, > "testpmd>") > - self.dut.send_expect("tx_checksum set tcp sw %d" % port, > "testpmd>") > - self.dut.send_expect("tx_checksum set sctp sw %d" % port, > "testpmd>") > + self.dut.send_expect("csum set ip sw %d" % port, "testpmd>") > + self.dut.send_expect("csum set udp sw %d" % port, "testpmd>"= ) > + self.dut.send_expect("csum set tcp sw %d" % port, "testpmd>"= ) > + self.dut.send_expect("csum set sctp sw %d" % port, "testpmd>= ") >=20 > def checksum_validate(self, packets_sent, packets_expected): > """ > -- > 1.7.4.4