Re: [PATCH] net/bnxt: fail init when mbuf allocation fails

2021-11-18 Thread Ajit Khaparde
On Thu, Nov 18, 2021 at 9:40 PM Ajit Khaparde wrote: > > Fix driver init when Rx mbuf allocation fails. > If we continue to use the driver with whatever rings were > created successfully, it can cause unexpected behavior. > > Signed-off-by: Ajit Khaparde > Reviewed-by: Somnath Kotur > Reviewed-b

[PATCH] net/bnxt: fail init when mbuf allocation fails

2021-11-18 Thread Ajit Khaparde
Fix driver init when Rx mbuf allocation fails. If we continue to use the driver with whatever rings were created successfully, it can cause unexpected behavior. Signed-off-by: Ajit Khaparde Reviewed-by: Somnath Kotur Reviewed-by: Kalesh AP --- drivers/net/bnxt/bnxt_hwrm.c | 41