[dts] [PATCH V1]tests/shutdown_api: suit cvl nic speed
Zeng Xiaoxiao
xiaoxiaox.zeng at intel.com
Tue Mar 3 15:36:38 CET 2020
*.cvl100G link speed is different with cvl25G.
Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng at intel.com>
---
tests/TestSuite_shutdown_api.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
index 11d451b..0127a57 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -466,6 +466,12 @@ class TestShutdownApi(TestCase):
elif self.nic in ["sagepond"]:
if config[0] != '1000' and '10000':
continue
+ elif self.nic == "columbiaville_100g":
+ if config[0] != '100000':
+ continue
+ elif self.nic == "columbiaville_25g":
+ if config[0] != '10000':
+ continue
self.dut.send_expect("port stop all", "testpmd> ", 100)
for port in self.ports:
self.dut.send_expect("port config %d speed %s duplex %s" % (port,
--
1.8.3.1
More information about the dts
mailing list