[dts] [PATCH V2 5/5] pmd: remove useless nic check function
Yong Liu
yong.liu at intel.com
Fri Feb 13 03:14:54 CET 2015
Testpmd suite should not limited itself only run on sepcified NICs.
Signed-off-by: Marvinliu <yong.liu at intel.com>
---
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
More information about the dts
mailing list