[PATCH v2 1/1] net: macb: remove BUG_ON() and reset the queue to handle RX errors
David Miller
davem at davemloft.net
Fri Mar 25 08:44:23 PDT 2016
From: Cyrille Pitchen <cyrille.pitchen at atmel.com>
Date: Fri, 25 Mar 2016 10:37:34 +0100
> This patch removes two BUG_ON() used to notify about RX queue corruptions
> on macb (not gem) hardware without actually handling the error.
>
> The new code skips corrupted frames but still processes faultless frames.
> Then it resets the RX queue before restarting the reception from a clean
> state.
>
> This patch is a rework of an older patch proposed by Neil Armstrong:
> http://patchwork.ozlabs.org/patch/371525/
>
> Signed-off-by: Cyrille Pitchen <cyrille.pitchen at atmel.com>
> Acked-by: Neil Armstrong <narmstrong at baylibre.com>
> Acked-by: Nicolas Ferre <nicolas.ferre at atmel.com>
Applied, thank you.
More information about the linux-arm-kernel
mailing list