• M
    [NIU]: Fix slowpath interrupt handling. · 406f353c
    Matheos Worku 提交于
    niu_slowpath_interrupt() expects values to be setup in lp->{v0,v1,v2}
    but they aren't.  That's only done by niu_schedule_napi() which is
    done later in the interrupt path.
    
    If niu_rx_error() returns zero, and v0 is clear, hit the
    RX_DMA_CTL_STATE register with a RX_DMA_CTL_STAT_MEX.
    
    Only emit verbose RX error logs if a fatal channel or port error is
    signalled.  Other cases will be recorded into statistics by
    niu_log_rxchan_errors().
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    406f353c
niu.c 174.8 KB