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 4F0C85A24 for ; Wed, 4 Mar 2015 03:33:59 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 03 Mar 2015 18:33:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,685,1418112000"; d="scan'208";a="535740303" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga003.jf.intel.com with ESMTP; 03 Mar 2015 18:33:54 -0800 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t242XP6O028971; Wed, 4 Mar 2015 10:33:25 +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 t242XNmr030926; Wed, 4 Mar 2015 10:33:25 +0800 Received: (from huilongx@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t242XMHJ030922; Wed, 4 Mar 2015 10:33:22 +0800 From: "huilongx.xu" To: dts@dpdk.org Date: Wed, 4 Mar 2015 10:33:20 +0800 Message-Id: <1425436400-30891-1-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.7.4.1 Cc: root Subject: [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 02:33:59 -0000 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=%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