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 9A9EB6849 for ; Thu, 12 Feb 2015 09:09:38 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 12 Feb 2015 00:09:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,564,1418112000"; d="scan'208";a="526433945" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga003.jf.intel.com with ESMTP; 12 Feb 2015 00:01:25 -0800 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t1C89YV3030848; Thu, 12 Feb 2015 16:09:34 +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 t1C89WTn014864; Thu, 12 Feb 2015 16:09:34 +0800 Received: (from yliu84x@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t1C89Wdr014860; Thu, 12 Feb 2015 16:09:32 +0800 From: Yong Liu To: dts@dpdk.org Date: Thu, 12 Feb 2015 16:09:10 +0800 Message-Id: <1423728550-14792-6-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1423728550-14792-1-git-send-email-yong.liu@intel.com> References: <1423728550-14792-1-git-send-email-yong.liu@intel.com> Subject: [dts] [PATCH 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: Thu, 12 Feb 2015 08:09:39 -0000 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