test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [�dts�] Debug failed case jumboframes_bigger_jumbo
@ 2015-09-15  7:43 changru
  0 siblings, 0 replies; only message in thread
From: changru @ 2015-09-15  7:43 UTC (permalink / raw)
  To: dts

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-15  7:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-15  7:43 [dts] [�dts�] Debug failed case jumboframes_bigger_jumbo changru

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).