[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>
Liu, Yong
yong.liu at intel.com
Tue Oct 20 04:22:31 CEST 2015
Applied, please take care your email subject. Remove useless word "Signed-off-by..." in subject.
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of lijuan tu
> Sent: Thursday, October 15, 2015 12:17 PM
> To: dts at dpdk.org
> Subject: [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>
>
> 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