From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 88E81DE0 for ; Mon, 6 Feb 2017 03:59:46 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP; 05 Feb 2017 18:59:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,340,1477983600"; d="scan'208";a="221698136" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga004.fm.intel.com with ESMTP; 05 Feb 2017 18:59:45 -0800 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 5 Feb 2017 18:59:45 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 5 Feb 2017 18:59:44 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX103.ccr.corp.intel.com ([10.239.4.69]) with mapi id 14.03.0248.002; Mon, 6 Feb 2017 10:59:42 +0800 From: "Lu, Wenzhuo" To: "Bie, Tiwei" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] net/ixgbe: clean up rte_eth_dev_info_get Thread-Index: AQHSgB4XaxDkA8XPOUO3uh8W921XXKFau58AgACItYD//30PAIAAiBug Date: Mon, 6 Feb 2017 02:59:42 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09093B5613EC@shsmsx102.ccr.corp.intel.com> References: <1485311962-62335-1-git-send-email-wenzhuo.lu@intel.com> <1486346972-30710-1-git-send-email-wenzhuo.lu@intel.com> <20170206023030.GA21315@debian> <6A0DE07E22DDAD4C9103DF62FEBC09093B5613B8@shsmsx102.ccr.corp.intel.com> <20170206025108.GA901@debian> In-Reply-To: <20170206025108.GA901@debian> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] net/ixgbe: clean up rte_eth_dev_info_get X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2017 02:59:47 -0000 SGkgVGl3ZWksDQoNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBCaWUs IFRpd2VpDQo+IFNlbnQ6IE1vbmRheSwgRmVicnVhcnkgNiwgMjAxNyAxMDo1MSBBTQ0KPiBUbzog THUsIFdlbnpodW8NCj4gQ2M6IGRldkBkcGRrLm9yZw0KPiBTdWJqZWN0OiBSZTogW2RwZGstZGV2 XSBbUEFUQ0ggdjJdIG5ldC9peGdiZTogY2xlYW4gdXAgcnRlX2V0aF9kZXZfaW5mb19nZXQNCj4g DQo+IE9uIE1vbiwgRmViIDA2LCAyMDE3IGF0IDEwOjQxOjI4QU0gKzA4MDAsIEx1LCBXZW56aHVv IHdyb3RlOg0KPiA+IEhpIFRpd2VpLA0KPiA+DQo+ID4gPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2Ut LS0tLQ0KPiA+ID4gRnJvbTogQmllLCBUaXdlaQ0KPiA+ID4gU2VudDogTW9uZGF5LCBGZWJydWFy eSA2LCAyMDE3IDEwOjMxIEFNDQo+ID4gPiBUbzogTHUsIFdlbnpodW8NCj4gPiA+IENjOiBkZXZA ZHBkay5vcmcNCj4gPiA+IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQQVRDSCB2Ml0gbmV0L2l4 Z2JlOiBjbGVhbiB1cA0KPiA+ID4gcnRlX2V0aF9kZXZfaW5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