In certain circumstances, the MACB fails to write correct RX ringcheckpatch errors/warnings on this patch...
descriptor, and lead to actually managed by BUG_ON() error cases.
Handle these two cases by returning error values, while resetting
the RX ring and RX HW path in the poll methos.
In the same time, check and handle BNA and OVR into poll method
by using the same error management.
Signed-off-by: Neil Armstrong <narmstrong@xxxxxxxxxxx>
---
drivers/net/ethernet/cadence/macb.c | 55 +++++++++++++++++++++++++++++++---
1 files changed, 50 insertions(+), 5 deletions(-)