From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rahul Lakkireddy Subject: Re: [PATCH v3] cxgbe: report 100G link speed capability for Chelsio T6 adapters Date: Fri, 23 Jun 2017 11:06:26 +0530 Message-ID: <20170623053625.GA30596@chelsio.com> References: <1498126047-44989-1-git-send-email-martin.weiser@allegro-packets.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: "dev@dpdk.org" , Kumar Sanghvi , Nirranjan Kirubaharan , Indranil Choudhury To: Martin Weiser Return-path: Received: from stargate.chelsio.com (stargate.chelsio.com [12.32.117.8]) by dpdk.org (Postfix) with ESMTP id 36C8D2C37 for ; Fri, 23 Jun 2017 07:36:55 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1498126047-44989-1-git-send-email-martin.weiser@allegro-packets.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Martin, On Thursday, June 06/22/17, 2017 at 15:37:27 +0530, Martin Weiser wrote: > These adapters support 100G link speed but the speed_capa bitmask in the > device info did not reflect that. > > Signed-off-by: Martin Weiser > --- >  drivers/net/cxgbe/cxgbe_ethdev.c | 3 +++ >  1 file changed, 3 insertions(+) > > diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c > b/drivers/net/cxgbe/cxgbe_ethdev.c > index b622d25..1e56529 100644 > --- a/drivers/net/cxgbe/cxgbe_ethdev.c > +++ b/drivers/net/cxgbe/cxgbe_ethdev.c > @@ -176,6 +176,9 @@ static void cxgbe_dev_info_get(struct rte_eth_dev > *eth_dev, >          device_info->rx_desc_lim = cxgbe_desc_lim; >          device_info->tx_desc_lim = cxgbe_desc_lim; >          device_info->speed_capa = ETH_LINK_SPEED_10G | > ETH_LINK_SPEED_40G; > + > +       if (CHELSIO_CHIP_VERSION(adapter->params.chip) == CHELSIO_T6) > +               device_info->speed_capa |= ETH_LINK_SPEED_100G; >  } >   >  static void cxgbe_dev_promiscuous_enable(struct rte_eth_dev *eth_dev) > -- > 2.7.4 Thanks for the patch. However, not all Chelsio T6 adapters support 10G/40G/100G link speeds at the same time. I have a patch to report the supported link speeds correctly and is currently undergoing testing. I will submit the patch very soon. Thanks, Rahul