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

2018-01-11 Thread Ferruh Yigit
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") >

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

2018-01-10 Thread Ajit Khaparde
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 --- drivers/net/bnxt/bnx