From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 9AA7711C5 for ; Wed, 4 Mar 2015 09:31:45 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 04 Mar 2015 00:31:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,686,1418112000"; d="scan'208";a="693717007" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga002.jf.intel.com with ESMTP; 04 Mar 2015 00:31:44 -0800 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t248Ve7E016891; Wed, 4 Mar 2015 16:31:40 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t248VcHS032532; Wed, 4 Mar 2015 16:31:40 +0800 Received: (from huilongx@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t248Vcgm032528; Wed, 4 Mar 2015 16:31:38 +0800 From: "huilongx.xu" To: dts@dpdk.org Date: Wed, 4 Mar 2015 16:31:36 +0800 Message-Id: <1425457896-32497-1-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.7.4.1 Cc: root Subject: [dts] [dts v2] 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 08:31:46 -0000 From: root used csum replace tx_checksum add --txqflags=0 start parameter when setup testpmd Signed-off-by: huilong xu --- 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=%s " % (self.portMask) + "--disable-hw-vlan --enable-rx-cksum --crc-strip") + self.pmdout.start_testpmd("1S/2C/2T", "--portmask=%s " % (self.portMask) + "--disable-hw-vlan --enable-rx-cksum --crc-strip --txqflags=0") 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