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

Zhu, WenhuiX wenhuix.zhu at intel.com
Thu Oct 31 06:22:33 CET 2019


Tested-by: Zhu, WenhuiX <wenhuix.zhu at intel.com>

-----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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestUserspaceEthtool.log
Type: application/octet-stream
Size: 12091 bytes
Desc: TestUserspaceEthtool.log
URL: <http://mails.dpdk.org/archives/dts/attachments/20191031/64a50b07/attachment.obj>


More information about the dts mailing list