[dts] [PATCH V1]tests/shutdown_api: suit cvl nic speed
Zeng, XiaoxiaoX
xiaoxiaox.zeng at intel.com
Tue Mar 3 07:52:29 CET 2020
Tested_by: Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>
Best regards,
Zeng,xiaoxiao
> -----Original Message-----
> From: Zeng, XiaoxiaoX
> 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':
> + 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestShutdownApi.log
Type: application/octet-stream
Size: 51675 bytes
Desc: TestShutdownApi.log
URL: <http://mails.dpdk.org/archives/dts/attachments/20200303/df2db9ae/attachment.obj>
More information about the dts
mailing list