From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from localhost (scalar.blr.asicdesigners.com [10.193.185.94]) by stargate.chelsio.com (8.13.8/8.13.8) with ESMTP id v5N5acAC028046; Thu, 22 Jun 2017 22:36:40 -0700 Date: Fri, 23 Jun 2017 11:06:26 +0530 From: Rahul Lakkireddy To: Martin Weiser Cc: "dev@dpdk.org" , Kumar Sanghvi , Nirranjan Kirubaharan , Indranil Choudhury 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1498126047-44989-1-git-send-email-martin.weiser@allegro-packets.com> User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [dpdk-dev] [PATCH v3] cxgbe: report 100G link speed capability for Chelsio T6 adapters X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2017 05:36:56 -0000 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