From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) by dpdk.org (Postfix) with ESMTP id 0C93AC334 for ; Fri, 5 Jun 2015 19:24:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7440; q=dns/txt; s=iport; t=1433525069; x=1434734669; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=nYlxzdA/DAY/asWL4U5S6mLpMjS0crvPTIrsomhv+6k=; b=TLDquWtNKS0T20+XSoHfamlcb3/JmWBZVFuw79SkV/qlac09zT7SeWh/ TKo6TtVFuz7P1etR+3xMqExXdJuwI3XUCFnv2DBX5A3HGfZAH8d9XZ/iv UCmi6lCM0MXZNDn8DpbEtFPv+xCNVFpEPgllSxwrS3HazK/WpnlvwyWq2 A=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BHBAAD23FV/4YNJK1bgxCBMgaDGLtKCYdSAhyBFzgUAQEBAQEBAYEKhCIBAQEEIxFFDAQCAQgRBAEBAQICIwMCAgIwFAEICAIEDgUbiBK4DqQIAQEBAQEBAQEBAQEBAQEBAQEBAQEYgSGJIIEChCMRAR4YGwcGgmKBRQWTH4sngS+DeI5Vg1kkYYFZgT1vgQw6gQEBAQE X-IronPort-AV: E=Sophos;i="5.13,560,1427760000"; d="scan'208";a="1141171" Received: from alln-core-12.cisco.com ([173.36.13.134]) by rcdn-iport-4.cisco.com with ESMTP; 05 Jun 2015 17:24:27 +0000 Received: from xhc-rcd-x11.cisco.com (xhc-rcd-x11.cisco.com [173.37.183.85]) by alln-core-12.cisco.com (8.14.5/8.14.5) with ESMTP id t55HOROn015886 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 5 Jun 2015 17:24:27 GMT Received: from xmb-aln-x01.cisco.com ([169.254.2.185]) by xhc-rcd-x11.cisco.com ([173.37.183.85]) with mapi id 14.03.0195.001; Fri, 5 Jun 2015 12:24:27 -0500 From: "Andrew Harvey (agh)" To: Bruce Richardson , "Wang, Liang-min" Thread-Topic: [dpdk-dev] [PATCH 2/2] ethtool: add new library to provide ethtool-alike APIs Thread-Index: AQHQnaJYDpkSfR1z+0OLvVYo55/RbJ2cxksAgAADWACAAUjBgIAACriAgAAXFwD//9foAA== Date: Fri, 5 Jun 2015 17:24:25 +0000 Message-ID: References: <1432927612-12244-1-git-send-email-liang-min.wang@intel.com> <20150604075810.0c087b21@urahara> <18146131.KjMWrd7xqb@xps13> <20150605124748.GA6760@bricha3-MOBL3> In-Reply-To: <20150605124748.GA6760@bricha3-MOBL3> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.5.1.150515 x-originating-ip: [10.24.112.169] Content-Type: text/plain; charset="utf-8" Content-ID: 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 17:24:29 -0000 T24gNi81LzE1LCA1OjQ3IEFNLCAiQnJ1Y2UgUmljaGFyZHNvbiIgPGJydWNlLnJpY2hhcmRzb25A aW50ZWwuY29tPiB3cm90ZToNCg0KPk9uIEZyaSwgSnVuIDA1LCAyMDE1IGF0IDExOjI1OjA5QU0g KzAwMDAsIFdhbmcsIExpYW5nLW1pbiB3cm90ZToNCj4+IA0KPj4gDQo+PiA+IC0tLS0tT3JpZ2lu YWwgTWVzc2FnZS0tLS0tDQo+PiA+IEZyb206IFRob21hcyBNb25qYWxvbiBbbWFpbHRvOnRob21h cy5tb25qYWxvbkA2d2luZC5jb21dDQo+PiA+IF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