net: stmmac: introduce DMA interrupt status masking per traffic direction
In preparation to make stmmac support multi-vector MSI, we introduce the interrupt status masking according to RX, TX or RXTX. Default to use RXTX inside stmmac_dma_interrupt(), so there is no run-time logic difference now. Signed-off-by:Ong Boon Leong <boon.leong.ong@intel.com> Signed-off-by:
Voon Weifeng <weifeng.voon@intel.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/stmicro/stmmac/common.h 6 additions, 0 deletionsdrivers/net/ethernet/stmicro/stmmac/common.h
- drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c 23 additions, 1 deletiondrivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c
- drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h 20 additions, 1 deletiondrivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h
- drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c 6 additions, 1 deletiondrivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c
- drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h 21 additions, 1 deletiondrivers/net/ethernet/stmicro/stmmac/dwmac_dma.h
- drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c 7 additions, 1 deletiondrivers/net/ethernet/stmicro/stmmac/dwmac_lib.c
- drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h 6 additions, 0 deletionsdrivers/net/ethernet/stmicro/stmmac/dwxgmac2.h
- drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c 7 additions, 1 deletiondrivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c
- drivers/net/ethernet/stmicro/stmmac/hwif.h 1 addition, 1 deletiondrivers/net/ethernet/stmicro/stmmac/hwif.h
- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 4 additions, 3 deletionsdrivers/net/ethernet/stmicro/stmmac/stmmac_main.c
Loading
Please register or sign in to comment