From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0065.outbound.protection.outlook.com [157.56.112.65]) by dpdk.org (Postfix) with ESMTP id 56FD85938 for ; Mon, 15 Feb 2016 12:39:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=SKwFax/GnxshbgAAqaB7fFL0lEAGSunEX4wXBdzBEJo=; b=s4QB2fq8ragzgZHeXjM840PzhAi4zWX+sTr9xV+a3TdciJSLlNqafgCaaok4NdcKyx0ipJyBr8wNEEW+97zvmrLQk8TUuUl4M6O1gwjhz6/eHK26RCLPsXa1FVyoIcHiSJr5rDk/GsffTSYTB34Jgz8mthhfKqp0MdL0tq0wW1A= Received: from AM4PR05MB1651.eurprd05.prod.outlook.com (10.165.245.146) by AM4PR05MB1652.eurprd05.prod.outlook.com (10.165.245.147) with Microsoft SMTP Server (TLS) id 15.1.409.15; Mon, 15 Feb 2016 11:39:32 +0000 Received: from AM4PR05MB1651.eurprd05.prod.outlook.com ([10.165.245.146]) by AM4PR05MB1651.eurprd05.prod.outlook.com ([10.165.245.146]) with mapi id 15.01.0409.017; Mon, 15 Feb 2016 11:39:32 +0000 From: Olga Shern To: Marc , =?utf-8?B?TsOpbGlvIExhcmFuamVpcm8=?= Thread-Topic: [dpdk-dev] [PATCH v8 3/4] ethdev: redesign link speed config API Thread-Index: AQHRZ3WpLJlp9Sj8NUakuwlZGIsuR58sy9mAgAAlRQCAAApbcA== Date: Mon, 15 Feb 2016 11:39:31 +0000 Message-ID: References: <1454028127-10401-1-git-send-email-marcdevel@gmail.com> <1455488259-1000-1-git-send-email-marcdevel@gmail.com> <1455488259-1000-4-git-send-email-marcdevel@gmail.com> <20160215084639.GL14424@autoinstall.dev.6wind.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [193.47.165.251] x-microsoft-exchange-diagnostics: 1; AM4PR05MB1652; 5:pK7wDR7AsA9bO8LHQ/TROBKrsFLOIxvygiNNY8Vrc3Dn6m0WZS6uBNXkP34bJoDIGMdJ0YfvCSjRIVaDWTlDFsiYmLnSxJCRx2KQTOrrmqZPa4uQr9xVubAFxNX5Bq7knFCSAL3uncl13NuPhbr+lw==; 24:rX5tjLMUMdT/zyoVBOGt31fuVkHzdB8SOQPiVSC04NotK02tXYME//XpQ0Fv13aKT6BssTYHwCcFdPKvcGhv0Dh/fjvlGyx5FlrU5rpmZ2s= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM4PR05MB1652; x-ms-office365-filtering-correlation-id: de1dfd01-fb57-464c-6a8b-08d335fcabec x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:AM4PR05MB1652; BCL:0; PCL:0; RULEID:; SRVR:AM4PR05MB1652; x-forefront-prvs: 08534B37A7 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(6009001)(24454002)(13464003)(377454003)(122556002)(74316001)(10400500002)(5003600100002)(4326007)(66066001)(2906002)(2950100001)(5008740100001)(2900100001)(33656002)(54356999)(50986999)(5001960100002)(92566002)(76176999)(189998001)(77096005)(106356001)(106116001)(1096002)(1220700001)(76576001)(5002640100001)(40100003)(19580395003)(15975445007)(87936001)(3846002)(586003)(6116002)(102836003)(3660700001)(5004730100002)(93886004)(5001770100001)(3280700002)(86362001)(19580405001)(11100500001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB1652; H:AM4PR05MB1651.eurprd05.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Feb 2016 11:39:32.0237 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB1652 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v8 3/4] 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: Mon, 15 Feb 2016 11:39:33 -0000 SGkgTWFyYywgDQoNCllvdSBjYW4gZG93bmxvYWQgTUxOWF9PRkVEIGZyb20gTWVsbGFub3ggd2Vi IHNpdGU6DQpodHRwOi8vd3d3Lm1lbGxhbm94LmNvbS9wYWdlL3Byb2R1Y3RzX2R5bj9wcm9kdWN0 X2ZhbWlseT0yNiZtdGFnPWxpbnV4X3N3X2RyaXZlcnMNCg0KQmVzdCBSZWdhcmRzLA0KT2xnYQ0K DQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogZGV2IFttYWlsdG86ZGV2LWJvdW5j ZXNAZHBkay5vcmddIE9uIEJlaGFsZiBPZiBNYXJjDQpTZW50OiBNb25kYXksIEZlYnJ1YXJ5IDE1 LCAyMDE2IDE6MDAgUE0NClRvOiBOw6lsaW8gTGFyYW5qZWlybw0KQ2M6IGRldkBkcGRrLm9yZw0K U3ViamVjdDogUmU6IFtkcGRrLWRldl0gW1BBVENIIHY4IDMvNF0gZXRoZGV2OiByZWRlc2lnbiBs aW5rIHNwZWVkIGNvbmZpZyBBUEkNCg0KT24gMTUgRmVicnVhcnk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wcml2LCAmaWZuYW1lKSA9PSAwKQ0KPiA+ICAg ICAgICAgICAgICAgaW5mby0+aWZfaW5kZXggPSBpZl9uYW1ldG9pbmRleChpZm5hbWUpOw0KPiA+ DQo+ID4gLSAgICAgaW5mby0+c3BlZWRfY2FwYSA9IEVUSF9TUEVFRF9DQVBfMTBHIHxFVEhfU1BF RURfQ0FQXzQwRyB8DQo+ID4gLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBF VEhfU1BFRURfQ0FQXzU2RzsNCj4gPiArICAgICBpbmZvLT5zcGVlZF9jYXBhID0gRVRIX0xJTktf U1BFRURfMTBHIHxFVEhfTElOS19TUEVFRF80MEcgfA0KPiA+ICsgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgRVRIX0xJTktfU1BFRURfNTZHOw0KPiA+DQo+ID4gICAgICAgcHJp dl91bmxvY2socHJpdik7DQo+ID4gIH0NCj4gPiBAQCAtNDYzNiw2ICs0NjM2LDggQEAgbWx4NF9s aW5rX3VwZGF0ZV91bmxvY2tlZChzdHJ1Y3QgcnRlX2V0aF9kZXYgDQo+ID4gKmRldiwNCj4gaW50 IHdhaXRfdG9fY29tcGxldGUpDQo+ID4gICAgICAgICAgICAgICBkZXZfbGluay5saW5rX3NwZWVk ID0gbGlua19zcGVlZDsNCj4gPiAgICAgICBkZXZfbGluay5saW5rX2R1cGxleCA9ICgoZWRhdGEu ZHVwbGV4ID09IERVUExFWF9IQUxGKSA/DQo+ID4gICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgRVRIX0xJTktfSEFMRl9EVVBMRVggOg0KPiBFVEhfTElOS19GVUxMX0RVUExFWCk7DQo+ID4g KyAgICAgZGV2X2xpbmsubGlua19hdXRvbmVnID0gfihkZXYtPmRhdGEtPmRldl9jb25mLmxpbmtf c3BlZWRzICYNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgDQo+ID4gKyBFVEhfTElOS19TUEVF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