From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9A91A91AD for ; Tue, 15 Sep 2015 09:48:00 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 15 Sep 2015 00:47:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,534,1437462000"; d="scan'208";a="789635438" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by fmsmga001.fm.intel.com with ESMTP; 15 Sep 2015 00:47:59 -0700 From: changru To: dts@dpdk.org Date: Tue, 15 Sep 2015 15:43:42 +0800 Message-Id: <1442303022-28526-1-git-send-email-changrux.fan@intel.com> X-Mailer: git-send-email 1.9.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dts] =?UTF-8?q?=5B=91dts=92=5D=20Debug=20failed=20case=20jumboframes=5Fbigger=5Fjumbo?= X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Sep 2015 07:48:01 -0000 Signed-off-by: changru --- 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