[dts] [PATCH V2] tests/shutdown_api: add sagepond support speed to change_linkspeed
Lijuan Tu
lijuan.tu at intel.com
Tue Oct 30 16:22:42 CET 2018
Applied, thanks
On 2018年10月26日 18:24, wenjieli wrote:
> Sagepond nic only support 1000baseT and 10000baseT, but the peer nic
> might support more speeds, sagepond could be set to unsupport mode; to
> avoid such issue, add sagepond support speed to change_linkspeed case.
>
> Signed-off-by: wenjieli <wenjiex.a.li 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 1282cf7..ba4c6cb 100644
> --- a/tests/TestSuite_shutdown_api.py
> +++ b/tests/TestSuite_shutdown_api.py
> @@ -312,6 +312,9 @@ class TestShutdownApi(TestCase):
> elif self.nic in ["fortville_eagle"]:
> if config[0] != '10000':
> continue
> + elif self.nic in ["sagepond"]:
> + if config[0] != '1000' and '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,
More information about the dts
mailing list