]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net-next: mediatek: add RX IRQ delay support
authorJohn Crispin <john@phrozen.org>
Mon, 19 Jun 2017 13:37:04 +0000 (15:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jun 2017 17:40:34 +0000 (13:40 -0400)
commit671d41e60dbd8943ce069137b312f834a483c582
tree0092830c03c6364b14db21b9b1884044a4e8be49
parent5969c42768ed6d19e8a61d1ac60e5c8bee8fe9d0
net-next: mediatek: add RX IRQ delay support

The PDMA engine used for RX allows IRQ aggregation. The patch sets up the
corresponding registers to aggregate 4 IRQs into one. Using aggregation
reduces the load on the core handling to a quarter thus reducing IRQ
latency and increasing RX performance by around 10%.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h