From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 844322BE5 for ; Fri, 3 Feb 2017 07:50:37 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Feb 2017 22:50:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,328,1477983600"; d="scan'208";a="929684077" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga003.jf.intel.com with ESMTP; 02 Feb 2017 22:50:35 -0800 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 2 Feb 2017 22:50:35 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 2 Feb 2017 22:50:35 -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; Fri, 3 Feb 2017 14:50:31 +0800 From: "Lu, Wenzhuo" To: "Yigit, Ferruh" , "Bie, Tiwei" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/ixgbe: clean up rte_eth_dev_info_get Thread-Index: AQHSdrRFjxDtRQU/AkGwOgu7lVkHRaFH/2gAgACmMdD//32MgIAITnMAgAZzrOA= Date: Fri, 3 Feb 2017 06:50:31 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09093B5608A4@shsmsx102.ccr.corp.intel.com> References: <1485311962-62335-1-git-send-email-wenzhuo.lu@intel.com> <20170125031647.GA6019@debian> <6A0DE07E22DDAD4C9103DF62FEBC09093B55DCF6@shsmsx102.ccr.corp.intel.com> <20170125052443.GA19560@debian> <20cab07d-ed9d-fbec-d00f-c386cb9f87e8@intel.com> In-Reply-To: <20cab07d-ed9d-fbec-d00f-c386cb9f87e8@intel.com> 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: Fri, 03 Feb 2017 06:50:38 -0000 SGkgRmVycnVoLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IFlpZ2l0 LCBGZXJydWgNCj4gU2VudDogTW9uZGF5LCBKYW51YXJ5IDMwLCAyMDE3IDg6MTYgUE0NCj4gVG86 IEJpZSwgVGl3ZWk7IEx1LCBXZW56aHVvDQo+IENjOiBkZXZAZHBkay5vcmcNCj4gU3ViamVjdDog UmU6IFtkcGRrLWRldl0gW1BBVENIXSBuZXQvaXhnYmU6IGNsZWFuIHVwIHJ0ZV9ldGhfZGV2X2lu Zm9fZ2V0DQo+IA0KPiBPbiAxLzI1LzIwMTcgNToyNCBBTSwgVGl3ZWkgQmllIHdyb3RlOg0KPiA+ IE9uIFdlZCwgSmFuIDI1LCAyMDE3IGF0IDAxOjEzOjMyUE0gKzA4MDAsIEx1LCBXZW56aHVvIHdy b3RlOg0KPiA+PiBIaSBUaXdlaSwNCj4gPj4NCj4gPj4+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0t LS0tDQo+ID4+PiBGcm9tOiBCaWUsIFRpd2VpDQo+ID4+PiBTZW50OiBXZWRuZXNkYXksIEphbnVh cnkgMjUsIDIwMTcgMTE6MTcgQU0NCj4gPj4+IFRvOiBMdSwgV2Vuem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