]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net-next: mediatek: add support for IRQ grouping
authorJohn Crispin <john@phrozen.org>
Wed, 29 Jun 2016 11:38:11 +0000 (13:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jun 2016 12:52:04 +0000 (08:52 -0400)
commit8067302973a1959605af1124e828cbb3e66f2a3c
tree173febe3e6275b596295a2ffec1e9e8c06669589
parent7bc9ccec34f5260bf698de5d5c0366b6c6ef6c9e
net-next: mediatek: add support for IRQ grouping

The ethernet core has 3 IRQs. Using the IRQ grouping registers we are able
to separate TX and RX IRQs, which allows us to service them on separate
cores. This patch splits the IRQ handler into 2 separate functions, one for
TX and another for RX. The TX housekeeping is split out into its own NAPI
handler.

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