From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by dpdk.org (Postfix) with ESMTP id 3138D91B4 for ; Tue, 15 Sep 2015 11:06:28 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Date: Tue, 15 Sep 2015 11:06:21 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC358AF3C0@smartserver.smartshare.dk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap Thread-Index: AdDvNQkECIOLnantRM+mnTPWUDsFNgAA0kiQABSOxvA= References: <20150909131037.GA25122@autoinstall.dev.6wind.com><2699193.9riTyGPe1z@xps13><2046894.c3eJ0QZGuc@xps13><98CBD80474FA8B44BF855DF32C47DC358AF3B7@smartserver.smartshare.dk> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Marc Sune" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap 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, 15 Sep 2015 09:06:28 -0000 TWFyYywgaGVyZSdzIGEgY291cGxlIG9mIGRldGFpbHMgdGhhdCBJIG1pc3NlZCBpbiBteSBlbWFp bCBiZWxvdzoNCg0KQ29ycmVjdGlvbjogMTAwMEJBU0UtVCBhbmQgMTAwMEJBU0UtWCBhbHNvIGhh dmUgaGFsZiBkdXBsZXgsIHNvIGZ1bGwvaGFsZiBkdXBsZXggaXMgcmVsZXZhbnQgZm9yIDEwLCAx MDAgYW5kIDEwMDAgTWJpdC9zIHNwZWVkcy4NCg0KVGhlIGJpdG1h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