Re: [PATCH v2 1/1] net: macb: remove BUG_ON() and reset the queue to handle RX errors

2016-03-25 Thread David Miller
From: Cyrille Pitchen 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

[PATCH v2 1/1] net: macb: remove BUG_ON() and reset the queue to handle RX errors

2016-03-25 Thread Cyrille Pitchen
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