bnxt_en: Add workaround to detect bad opaque in rx completion (part 2)
Orabug:
23221795
Add detection and recovery code when the hardware returned opaque value
does not match the expected consumer index. Once the issue is detected,
we skip the processing of all RX and LRO/GRO packets. These completion
entries are discarded without sending the SKB to the stack and without
producing new buffers. The function will be reset from a workqueue.
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit
fa7e28127a5ad9fd55ac9c7707d8c8b835113a7c)
Signed-off-by: Brian Maly <brian.maly@oracle.com>