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 1452FA00E6 for ; Wed, 7 Aug 2019 04:23:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ECEC64C9B; Wed, 7 Aug 2019 04:23:40 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 68D404C97 for ; Wed, 7 Aug 2019 04:23:39 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 19:23:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,353,1559545200"; d="scan'208";a="176818778" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga003.jf.intel.com with ESMTP; 06 Aug 2019 19:23:38 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 19:23:37 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 19:23:37 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.250]) with mapi id 14.03.0439.000; Wed, 7 Aug 2019 10:23:35 +0800 From: "Tu, Lijuan" To: "Wu, ChangqingX" , "dts@dpdk.org" CC: "Wu, ChangqingX" Thread-Topic: [dts] [PATCH V1] tests/userspace_ethtool:Optimize test results Thread-Index: AQHVN56kE/2/IrKaMkibaiwZiBJOaqbvHvNA Date: Wed, 7 Aug 2019 02:23:34 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFEAE4@SHSMSX101.ccr.corp.intel.com> References: <1562818503-49097-1-git-send-email-changqingx.wu@intel.com> In-Reply-To: <1562818503-49097-1-git-send-email-changqingx.wu@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWM3ZGUwMzUtMjExNy00NjAyLWIzYjAtNWM5YWU0MDg0ZjQ0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQTBcL0VmQ3FqOE51ZkdNNlBUd05uRXFRSmRpUDFITkpudkVwa3Fwb3pDbTh1c1psd0pmMTRiOFwvSWVEYW9ZeERBIn0= 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:Optimize test results 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, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of changqingxwu > Sent: Thursday, July 11, 2019 12:15 PM > To: dts@dpdk.org > Cc: Wu, ChangqingX > Subject: [dts] [PATCH V1] tests/userspace_ethtool:Optimize test results >=20 > Signed-off-by: changqingxwu > --- > tests/TestSuite_userspace_ethtool.py | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) >=20 > diff --git a/tests/TestSuite_userspace_ethtool.py > b/tests/TestSuite_userspace_ethtool.py > index c774552..dd8c9a6 100644 > --- a/tests/TestSuite_userspace_ethtool.py > +++ b/tests/TestSuite_userspace_ethtool.py > @@ -316,9 +316,6 @@ class TestUserspaceEthtool(TestCase, > IxiaPacketGenerator): > portsinfo =3D [] > ori_drivers =3D [] >=20 > - if self.nic.startswith("fortville"): > - return > - > for portid in range(len(self.ports)): > self.dut.send_expect("regs %d regs_%d.bin" % (portid, portid= ), > "EthApp>") > portinfo =3D {'portid': portid, 'reg_file': 'regs_%d.bin' % = portid} @@ - > 338,7 +335,7 @@ class TestUserspaceEthtool(TestCase, IxiaPacketGenerator)= : > # get linux interface > intf =3D netdev.get_interface_name() > out =3D self.dut.send_expect("ethtool -d %s raw off file %s"= % (intf, > portinfo['reg_file']), "# ") > - self.verify(("LINKS" in out and "FCTRL" in out), "Failed to = dump %s > registers" % intf) > + self.verify(("register" in out and "CTRL" in out), "Failed > + to dump %s registers" % intf) >=20 > for index in range(len(self.ports)): > # bind to original driver > -- > 2.17.2