-
- Downloads
net: stmmac: xgmac: fix handling of DPP safety error for DMA channels
Commit 56e58d6c ("net: stmmac: Implement Safety Features in XGMAC core") checks and reports safety errors, but leaves the Data Path Parity Errors for each channel in DMA unhandled at all, lead to a storm of interrupt. Fix it by checking and clearing the DMA_DPP_Interrupt_Status register. Fixes: 56e58d6c ("net: stmmac: Implement Safety Features in XGMAC core") Signed-off-by:Furong Xu <0x1207@gmail.com> Reviewed-by:
Simon Horman <horms@kernel.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/stmicro/stmmac/common.h 1 addition, 0 deletionsdrivers/net/ethernet/stmicro/stmmac/common.h
- drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h 3 additions, 0 deletionsdrivers/net/ethernet/stmicro/stmmac/dwxgmac2.h
- drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 56 additions, 1 deletiondrivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c
Loading
Please register or sign in to comment