From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 5C784C6FC for ; Fri, 29 Jan 2016 17:17:48 +0100 (CET) Received: by mail-wm0-f49.google.com with SMTP id p63so75383985wmp.1 for ; Fri, 29 Jan 2016 08:17:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=dLgJjkbeCp0T/RSPPukYxTX6pPIjX75FXAfHQuL6YLs=; b=JeaBWSmxz4l6fHJmWW1ASK5W4yufw/tol4Odrm8MS8UeXY40F4Mmu3cL8+2YdLtg8E UTTw4pvj6mbxINHQD+3IOSnsxfmC5GTWSgtrPqY3scfQ7MXVM3YlBzcAgJ9SQsoK/eLr h2mHfKH55m8THksmdDy1J/9l2aZyAJUddjL0rbfZiLee6/Rmx8baAksjRCaompsboSGQ xaqK7W1Tj7whAgkqu0Kt2Ze3wUOyYaFcErH8r+/L9Xp69v/7XUrs84AWTEoaRj/Il/Md fTfS1KN8/Az6YVVBql0UFbGtFNx3/xf7mEL/w0VkHOX86Pp/9nUj/W6UmvyW1n9aYepz S12A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=dLgJjkbeCp0T/RSPPukYxTX6pPIjX75FXAfHQuL6YLs=; b=mYExEh0fMEmTJXwzdkzuwjwgAs9SV6TItkeTRBW2G1EVyL0wJu4svs4wiiKgzxj5Gh IbRBXaPhBae9x0O9WK3q3o7lG8rc46ehyZpvQw9o8t8+QpORdYLUmsXdvhVY63wLl2fc G1hGvEu/j56OwnzdJnp90bcCoabZSIimY4T3zyDeeWbl+Ib4hvJ2CGaBEXQVEW8Rk8P9 hQj9RxR9nFADb63obi1/hTdQc6Ec1ewfK6olPmcOdXo2UFQgIiBvlUgfweuEcJZKQ7Xd 5tdQkGdsWybJViw5qBCFplxLwIiKzi/wsTOpdZ12gHl//b0OX5K0Zm8Q78alHA0pRdBK FoLQ== X-Gm-Message-State: AG10YOTOQ4D3K3hqhYcnysPGk2DI5GqYyPJsNcodEAoBI5e+aOKBwjc5VGKYG6MLwwvbHZvv X-Received: by 10.28.55.209 with SMTP id e200mr10383820wma.2.1454084268186; Fri, 29 Jan 2016 08:17:48 -0800 (PST) Received: from autoinstall.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id u191sm8128728wmd.4.2016.01.29.08.17.46 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Jan 2016 08:17:47 -0800 (PST) Date: Fri, 29 Jan 2016 17:16:57 +0100 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro To: Marc Sune Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1454028127-10401-4-git-send-email-marcdevel@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) 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: Fri, 29 Jan 2016 16:17:48 -0000 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. Regards, -- Nélio Laranjeiro 6WIND