[dts] [PATCH V1] tests/userspace_ethtool: cannot change CVL link status by the peer port

Tu, Lijuan lijuan.tu at intel.com
Fri Nov 22 03:55:54 CET 2019


Applied failed, please rework your patch

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Wenjie Li
> Sent: Thursday, October 31, 2019 10:07 PM
> To: dts at dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li at intel.com>
> Subject: [dts] [PATCH V1] tests/userspace_ethtool: cannot change CVL link
> status by the peer port
> 
> In case dump_driver_info, like fortville, CVL link status cannot be changed by
> the peer ports.
> After change the peer port status by running "ip link set dev PORT
> down|up", CVL link status will not change. So skip this step.
> 
> Signed-off-by: Wenjie Li <wenjiex.a.li at intel.com>
> ---
>  tests/TestSuite_userspace_ethtool.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_userspace_ethtool.py
> b/tests/TestSuite_userspace_ethtool.py
> index 116fd3a..8d18b0c 100644
> --- a/tests/TestSuite_userspace_ethtool.py
> +++ b/tests/TestSuite_userspace_ethtool.py
> @@ -259,7 +259,7 @@ class TestUserspaceEthtool(TestCase,
> IxiaPacketGenerator):
>          # only detect physical link disconnect status
>          verify_pass = True
>          verify_msg = ''
> -        if self.nic.startswith("fortville") == False:
> +        if self.nic.startswith("fortville") == False and
> self.nic.startswith("columbiaville") == False:
>              # check link status dump function
>              for port in self.ports:
>                  tester_port = self.tester.get_local_port(port)
> --
> 2.17.1



More information about the dts mailing list