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 7669CC326 for ; Wed, 17 Jun 2015 05:15:34 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 16 Jun 2015 20:15:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,630,1427785200"; d="scan'208,217";a="744861439" Received: from pgsmsx105.gar.corp.intel.com ([10.221.44.96]) by fmsmga002.fm.intel.com with ESMTP; 16 Jun 2015 20:15:28 -0700 Received: from pgsmsx108.gar.corp.intel.com ([169.254.8.80]) by PGSMSX105.gar.corp.intel.com ([10.221.44.96]) with mapi id 14.03.0224.002; Wed, 17 Jun 2015 11:15:27 +0800 From: "Choi, Sy Jong" To: =?utf-8?B?IlNjb3R0LkpodWFuZyAo6I6K5riF57+UKSA6IDYzMDki?= , "dev@dpdk.org" Thread-Topic: [dpdk-dev] How to get net_device and use struct ethtool_cmd at DPDK enverinment? Thread-Index: AQHQp1cQ9UcItmMt1Uay1Etrk44wmZ2usWaggADQcoCAAIZ+EA== Date: Wed, 17 Jun 2015 03:15:26 +0000 Message-ID: <697F8B1B48670548A5BAB03E8283550F35448689@PGSMSX108.gar.corp.intel.com> References: <557EAA67.6090702@cas-well.com> <697F8B1B48670548A5BAB03E8283550F354483D8@PGSMSX108.gar.corp.intel.com> <5580E567.3020204@cas-well.com> In-Reply-To: <5580E567.3020204@cas-well.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.30.20.206] MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] How to get net_device and use struct ethtool_cmd at DPDK enverinment? 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: Wed, 17 Jun 2015 03:15:35 -0000 SGkgU2NvdHQsDQoNCllvdSBhcmUgcmlnaHQsIHRoZSBLTkkgd2lsbCBiZSBhIGdvb2QgcmVmZXJl bmNlIGZvciB5b3UuIEl0IGRlbW9uc3RyYXRlIGhvdyBEUERLIFBNRCBpbnRlcmZhY2Ugd2l0aCBr ZXJuZWwuDQpNYXkgSSBrbm93IGFyZSB5b3UgcGxhbm5pbmcgdG8gYnVpbGQgdGhlIGludGVyZmFj ZSB0byBldGh0b29sPyBZb3UgY2FuIHRyeSBydW5uaW5nIEtOSSBhcHAuDQoNClJlZ2FyZHMsDQpD aG9pLCBTeSBKb25nDQpQbGF0Zm9ybSBBcHBsaWNhdGlvbiBFbmdpbmVlcg0KDQpGcm9tOiAiU2Nv dHQuSmh1YW5nICjojormuIXnv5QpIDogNjMwOSIgW21haWx0bzpTY290dC5KaHVhbmdAY2FzLXdl bGwuY29tXQ0KU2VudDogV2VkbmVzZGF5LCBKdW5lIDE3LCAyMDE1IDExOjEyIEFNDQpUbzogQ2hv aSwgU3kgSm9uZzsgZGV2QGRwZGsub3JnDQpTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBIb3cgdG8g Z2V0IG5ldF9kZXZpY2UgYW5kIHVzZSBzdHJ1Y3QgZXRodG9vbF9jbWQgYXQgRFBESyBlbnZlcmlu bWVudD8NCg0KSGkgU3kgSm9uZywNCg0KQnV0Li4uSSBhbSBwcm9ncmFtbWluZyBhIGRyaXZlciBu b3csIGhhdmUgYW55IHNhbXBsZSBkcml2ZXIgSSBjYW4gcmVmZXJlbmNlPw0KDQpDaG9pLCBTeSBK b25nIOaWvCAyMDE15bm0MDbmnIgxNuaXpSAxNDo0OCDlr6vpgZM6DQoNCkhpIFNjb3R0LA0KDQoN Cg0KWW91IGNhbiByZXZpZXcgRFBESyBLTkkgc2FtcGxlIGFwcCwgdGhlcmUncyBldG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