From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id A5006567F for ; Tue, 7 Jul 2015 11:38:09 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 07 Jul 2015 02:38:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,422,1432623600"; d="scan'208";a="601469030" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga003.jf.intel.com with ESMTP; 07 Jul 2015 02:38:07 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id t679c5Oc019669; Tue, 7 Jul 2015 17:38:05 +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 t679c3bG022437; Tue, 7 Jul 2015 17:38:05 +0800 Received: (from dayuqiu@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t679c3Kp022433; Tue, 7 Jul 2015 17:38:03 +0800 From: Michael Qiu To: dts@dpdk.org Date: Tue, 7 Jul 2015 17:37:58 +0800 Message-Id: <1436261880-22395-2-git-send-email-michael.qiu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1436261880-22395-1-git-send-email-michael.qiu@intel.com> References: <1436261880-22395-1-git-send-email-michael.qiu@intel.com> Subject: [dts] [PATCH 1/3] 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: Tue, 07 Jul 2015 09:38:10 -0000 this patch make jumbo frame suit support RRC Signed-off-by: Michael Qiu --- tests/TestSuite_jumboframes.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/TestSuite_jumboframes.py b/tests/TestSuite_jumboframes.py index 4f34c13..81c8b23 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