From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 9A9EC95C8 for ; Tue, 2 Feb 2016 01:45:54 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP; 01 Feb 2016 16:45:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,382,1449561600"; d="scan'208";a="738703469" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 01 Feb 2016 16:45:53 -0800 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 1 Feb 2016 16:45:52 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 1 Feb 2016 16:45:52 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.117]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.209]) with mapi id 14.03.0248.002; Tue, 2 Feb 2016 08:45:49 +0800 From: "Zhang, Helin" To: Marc Thread-Topic: [dpdk-dev] [PATCH v7 3/5] ethdev: redesign link speed config API Thread-Index: AQHRWi34hQUKTA61kk2mny+0JcWB+Z8RsygAgAADtwCAAALLgIAAAcKAgAAGqgCABJlUMIABBJ4AgACPPhA= Date: Tue, 2 Feb 2016 00:45:49 +0000 Message-ID: References: <1445810400-8978-1-git-send-email-marcdevel@gmail.com> <1745156.01DTmyzyO8@xps13> <2601191342CEEE43887BDE71AB97725836B000EC@irsmsx105.ger.corp.intel.com> <14139435.dXsMv1AF6J@xps13> <2601191342CEEE43887BDE71AB97725836B0014E@irsmsx105.ger.corp.intel.com> In-Reply-To: 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 Cc: "dev@dpdk.org" Subject: [dpdk-dev] FW: [PATCH v7 3/5] ethdev: redesign link speed config API 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: Tue, 02 Feb 2016 00:45:55 -0000 DQoNCj5Gcm9tOiBtYXJjLnN1bmVAZ21haWwuY29tIFttYWlsdG86bWFyYy5zdW5lQGdtYWlsLmNv bV0gT24gQmVoYWxmIE9mIE1hcmMNCj5TZW50OiBUdWVzZGF5LCBGZWJydWFyeSAyLCAyMDE2IDg6 MDQgQU0NCj5UbzogWmhhbmcsIEhlbGluDQo+Q2M6IEFuYW55ZXYsIEtvbnN0YW50aW47IFRob21h cyBNb25qYWxvbjsgZGV2QGRwZGsub3JnOyBMdSwgV2Vuemh1bzsgSGFyaXNoIFBhdGlsOyBDaGVu LCBKaW5nIEQ7IE1jbmFtYXJhLCBKb2huDQo+U3ViamVjdDogUmU6IFtkcGRrLWRldl0gW1BBVENI IHY3IDMvNV0gZXRoZGV2OiByZWRlc2lnbiBsaW5rIHNwZWVkIGNvbmZpZyBBUEkNCj4NCj4NCj4N Cj5PbiAxIEZlYnJ1YXJ5IDIwMTYgYXQgMDE6NDAsIFpoYW5nLCBIZWxpbiA8aGVsaW4uemhhbmdA aW50ZWwuY29tPiB3cm90ZToNCj4NCj4NCj4+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+ PiBGcm9tOiBBbmFueWV2LCBLb25zdGFudGluDQo+PiBTZW50OiBGcmlkYXksIEphbnVhcnkgMjks IDIwMTYgNjoxOCBQTQ0KPj4gVG86IFRob21hcyBNb25qYWxvbg0KPj4gQ2M6IGRldkBkcGRrLm9y ZzsgTWFyYyBTdW5lOyBMdSwgV2Vuemh1bz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