[dpdk-dev] [PATCH] net/bnxt: fix check for on-chip resources

Ferruh Yigit ferruh.yigit at intel.com
Thu Jan 11 19:27:26 CET 2018


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 <ajit.khaparde at broadcom.com>

Squashed into relevant commit in next-net, thanks.


More information about the dev mailing list