From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 4156C282 for ; Mon, 6 Feb 2017 03:41:32 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 05 Feb 2017 18:41:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,339,1477983600"; d="scan'208";a="1103466971" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga001.fm.intel.com with ESMTP; 05 Feb 2017 18:41:31 -0800 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 5 Feb 2017 18:41:31 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) 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:41:31 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.132]) with mapi id 14.03.0248.002; Mon, 6 Feb 2017 10:41:29 +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: AQHSgB4XaxDkA8XPOUO3uh8W921XXKFau58AgACItYA= Date: Mon, 6 Feb 2017 02:41:28 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09093B5613B8@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> In-Reply-To: <20170206023030.GA21315@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:41:33 -0000 SGkgVGl3ZWksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQmllLCBU aXdlaQ0KPiBTZW50OiBNb25kYXksIEZlYnJ1YXJ5IDYsIDIwMTcgMTA6MzEgQU0NCj4gVG86IEx1 LCBXZW56aHVvDQo+IENjOiBkZXZAZHBkay5vcmcNCj4gU3ViamVjdDogUmU6IFtkcGRrLWRldl0g W1BBVENIIHYyXSBuZXQvaXhnYmU6IGNsZWFuIHVwIHJ0ZV9ldGhfZGV2X2luZm9fZ2V0DQo+IA0K PiBPbiBNb24sIEZlYiAwNiwgMjAxNyBhdCAxMDowOTozMkFNICswODAwLCBXZW56aHVvIEx1IHdy b3RlOg0KPiBbLi4uXQ0KPiA+ICBzdGF0aWMgdm9pZCBpeGdiZV9kY2JfaW5pdChzdHJ1Y3QgaXhn YmVfaHcgKmh3LCBzdHJ1Y3QNCj4gPiBpeGdiZV9kY2JfY29uZmlnICpkY2JfY29uZmlnKTsgLXN0 YXRpYyBpbnQgaXNfaXhnYmVfcG1kKGNvbnN0IGNoYXINCj4gPiAqZHJpdmVyX25hbWUpOw0KPiA+ ICtzdGF0aWMgaW50IGlzX2RldmljZV9zdXBwb3J0ZWQoc3RydWN0IHJ0ZV9ldGhfZGV2ICpkZXYs IHN0cnVjdA0KPiA+ICtldGhfZHJpdmVyICpkcnYpOw0KPiA+DQo+IA0KPiBTaG91bGQgYmU6DQo+ IHN0YXRpYyBib29sIGlzX2RldmljZV9zdXBwb3J0ZWQoc3RydWN0IHJ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