From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 8C32E95D1 for ; Mon, 15 Feb 2016 09:43:41 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id g62so138903614wme.0 for ; Mon, 15 Feb 2016 00:43:41 -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=lFaOxhI1uUxHA7vAlxw/eCRHk8dTonQgyGhg6SB5b7c=; b=g3SrR24eOumaqb9AYGOFdcpNmUqy3VnqzL4w3ipXZFJY9t3DSPa9FA9JyJ+sYSDnU/ 7tNgfCvzGOgrXg4dp7w+b2F4a90rxgIUMLVa7Z3HGBeMLQEwP5ejedrkkgFhqgVIfZXy 8RHxrlUT1avpNI7NfBR6ulINh34tnTDlkeXKEPr19063n+Z1DPFVKufs2Me8Wll5YdCE +1bmc1BYBRvHiMHBeXmOir7LHsFRoA6ADFi/kIt7nuXekGTdPO5KOm+VYMeB1MKJH7Pp IcO3+ZuWriMoXYr6DnlG9RKyjy4TgriHbSHRvjBbFRYl2r175eh3Jg+fFxnrRI/EGI/B TKNw== 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=lFaOxhI1uUxHA7vAlxw/eCRHk8dTonQgyGhg6SB5b7c=; b=XGaIC8oWkEYaA/XnoksT6HgX31o0Mw1lBC/3+Xte1R+ah6es3UZELY3Ukr4KBCUd/F MGdATFbCwzpDm8h/Xj9MYP+6+98aP5VhZVm5UXwiJSJs8JkiDd/L/1V1wcXCCXFUdEv4 wJWZMy3yoeqa0HnBhFhZTx6RqQS0ZHHqY3+IClTsOTQcb6537gblEN3p3jt1efn7ua+d uMYPEVpwkRCqxheOfBaPt9c8gD3bwT8ctJ0DqJO84ep7TOhXJCD/olggISUGtpzDIgi5 chWY7Zxx1/8kSmxCwCcSfV6sE8rtqTAk/VLL9eUcF3h5reKspr1Ky74EiYf9cODLM26d NNYA== X-Gm-Message-State: AG10YOQXG40BO0zU6ycqioJEVaXsk3QZ3MonyB/Q+kIyvu1Wd7HG8aOq2Ie8NeoOz1gJHMVC X-Received: by 10.194.109.232 with SMTP id hv8mr14487150wjb.161.1455525821340; Mon, 15 Feb 2016 00:43:41 -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 q129sm14623301wmd.14.2016.02.15.00.43.39 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 15 Feb 2016 00:43:40 -0800 (PST) Date: Mon, 15 Feb 2016 09:43:21 +0100 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro To: Marc Sune Message-ID: <20160215084321.GK14424@autoinstall.dev.6wind.com> References: <1454028127-10401-1-git-send-email-marcdevel@gmail.com> <1455488259-1000-1-git-send-email-marcdevel@gmail.com> <1455488259-1000-3-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: <1455488259-1000-3-git-send-email-marcdevel@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v8 2/4] ethdev: Fill speed capability bitmaps in the PMDs 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: Mon, 15 Feb 2016 08:43:41 -0000 On Sun, Feb 14, 2016 at 11:17:37PM +0100, Marc Sune wrote: > Added speed capabilities to all pmds supporting physical NICs: > > * e1000 > * ixgbe > * i40 > * bnx2x > * cxgbe > * mlx4 > * mlx5 > * nfp > * fm10k >[...] > diff --git a/drivers/net/mlx5/mlx5_ethdev.c b/drivers/net/mlx5/mlx5_ethdev.c > index 1159fa3..99dac09 100644 > --- a/drivers/net/mlx5/mlx5_ethdev.c > +++ b/drivers/net/mlx5/mlx5_ethdev.c > @@ -523,6 +523,11 @@ mlx5_dev_infos_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *info) > * size if it is not fixed. > * The API should be updated to solve this problem. */ > info->reta_size = priv->ind_table_max_size; > + > + info->speed_capa = ETH_SPEED_CAP_1G | ETH_SPEED_CAP_10G | > + ETH_SPEED_CAP_10G | ETH_SPEED_CAP_40G | > + ETH_SPEED_CAP_56G; > + > priv_unlock(priv); > } Hi Marc, I have a question about this information, is it a list of the capabilities of the family or the capability of the NIC? Because with ConnectX4 family we have a range of NICs which does not support all this kind of speeds. The speeds above are not completed the range is 1/10/25/40/50/100G. -- Nélio Laranjeiro 6WIND