From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4 0/2] ethdev: add port speed capability bitmap Date: Wed, 09 Sep 2015 15:33:56 +0200 Message-ID: <2699193.9riTyGPe1z@xps13> References: <20150909131037.GA25122@autoinstall.dev.6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: =?ISO-8859-1?Q?N=E9lio?= Laranjeiro Return-path: Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by dpdk.org (Postfix) with ESMTP id 125013777 for ; Wed, 9 Sep 2015 15:35:06 +0200 (CEST) Received: by wicfx3 with SMTP id fx3so22067247wic.0 for ; Wed, 09 Sep 2015 06:35:05 -0700 (PDT) In-Reply-To: <20150909131037.GA25122@autoinstall.dev.6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-09-09 15:10, N=E9lio Laranjeiro: > I think V2 is better, maybe you can add a function to convert a singl= e > bitmap value to the equivalent integer and get rid of ETH_SPEED_XXX m= acros. >=20 > Thomas what is your opinion? Your proposal looks good Nelio. Thanks