summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c
diff options
context:
space:
mode:
authorJose Abreu <jose.abreu@synopsys.com>2019-02-19 12:38:48 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-22 02:42:34 +0300
commit1103d3a5531ce60fa1f8ecaaa95d6f3558b77a29 (patch)
treec95126415fd8d7fd716cbbc78f61a2ab4df4afef /drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c
parent4ccb45857c2c0776d0f72e39768295062c1a0de1 (diff)
downloadlinux-1103d3a5531ce60fa1f8ecaaa95d6f3558b77a29.tar.xz
net: stmmac: dwmac4: Also use TBU interrupt to clean TX path
TBU interrupt is a normal interrupt and can be used to trigger the cleaning of TX path. Lets check if it's active in DMA interrupt handler. While at it, refactor a little bit the function: - Don't check if RI is enabled because at function exit we will only clear the interrupts that are enabled so, no event will be missed. In my tests with GMAC5 this increased performance. Signed-off-by: Jose Abreu <joabreu@synopsys.com> Cc: Joao Pinto <jpinto@synopsys.com> Cc: David S. Miller <davem@davemloft.net> Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com> Cc: Alexandre Torgue <alexandre.torgue@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c')
0 files changed, 0 insertions, 0 deletions