lkml.org 
[lkml]   [2014]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] net: macb: Handle errors in RX path
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 the same time, check and handle BNA and OVR into poll method
> by using the same error management.
>
> Signed-off-by: Neil Armstrong <narmstrong@neotion.com>
> ---
> drivers/net/ethernet/cadence/macb.c | 55 +++++++++++++++++++++++++++++++---
> 1 files changed, 50 insertions(+), 5 deletions(-)
>
checkpatch errors/warnings on this patch...

--
Regards,
Varka Bhadram.



\
 
 \ /
  Last update: 2014-07-18 12:41    [W:0.033 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site