From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 26AB89AF9 for ; Fri, 13 Feb 2015 03:15:16 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 12 Feb 2015 18:15:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,568,1418112000"; d="scan'208";a="453995373" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by FMSMGA003.fm.intel.com with ESMTP; 12 Feb 2015 18:00:30 -0800 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t1D2FCIG018193; Fri, 13 Feb 2015 10:15:12 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t1D2F9bP014288; Fri, 13 Feb 2015 10:15:11 +0800 Received: (from yliu84x@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t1D2F9sf014284; Fri, 13 Feb 2015 10:15:09 +0800 From: Yong Liu To: dts@dpdk.org Date: Fri, 13 Feb 2015 10:14:54 +0800 Message-Id: <1423793694-14183-6-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1423793694-14183-1-git-send-email-yong.liu@intel.com> References: <1423728550-14792-1-git-send-email-yong.liu@intel.com> <1423793694-14183-1-git-send-email-yong.liu@intel.com> Subject: [dts] [PATCH V2 5/5] pmd: remove useless nic check function 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: Fri, 13 Feb 2015 02:15:16 -0000 Testpmd suite should not limited itself only run on sepcified NICs. Signed-off-by: Marvinliu --- tests/TestSuite_pmd.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/TestSuite_pmd.py b/tests/TestSuite_pmd.py index c5b7e3b..7acf937 100644 --- a/tests/TestSuite_pmd.py +++ b/tests/TestSuite_pmd.py @@ -92,28 +92,11 @@ class TestPmd(TestCase): self.table_header.append("%s Mpps" % test_cycle['cores']) self.table_header.append("% linerate") - self.needed_ports = {"niantic": 2, - "kawela_2": 2, - "bartonhills": 4, - "82545EM": 2, - "82540EM": 2, - "I217V": 1, - "I217LM": 1, - "I218V": 1, - "I218LM": 1} - self.blacklist = "" - self.verify(self.nic in ["kawela_2", "niantic", "bartonhills", "82545EM", "82540EM", "I217V", "I217LM", "I218V", "I218LM"], - "NIC Unsupported: " + str(self.nic)) - # Based on h/w type, choose how many ports to use self.dut_ports = self.dut.get_ports() - # Verify that enough ports are available - self.verify(len(self.dut_ports) >= self.needed_ports[self.nic], - "Insufficient ports for speed testing") - self.headers_size = HEADER_SIZE['eth'] + HEADER_SIZE[ 'ip'] + HEADER_SIZE['udp'] -- 1.9.3