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 D65B95A06 for ; Fri, 5 Jun 2015 13:25:29 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 05 Jun 2015 04:25:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,558,1427785200"; d="scan'208";a="737643160" Received: from orsmsx106.amr.corp.intel.com ([10.22.225.133]) by fmsmga002.fm.intel.com with ESMTP; 05 Jun 2015 04:25:28 -0700 Received: from orsmsx154.amr.corp.intel.com (10.22.226.12) by ORSMSX106.amr.corp.intel.com (10.22.225.133) with Microsoft SMTP Server (TLS) id 14.3.224.2; Fri, 5 Jun 2015 04:25:27 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by ORSMSX154.amr.corp.intel.com (10.22.226.12) with Microsoft SMTP Server (TLS) id 14.3.224.2; Fri, 5 Jun 2015 04:25:09 -0700 Received: from FMSMSX110.amr.corp.intel.com ([169.254.14.46]) by FMSMSX119.amr.corp.intel.com ([169.254.14.48]) with mapi id 14.03.0224.002; Fri, 5 Jun 2015 04:25:09 -0700 From: "Wang, Liang-min" To: Thomas Monjalon , "Andrew Harvey (agh)" Thread-Topic: [dpdk-dev] [PATCH 2/2] ethtool: add new library to provide ethtool-alike APIs Thread-Index: AQHQmkV0vh50QuHJo0WVOZnDigauCp2ZosAA//+RahCAAI6iAP//nQiAgAB8IAD//5lG4AAWcj8AAAuWYIAATSGtAAAPFjyAABps1IAADi2nQA== Date: Fri, 5 Jun 2015 11:25:09 +0000 Message-ID: References: <1432927612-12244-1-git-send-email-liang-min.wang@intel.com> <20150604075810.0c087b21@urahara> <18146131.KjMWrd7xqb@xps13> In-Reply-To: <18146131.KjMWrd7xqb@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.200.106] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH 2/2] ethtool: add new library to provide ethtool-alike APIs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2015 11:25:30 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogVGhvbWFzIE1vbmphbG9u IFttYWlsdG86dGhvbWFzLm1vbmphbG9uQDZ3aW5kLmNvbV0NCj4gU2VudDogRnJpZGF5LCBKdW5l IDA1LCAyMDE1IDY6NDcgQU0NCj4gVG86IEFuZHJldyBIYXJ2ZXkgKGFnaCkNCj4gQ2M6IFN0ZXBo ZW4gSGVtbWluZ2VyOyBXYW5nLCBMaWFuZy1taW47IGRldkBkcGRrLm9yZw0KPiBTdWJqZWN0OiBS ZTogW2RwZGstZGV2XSBbUEFUQ0ggMi8yXSBldGh0b29sOiBhZGQgbmV3IGxpYnJhcnkgdG8gcHJv dmlkZQ0KPiBldGh0b29sLWFsaWtlIEFQSXMNCj4gDQo+IDIwMTUtMDYtMDQgMjI6MTAsIEFuZHJl dyBIYXJ2ZXk6DQo+ID4gT24gNi80LzE1LCA3OjU4IEFNLCAiU3RlcGhlbiBIZW1taW5nZXIiDQo+ IDxzdGVwaGVuQG5ldHdvcmtwbHVtYmVyLm9yZz4gd3JvdGU6DQo+ID4gPiJBbmRyZXcgSGFydmV5 IChhZ2gpIiA8YWdoQGNpc2NvLmNvbT4gd3JvdGU6DQo+ID4gPj4gSSBiZWxpZXZlIHRoYXQgdGhl aXIgaXMgdmFsdWUgaW4gdGhpcyBpbnRlcmZhY2UgZm9yIHNvZnR3YXJlIHN0YWNrcw0KPiA+ID4+ bm90ICBiYXNlZCBvbiBMaW51eCBiZWluZ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