From: huilong xu <huilongx.xu@intel.com>
To: dts@dpdk.org
Subject: [dts] [dts v3] update checksum offload cmd line
Date: Thu, 5 Mar 2015 15:21:34 +0800 [thread overview]
Message-ID: <1425540094-23276-1-git-send-email-huilongx.xu@intel.com> (raw)
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 <huilongx.xu@intel.com>
---
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
next reply other threads:[~2015-03-05 7:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-05 7:21 huilong xu [this message]
2015-03-05 9:22 ` Liu, Yong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1425540094-23276-1-git-send-email-huilongx.xu@intel.com \
--to=huilongx.xu@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).