[dts] [patch] fix ironpond change_linkspeed bug ironpond just support speed 1000/10000M, not support 100M Signed-off-by: lijuan tu <lijuanx.a.tu at intel.com>
lijuan tu
lijuanx.a.tu at intel.com
Thu Oct 15 06:17:29 CEST 2015
Signed-off-by: lijuan tu <lijuanx.a.tu at intel.com>
---
tests/TestSuite_shutdown_api.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
index 05cce31..37c2481 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -312,6 +312,9 @@ class TestShutdownApi(TestCase):
configs = m[:-(len(m) / 2)]
for config in configs:
print config
+ if self.nic in ["ironpond"]:
+ if config[0] != '1000' or '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,
--
2.1.0
More information about the dts
mailing list