From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A1E6EA04C1; Fri, 22 Nov 2019 03:56:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 795E72BA3; Fri, 22 Nov 2019 03:56:00 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id E1226235 for ; Fri, 22 Nov 2019 03:55:58 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Nov 2019 18:55:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,228,1571727600"; d="scan'208";a="259570418" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by FMSMGA003.fm.intel.com with ESMTP; 21 Nov 2019 18:55:57 -0800 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 21 Nov 2019 18:55:57 -0800 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 21 Nov 2019 18:55:56 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.213]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.215]) with mapi id 14.03.0439.000; Fri, 22 Nov 2019 10:55:55 +0800 From: "Tu, Lijuan" To: "Li, WenjieX A" , "dts@dpdk.org" CC: "Li, WenjieX A" Thread-Topic: [dts] [PATCH V1] tests/userspace_ethtool: cannot change CVL link status by the peer port Thread-Index: AQHVj6qKTDpmkAo01k+IyKhVpA3GmqeWoU3A Date: Fri, 22 Nov 2019 02:55:54 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB663FE@SHSMSX101.ccr.corp.intel.com> References: <1572530838-44694-1-git-send-email-wenjiex.a.li@intel.com> In-Reply-To: <1572530838-44694-1-git-send-email-wenjiex.a.li@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWZhZDhmMDgtYjllYS00NzA1LWJlMmYtZmMyMWYzYTU1ZGZlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSHNPWmVDQ1ZCZ2w5OXZvYVhydE9UKzU4ZnJFU29cL1JLbVpIcjVLOEVCdzlUK0VwdVpIOG95b0JHXC9cL2J5bExtWiJ9 x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/userspace_ethtool: cannot change CVL link status by the peer port X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Applied failed, please rework your patch > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wenjie Li > Sent: Thursday, October 31, 2019 10:07 PM > To: dts@dpdk.org > Cc: Li, WenjieX A > Subject: [dts] [PATCH V1] tests/userspace_ethtool: cannot change CVL link > status by the peer port >=20 > In case dump_driver_info, like fortville, CVL link status cannot be chang= ed 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. >=20 > Signed-off-by: Wenjie Li > --- > tests/TestSuite_userspace_ethtool.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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 =3D True > verify_msg =3D '' > - if self.nic.startswith("fortville") =3D=3D False: > + if self.nic.startswith("fortville") =3D=3D False and > self.nic.startswith("columbiaville") =3D=3D False: > # check link status dump function > for port in self.ports: > tester_port =3D self.tester.get_local_port(port) > -- > 2.17.1