From: changru <changrux.fan@intel.com>
To: dts@dpdk.org
Subject: [dts] [�dts�] Debug failed case jumboframes_bigger_jumbo
Date: Tue, 15 Sep 2015 15:43:42 +0800 [thread overview]
Message-ID: <1442303022-28526-1-git-send-email-changrux.fan@intel.com> (raw)
Signed-off-by: changru <changrux.fan@intel.com>
---
tests/TestSuite_jumboframes.py | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_jumboframes.py b/tests/TestSuite_jumboframes.py
index c5c70b9..5ad9e00 100644
--- a/tests/TestSuite_jumboframes.py
+++ b/tests/TestSuite_jumboframes.py
@@ -208,8 +208,14 @@ class TestJumboframes(TestCase):
self.dut.send_expect("set promisc all off", "testpmd> ")
self.dut.send_expect("set fwd mac", "testpmd> ")
self.dut.send_expect("start", "testpmd> ")
-
- self.jumboframes_send_packet(ETHER_JUMBO_FRAME_MTU + 1, False)
+
+ """
+ On 1G NICs, when the jubmo frame MTU set as 9000, the software adjust it to 9004.
+ """
+ if self.nic in ["powerville", "springville", "kawela_4"]:
+ self.jumboframes_send_packet(ETHER_JUMBO_FRAME_MTU + 4 + 1, False)
+ else:
+ self.jumboframes_send_packet(ETHER_JUMBO_FRAME_MTU + 1, False)
self.dut.send_expect("quit", "# ", 30)
--
2.1.0
reply other threads:[~2015-09-15 7:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1442303022-28526-1-git-send-email-changrux.fan@intel.com \
--to=changrux.fan@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).