From: Lijuan Tu <lijuanx.a.tu@intel.com>
To: dts@dpdk.org
Subject: [dts] [PATCH]tests enable_disablejumbo: adjust 1G NICs packet length
Date: Tue, 8 Dec 2015 15:00:06 +0800 [thread overview]
Message-ID: <1449558006-82171-1-git-send-email-lijuanx.a.tu@intel.com> (raw)
From: lijuan tu <lijuanx.a.tu@intel.com>
On 1G NICs, when the jubmo frame MTU set as X, the software adjust it to (X + 4).
Signed-off-by: lijuan tu <lijuanx.a.tu@intel.com>
---
tests/TestSuite_shutdown_api.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
index 241e072..efbe934 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -365,6 +365,11 @@ class TestShutdownApi(TestCase):
self.dut.send_expect("port config all hw-vlan off", "testpmd> ")
self.dut.send_expect("port start all", "testpmd> ", 100)
self.dut.send_expect("start", "testpmd> ")
+ """
+ On 1G NICs, when the jubmo frame MTU set as X, the software adjust it to (X + 4).
+ """
+ if self.nic in ["powerville", "springville", "kawela_4"]:
+ jumbo_size += 4
self.check_forwarding(pktSize=jumbo_size - 1)
self.check_forwarding(pktSize=jumbo_size)
self.check_forwarding(pktSize=jumbo_size + 1, received=False)
--
2.1.0
next reply other threads:[~2015-12-08 7:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-08 7:00 Lijuan Tu [this message]
2015-12-10 2:08 ` 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=1449558006-82171-1-git-send-email-lijuanx.a.tu@intel.com \
--to=lijuanx.a.tu@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).