From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
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 <dev@dpdk.org>; Wed,  9 Sep 2015 15:35:06 +0200 (CEST)
Received: by wicfx3 with SMTP id fx3so22067247wic.0
 for <dev@dpdk.org>; Wed, 09 Sep 2015 06:35:05 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:organization
 :user-agent:in-reply-to:references:mime-version
 :content-transfer-encoding:content-type;
 bh=7Fyb3nvF+P4i8/Sd/YZMZuUwc0WVtVAq3t75YCz6/2w=;
 b=FMgGHFvcu0LOxauNQrpv1AoFzHdTnDtwsI3qDkEcQ7ve4BS+XdYd40Bj7AOAcOPl9J
 f+jmK6JJe9DrsvBkAQGMiG9Br1jTUbKVA9Sn00KM4MOnwX/6iDtVx/zO7OWnd0cI8YDq
 zX74WjTPB7DaIG1cKoNjvTjoeUjP+crL+Tuh7nnSQ6iTZbFKNiB0uWpBBqEun5iK8r3F
 8ir5WDOyREJHU8O3yHnaqdeIXpvGpS2ft7iqDHetEXao3kyYffS2FxB8XPhXsuQMcBTq
 kdEEfvNQMXvy9uoHLUBUKq0jgG6uDEANnmF8QyI876AHafg9bt5c+rH1cRnzJSUdvY8X
 1ItQ==
X-Gm-Message-State: ALoCoQndrY2kSMxcHisbAyYRjiKtT/dHTr48DsxaziC8BnMuokTyRHYb/xWqsLRtXPyoI/Up6pI/
X-Received: by 10.194.122.162 with SMTP id lt2mr34930567wjb.46.1441805705599; 
 Wed, 09 Sep 2015 06:35:05 -0700 (PDT)
Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net.
 [82.239.227.177])
 by smtp.gmail.com with ESMTPSA id kb9sm8574222wjb.49.2015.09.09.06.35.04
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 09 Sep 2015 06:35:05 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: =?ISO-8859-1?Q?N=E9lio?= Laranjeiro <nelio.laranjeiro@6wind.com>
Date: Wed, 09 Sep 2015 15:33:56 +0200
Message-ID: <2699193.9riTyGPe1z@xps13>
Organization: 6WIND
User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; )
In-Reply-To: <20150909131037.GA25122@autoinstall.dev.6wind.com>
References: <20150909131037.GA25122@autoinstall.dev.6wind.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"
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 <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Sep 2015 13:35:06 -0000

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