From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id 44D335A31 for ; Sun, 31 Jan 2016 22:24:26 +0100 (CET) Received: by mail-wm0-f65.google.com with SMTP id r129so6274400wmr.0 for ; Sun, 31 Jan 2016 13:24:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=1taA22DnJasiumG9iVI504fsYLSAa3Y9uUHfQavBFLU=; b=ZJ/A+SUnCdQA6zL0oaIUiGl7loNx9nDthx0GHcSIDQ6PRUVtZ4ilTUoMiYiUFGMwa9 QjlI/4/sfo9ZCCuIf5TMQcqIuppRqIkKuQ40tAo45tL363g72Ub7Iyu2KQTuo2IawB10 ybsp6R0dwqkNNn2N476LPaiWYcHNgF+wEclZ3giO1sN7zY7tvRhVaYRY40vtfnHyS4F3 ca6YzCZjzdS+zs+9S6EbmvAJSJ+WsjZNGT/Xb07bGK2TnFWAp/97fNUPVu/waMYWKLKe hasjdM9jMVPPz6fe8XQwViOYKxUBl0eedvinmrA8nfQ/u1QfQN0/tX7lfda79/k1J/Jp Pc7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=1taA22DnJasiumG9iVI504fsYLSAa3Y9uUHfQavBFLU=; b=mE/PyjmAgB8sDN7uHDrmeoav6/t9q86QvMPXteh00jArs02GLjngGytuBqEqV+gNnJ q8Xe0DBxn/QJF3800nDQ6nh8+zdrwRbxwlqh2YT7fQPm1VxNWVVQFvzRbbCt7TiYkXm3 gVT2oWITXsgyrM5CVlXo4+fABapvzreXCsoK7DrtPj8TkJTS/ABxhO4MZd0oeITQN/WK 9qCl1knXEjJQYSyA54swOoum60C/i/9NTgS3CQ6wFFPZ4GJXeFLAryzPY2Z4syDj5Vkb RxwIAP8VT026qiI15FXG+QoJFPwGQeTxMP5Ftv0FFFdanl7qFjCwiOx30SSI1kmWmbEM JP9Q== X-Gm-Message-State: AG10YORn8wFGxFyA91KiqRtQevyKUofqKqibDxEIDGN1KaWgvt83aq/hN+sMbiHpXMNFaUfrNIfphtmgmPyhYg== X-Received: by 10.194.142.135 with SMTP id rw7mr14763652wjb.42.1454275465682; Sun, 31 Jan 2016 13:24:25 -0800 (PST) MIME-Version: 1.0 Sender: marc.sune@gmail.com Received: by 10.27.95.202 with HTTP; Sun, 31 Jan 2016 13:24:06 -0800 (PST) In-Reply-To: <20160129161657.GA9439@autoinstall.dev.6wind.com> References: <1445810400-8978-1-git-send-email-marcdevel@gmail.com> <1454028127-10401-1-git-send-email-marcdevel@gmail.com> <1454028127-10401-4-git-send-email-marcdevel@gmail.com> <20160129161657.GA9439@autoinstall.dev.6wind.com> From: Marc Date: Sun, 31 Jan 2016 22:24:06 +0100 X-Google-Sender-Auth: IUu8_rvVsejmQFKuaJdwsxPX7xc Message-ID: To: =?UTF-8?Q?N=C3=A9lio_Laranjeiro?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v7 3/5] 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: Sun, 31 Jan 2016 21:24:26 -0000 On 29 January 2016 at 17:16, N=C3=A9lio Laranjeiro wrote: > Hi Marc, > > On Fri, Jan 29, 2016 at 01:42:05AM +0100, Marc Sune wrote: > >[...] > > /** > > - * Device supported speeds > > - */ > > -#define ETH_SPEED_CAP_NOT_PHY (0) /*< No phy media > */ > > -#define ETH_SPEED_CAP_10M_HD (1 << 0) /*< 10 Mbps half-duplex> */ > > -#define ETH_SPEED_CAP_10M_FD (1 << 1) /*< 10 Mbps full-duplex> */ > > -#define ETH_SPEED_CAP_100M_HD (1 << 2) /*< 100 Mbps > half-duplex> */ > > -#define ETH_SPEED_CAP_100M_FD (1 << 3) /*< 100 Mbps > full-duplex> */ > > -#define ETH_SPEED_CAP_1G (1 << 4) /*< 1 Gbps > */ > > -#define ETH_SPEED_CAP_2_5G (1 << 5) /*< 2.5 Gbps > */ > > -#define ETH_SPEED_CAP_5G (1 << 6) /*< 5 Gbps > */ > > -#define ETH_SPEED_CAP_10G (1 << 7) /*< 10 Mbps > */ > > -#define ETH_SPEED_CAP_20G (1 << 8) /*< 20 Gbps > */ > > -#define ETH_SPEED_CAP_25G (1 << 9) /*< 25 Gbps > */ > > -#define ETH_SPEED_CAP_40G (1 << 10) /*< 40 Gbps > */ > > -#define ETH_SPEED_CAP_50G (1 << 11) /*< 50 Gbps > */ > > -#define ETH_SPEED_CAP_56G (1 << 12) /*< 56 Gbps > */ > > -#define ETH_SPEED_CAP_100G (1 << 13) /*< 100 Gbps > */ > >[...] > > In the previous commit you update mlx4.c to use those define, in this > commit it should update it again. > Neilo, You are right, thanks. I will fix that in a new version. marc > > Regards, > > -- > N=C3=A9lio Laranjeiro > 6WIND >