[dts] [PATCH V1]tests/shutdown_api: suit cvl nic speed
Tu, Lijuan
lijuan.tu at intel.com
Tue Mar 3 08:32:28 CET 2020
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Zeng Xiaoxiao
> Sent: Tuesday, March 3, 2020 10:37 PM
> To: dts at dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>
> Subject: [dts] [PATCH V1]tests/shutdown_api: suit cvl nic speed
>
> *.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':
[Lijuan] not see 25000, a 25G nic support 25G certainly, is there anything I missing?
> + 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