[dts] =?UTF-8?q?=5B=91dts=92=5D=20Debug=20failed=20case=20jumboframes=5Fbigger=5Fjumbo?=
changru
changrux.fan at intel.com
Tue Sep 15 09:43:42 CEST 2015
Signed-off-by: changru <changrux.fan at 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
More information about the dts
mailing list