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 3547FB6D for ; Wed, 25 Jan 2017 06:13:37 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP; 24 Jan 2017 21:13:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,282,1477983600"; d="scan'208";a="1117463858" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga002.fm.intel.com with ESMTP; 24 Jan 2017 21:13:36 -0800 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 24 Jan 2017 21:13:36 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 24 Jan 2017 21:13:36 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.204]) with mapi id 14.03.0248.002; Wed, 25 Jan 2017 13:13:32 +0800 From: "Lu, Wenzhuo" To: "Bie, Tiwei" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/ixgbe: clean up rte_eth_dev_info_get Thread-Index: AQHSdrRFjxDtRQU/AkGwOgu7lVkHRaFH/2gAgACmMdA= Date: Wed, 25 Jan 2017 05:13:32 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09093B55DCF6@shsmsx102.ccr.corp.intel.com> References: <1485311962-62335-1-git-send-email-wenzhuo.lu@intel.com> <20170125031647.GA6019@debian> In-Reply-To: <20170125031647.GA6019@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] 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: Wed, 25 Jan 2017 05:13:38 -0000 SGkgVGl3ZWksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQmllLCBU aXdlaQ0KPiBTZW50OiBXZWRuZXNkYXksIEphbnVhcnkgMjUsIDIwMTcgMTE6MTcgQU0NCj4gVG86 IEx1LCBXZW56aHVvDQo+IENjOiBkZXZAZHBkay5vcmcNCj4gU3ViamVjdDogUmU6IFtkcGRrLWRl dl0gW1BBVENIXSBuZXQvaXhnYmU6IGNsZWFuIHVwIHJ0ZV9ldGhfZGV2X2luZm9fZ2V0DQo+IA0K PiBPbiBXZWQsIEphbiAyNSwgMjAxNyBhdCAxMDozOToyMkFNICswODAwLCBXZW56aHVvIEx1IHdy b3RlOg0KPiA+IEl0J25vdCBhcHByb3ByaWF0ZSB0byBjYWxsIHJ0ZV9ldGhfZGV2X2luZm9fZ2V0 IGluIFBNRCwgYXMNCj4gPiBydGVfZXRoX2Rldl9pbmZvX2dldCBuZWVkIHRvIGdldCBpbmZvIGZy b20gUE1ELg0KPiA+IFJlbW92ZSBydGVfZXRoX2Rldl9pbmZvX2dldCBmcm9tIFBNRCBjb2RlIGFu ZCBnZXQgdGhlIGluZm8gZGlyZWN0bHkuDQo+ID4NCj4gPiBTaWduZWQtb2ZmLWJ5OiBXZW56aHVv IEx1IDx3ZW56aHVvLmx1QGludGVsLmNvbT4NCj4gPiAtLS0NCj4gPiAgZHJpdmVycy9uZXQvaXhn YmUvaXhnYmVfZXRoZGV2LmMgfCAxNDQNCj4gPiArKysrKysrKysrKysrKysrKystLS0tLS0tLS0t LS0tLS0tLS0tLS0NCj4gPi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