From: Ferruh Yigit Subject: Re: [PATCH] net/bnxt: fix check for on-chip resources Date: Thu, 11 Jan 2018 18:27:26 +0000 Message-ID: References: <20180110221216.94484-1-ajit.khaparde@broadcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Ajit Khaparde , dev@dpdk.org Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id D8EEF1B29B for ; Thu, 11 Jan 2018 19:27:29 +0100 (CET) In-Reply-To: <20180110221216.94484-1-ajit.khaparde@broadcom.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 1/10/2018 10:12 PM, Ajit Khaparde wrote: > In some cases tx_nr_rings/rx_nr_rings may not be initialized. > In those scenarios, we may wrongly fail device initialization. > This patch fixes it. Use max_tx_rings/max_rx_rings instead. > > Fixes: 2da0426e7cf8 ("net/bnxt: check on-chip resources") > Signed-off-by: Ajit Khaparde Squashed into relevant commit in next-net, thanks.