From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 1F42311C5 for ; Wed, 4 Mar 2015 07:12:18 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 03 Mar 2015 22:07:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,685,1418112000"; d="scan'208";a="693672687" Received: from pgsmsx108.gar.corp.intel.com ([10.221.44.103]) by orsmga002.jf.intel.com with ESMTP; 03 Mar 2015 22:12:03 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by PGSMSX108.gar.corp.intel.com (10.221.44.103) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 4 Mar 2015 14:12:00 +0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.197]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.161]) with mapi id 14.03.0195.001; Wed, 4 Mar 2015 14:11:59 +0800 From: "Liu, Yong" To: "Xu, HuilongX" , "dts@dpdk.org" Thread-Topic: [dts] update checksum offload cmd line Thread-Index: AQHQVkHXncuyhNRYHUW/dXhmgCTZkZ0L100g Date: Wed, 4 Mar 2015 06:11:59 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10D84469@SHSMSX103.ccr.corp.intel.com> References: <1425436400-30891-1-git-send-email-huilongx.xu@intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E10D84435@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E10D84435@SHSMSX103.ccr.corp.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] 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:12:19 -0000 Huilong, Please add more detail information in git log, such as in which patch these= commands changed. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Liu, Yong > Sent: Wednesday, March 04, 2015 2:09 PM > To: Xu, HuilongX; dts@dpdk.org > Cc: root > Subject: Re: [dts] update checksum offload cmd line >=20 > Applied, thanks. Do not forget to configure your git username and email > correctly:) >=20 > > -----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 > > > > From: root > > > > > > Signed-off-by: root > > --- > > tests/TestSuite_checksum_offload.py | 18 +++++++++--------- > > 1 files changed, 9 insertions(+), 9 deletions(-) > > > > 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>") > > > > 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>") > > > > 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>") > > > > def checksum_validate(self, packets_sent, packets_expected): > > """ > > -- > > 1.7.4.4