Re: [PATCH 2/2] net: macb: Handle errors in RX path

2014-07-18 Thread Varka Bhadram
On 07/18/2014 03:23 PM, Neil Armstrong wrote: In certain circumstances, the MACB fails to write correct RX ring 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

[PATCH 2/2] net: macb: Handle errors in RX path

2014-07-18 Thread Neil Armstrong
In certain circumstances, the MACB fails to write correct RX ring 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

[PATCH 2/2] net: macb: Handle errors in RX path

2014-07-18 Thread Neil Armstrong
In certain circumstances, the MACB fails to write correct RX ring 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

Re: [PATCH 2/2] net: macb: Handle errors in RX path

2014-07-18 Thread Varka Bhadram
On 07/18/2014 03:23 PM, Neil Armstrong wrote: In certain circumstances, the MACB fails to write correct RX ring 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