From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id E36DF5A5E for ; Wed, 8 Jul 2015 10:51:15 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 08 Jul 2015 01:51:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,430,1432623600"; d="scan'208";a="724923571" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga001.jf.intel.com with ESMTP; 08 Jul 2015 01:51:14 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id t688pDWw005640; Wed, 8 Jul 2015 16:51:13 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t688pAqY031655; Wed, 8 Jul 2015 16:51:13 +0800 Received: (from dayuqiu@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t688pAhi031651; Wed, 8 Jul 2015 16:51:10 +0800 From: Michael Qiu To: dts@dpdk.org Date: Wed, 8 Jul 2015 16:51:04 +0800 Message-Id: <1436345466-31613-2-git-send-email-michael.qiu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1436345466-31613-1-git-send-email-michael.qiu@intel.com> References: <1436261880-22395-1-git-send-email-michael.qiu@intel.com> <1436345466-31613-1-git-send-email-michael.qiu@intel.com> Subject: [dts] [PATCH 1/3 v2] tests: Add RRC support with jumbo frame 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: Wed, 08 Jul 2015 08:51:16 -0000 this patch make jumbo frame suit support RRC Signed-off-by: Michael Qiu --- V2 ---> V1: remove tab indent tests/TestSuite_jumboframes.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/TestSuite_jumboframes.py b/tests/TestSuite_jumboframes.py index 4f34c13..c5c70b9 100644 --- a/tests/TestSuite_jumboframes.py +++ b/tests/TestSuite_jumboframes.py @@ -136,6 +136,9 @@ class TestJumboframes(TestCase): frame on testpmd app. """ self.pmdout.start_testpmd("Default", "--max-pkt-len=%d" % (ETHER_STANDARD_MTU)) + if self.nic == "redrockcanyou": + 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_STANDARD_MTU - 1) @@ -150,6 +153,9 @@ class TestJumboframes(TestCase): jumbo frame support. """ self.pmdout.start_testpmd("Default", "--max-pkt-len=%d" % (ETHER_STANDARD_MTU)) + if self.nic == "redrockcanyou": + 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_STANDARD_MTU + 1, False) @@ -163,6 +169,9 @@ class TestJumboframes(TestCase): packet forwrding should be support correct. """ self.pmdout.start_testpmd("Default", "--max-pkt-len=%s" % (ETHER_JUMBO_FRAME_MTU)) + if self.nic == "redrockcanyou": + 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(1517) @@ -177,6 +186,9 @@ class TestJumboframes(TestCase): packet can be forwarded correct. """ self.pmdout.start_testpmd("Default", "--max-pkt-len=%s" % (ETHER_JUMBO_FRAME_MTU)) + if self.nic == "redrockcanyou": + 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_STANDARD_MTU + 1) @@ -192,6 +204,9 @@ class TestJumboframes(TestCase): packet which the length bigger than MTU can not be forwarded. """ self.pmdout.start_testpmd("Default", "--max-pkt-len=%s" % (ETHER_JUMBO_FRAME_MTU)) + if self.nic == "redrockcanyou": + 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) -- 1.9.3