Rahul Gupta 4cfbb0da7c net/bnxt: handle ring cleanup in case of error
Initialize all rings to INVALID_HW_RING_ID.
This can be used to determine the rings to free if allocation fails.

Signed-off-by: Rahul Gupta <rahul.gupta@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
2019-10-08 12:14:31 +02:00
..
2019-10-08 12:14:30 +02:00
2019-10-08 12:14:31 +02:00
2019-10-07 15:00:57 +02:00
2019-07-23 14:31:35 +02:00
2019-10-08 12:14:31 +02:00
2019-10-07 15:00:57 +02:00
2019-10-08 12:14:31 +02:00