From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 960AE5A4B for ; Thu, 5 Mar 2015 08:21:41 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 04 Mar 2015 23:20:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,345,1422950400"; d="scan'208";a="462793234" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by FMSMGA003.fm.intel.com with ESMTP; 04 Mar 2015 23:15:20 -0800 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t257LaNs029786; Thu, 5 Mar 2015 15:21:36 +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 t257LZXM023312; Thu, 5 Mar 2015 15:21:37 +0800 Received: (from huilongx@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t257LZhp023308; Thu, 5 Mar 2015 15:21:35 +0800 From: huilong xu To: dts@dpdk.org Date: Thu, 5 Mar 2015 15:21:34 +0800 Message-Id: <1425540094-23276-1-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [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 07:21:42 -0000 update cmdline for dpdk merge pacth "[dpdk-dev] [PATCH v3 06/20] testpmd: replace tx_checksum command by csum" 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