From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id E898D5901 for ; Tue, 6 Sep 2016 08:13:25 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP; 05 Sep 2016 23:13:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,290,1470726000"; d="scan'208";a="164841216" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga004.fm.intel.com with ESMTP; 05 Sep 2016 23:13:25 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 5 Sep 2016 23:13:24 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 5 Sep 2016 23:13:24 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.102]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.166]) with mapi id 14.03.0248.002; Tue, 6 Sep 2016 14:13:21 +0800 From: "Liu, Yong" To: "Xu, GangX" , "dts@dpdk.org" CC: "Xu, GangX" Thread-Topic: [dts] [PATCH V1 1/3] solve dts compile error on freesbd Thread-Index: AQHSAqTs7mYUrdzEnkW0rLcL9CQNtaBsBeFg Date: Tue, 6 Sep 2016 06:13:21 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E6022CC2F@SHSMSX103.ccr.corp.intel.com> References: <1472550717-9922-1-git-send-email-gangx.xu@intel.com> In-Reply-To: <1472550717-9922-1-git-send-email-gangx.xu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWUwNDc1NTYtYWU4My00ODNiLTk4MDItMTE3MTEzZGNlNTBkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlkyZE9zVkdBTVwvU2dud1IrWjdPWklNNldEZm83bEx1NmhKRytHbmtUNFk4PSJ9 x-ctpclassification: CTP_IC 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 1/3] solve dts compile error on freesbd 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: , X-List-Received-Date: Tue, 06 Sep 2016 06:13:26 -0000 Hi Gang, NIC object should input three parameter. If NIC object initialized= with incorrect parameters, it may cause error when called some methods. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xu,gang > Sent: Tuesday, August 30, 2016 5:52 PM > To: dts@dpdk.org > Cc: Xu, GangX > Subject: [dts] [PATCH V1 1/3] solve dts compile error on freesbd >=20 > Signed-off-by: xu,gang > --- > framework/dut.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/framework/dut.py b/framework/dut.py > index 2f4e53a..d92713b 100644 > --- a/framework/dut.py > +++ b/framework/dut.py > @@ -726,7 +726,7 @@ class Dut(Crb): > skipped)) > continue >=20 > - port =3D GetNicObj(self, pci_bus, '') > + port =3D GetNicObj(self, '',pci_bus, '') > intf =3D port.get_interface_name() >=20 > macaddr =3D port.get_mac_addr() > -- > 1.9.3