From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A30C0567C for ; Thu, 31 Mar 2016 02:57:35 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 30 Mar 2016 17:57:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,419,1455004800"; d="scan'208,217";a="944880481" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 30 Mar 2016 17:57:34 -0700 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 30 Mar 2016 17:57:34 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 30 Mar 2016 17:57:33 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.136]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.42]) with mapi id 14.03.0248.002; Thu, 31 Mar 2016 08:57:31 +0800 From: "Xing, Beilei" To: Marc CC: Thomas Monjalon , "Xu, Qian Q" , "dev@dpdk.org" , "Ananyev, Konstantin" , "Lu, Wenzhuo" , "Richardson, Bruce" , "Glynn, Michael J" Thread-Topic: [PATCH v13 6/8] ethdev: redesign link speed config Thread-Index: AQHRhv7FAGMl0PYThkewrz6ERZN6a59v9nYggAEpnQCAAaHb4A== Date: Thu, 31 Mar 2016 00:57:30 +0000 Message-ID: <94479800C636CB44BD422CB454846E01332CCC@SHSMSX101.ccr.corp.intel.com> References: <1458934950-23333-1-git-send-email-thomas.monjalon@6wind.com> <1458955640-22951-1-git-send-email-marcdevel@gmail.com> <1458955640-22951-7-git-send-email-marcdevel@gmail.com> <94479800C636CB44BD422CB454846E01332447@SHSMSX101.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOGU2ODBjYjgtZjQzMi00Yzg2LWJmZDctZDg4NGM4MTNlNzEwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlhkcWg1WXRBY1JZK09kNnVvU1FzT0dvWVJkMHY5d25oRDlSbzlMREtcL1FZPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] 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] [PATCH v13 6/8] ethdev: redesign link speed config 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: Thu, 31 Mar 2016 00:57:36 -0000 TWFyYywNCg0KSeKAmXZlIHZlcmlmaWVkIHYxMyArIHRoZSBtb2RpZmljYXRpb24sIGFuZCBpdCB3 b3Jrcy4NCg0KQmVzdCBSZWdhcmRzDQpCZWlsZWkgWGluZw0KDQpGcm9tOiBtYXJjLnN1bmVAZ21h aWwuY29tIFttYWlsdG86bWFyYy5zdW5lQGdtYWlsLmNvbV0gT24gQmVoYWxmIE9mIE1hcmMNClNl bnQ6IFdlZG5lc2RheSwgTWFyY2ggMzAsIDIwMTYgNDowMCBQTQ0KVG86IFhp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g IHNwZWVkID0gKGh3LT5tYWMudHlwZSAhPSBpeGdiZV9tYWNfODI1OThFQikgPw0KICAgICAgICAg ICAgICAgICAgICAgICAgSVhHQkVfTElOS19TUEVFRF84MjU5OV9BVVRPTkVHIDoNCiAgICAgICAg ICAgICAgICAgICAgICAgIElYR0JFX0xJTktfU1BFRURfODI1OThfQVVUT05FRzsNCiAgICAgICAg ZWxzZSB7DQogICAgICAgICAgICAgICAgaWYgKCpsaW5rX3NwZWVkcyAmIEVUSF9MSU5LX1NQRUVE XzEwRykNCiAgICAgICAgICAgICAgICAgICAgICAgIHNwZWVkIHw9IElYR0JFX0xJTktfU1BFRURf MTBHQl9GVUxMOw0KICAgICAgICAgICAgICAgIGlmICgqbGlua19zcGVlZHMgJiBFVEhfTElOS19T UEVFRF8xRykNCiAgICAgICAgICAgICAgICAgICAgICAgIHNwZWVkIHw9IElYR0JFX0xJTktfU1BF RURfMUdCX0ZVTEw7DQogICAgICAgICAgICAgICAgaWYgKCpsaW5rX3NwZWVkcyAmIEVUSF9MSU5L X1NQRUVEXzEwME0pDQogICAgICAgICAgICAgICAgICAgICAgICBzcGVlZCB8PSBJWEdCRV9MSU5L X1NQRUVEXzEwMF9GVUxMOw0KICAgICAgICB9DQoNCkJlaWxlaSwNCg0KT0ssIHRoYW5rcy4NCg0K Q2FuIHlvdS9zb21lb25lIHBsZWFzZSB0cnkgdjEzICsgdGhpcyBtb2RpZmljYXRpb24sIHNvIHRo YXQgd2UgbWFrZSBzdXJlIHRoaXMgaXMgdGhlIGZpbmFsIHZlcnNpb24gZm9yIGl4Z2JlPw0KDQpS ZWdhcmRzDQpNYXJjDQoNCg0KQmVpbGVpIFhpbmcNClRoYW5rcw0KDQo=