]> git.baikalelectronics.ru Git - kernel.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)
commit05312f4ce8a3f1b5fb8b4aa09005d47c17cbd7c2
tree173febe3e6275b596295a2ffec1e9e8c06669589
parent9895d46d40459b5ec66b776869a33c60fce968fa
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