Santoshkumar Karanappa Rastapur 01829dea73 net/bnxt: fix buffer allocation reattempt
In case of a buffer allocation failure, we reattempt buffer allocation
before the Rx handler exits. We were not attempting this when producer
index is greater than the number of buffers to allocate. Fixed it with
correct checks.

Fixes: d9dd0b29ed31 ("net/bnxt: fix Rx handling and buffer allocation logic")
Cc: stable@dpdk.org

Signed-off-by: Santoshkumar Karanappa Rastapur <santosh.rastapur@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
2020-02-14 12:42:12 +01:00
..
2020-02-05 09:51:19 +01:00
2020-02-05 09:51:19 +01:00
2019-11-08 23:15:04 +01:00
2019-10-08 12:14:32 +02:00
2020-02-05 09:51:20 +01:00
2019-10-08 12:14:32 +02:00
2020-02-05 09:51:19 +01:00
2019-11-08 23:15:04 +01:00