* Re: [dts] [PATCH V1]tests/shutdown_api: suit cvl nic speed
2020-03-03 14:36 [dts] [PATCH V1]tests/shutdown_api: suit cvl nic speed Zeng Xiaoxiao
@ 2020-03-03 6:52 ` Zeng, XiaoxiaoX
2020-03-03 7:32 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Zeng, XiaoxiaoX @ 2020-03-03 6:52 UTC (permalink / raw)
To: dts
[-- Attachment #1: Type: text/plain, Size: 1413 bytes --]
Tested_by: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
Best regards,
Zeng,xiaoxiao
> -----Original Message-----
> From: Zeng, XiaoxiaoX
> Sent: Tuesday, March 3, 2020 10:37 PM
> To: dts@dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng@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@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
[-- Attachment #2: TestShutdownApi.log --]
[-- Type: application/octet-stream, Size: 51675 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1]tests/shutdown_api: suit cvl nic speed
2020-03-03 14:36 [dts] [PATCH V1]tests/shutdown_api: suit cvl nic speed Zeng Xiaoxiao
2020-03-03 6:52 ` Zeng, XiaoxiaoX
@ 2020-03-03 7:32 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-03-03 7:32 UTC (permalink / raw)
To: Zeng, XiaoxiaoX, dts; +Cc: Zeng, XiaoxiaoX
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zeng Xiaoxiao
> Sent: Tuesday, March 3, 2020 10:37 PM
> To: dts@dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng@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@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dts] [PATCH V1]tests/shutdown_api: suit cvl nic speed
@ 2020-03-03 14:36 Zeng Xiaoxiao
2020-03-03 6:52 ` Zeng, XiaoxiaoX
2020-03-03 7:32 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: Zeng Xiaoxiao @ 2020-03-03 14:36 UTC (permalink / raw)
To: dts; +Cc: Zeng Xiaoxiao
*.cvl100G link speed is different with cvl25G.
Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-03 7:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-03 14:36 [dts] [PATCH V1]tests/shutdown_api: suit cvl nic speed Zeng Xiaoxiao
2020-03-03 6:52 ` Zeng, XiaoxiaoX
2020-03-03 7:32 ` Tu, Lijuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).