]> git.baikalelectronics.ru Git - kernel.git/commit
net-next: mediatek: split IRQ register locking into TX and RX
authorJohn Crispin <john@phrozen.org>
Mon, 19 Jun 2017 13:37:05 +0000 (15:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jun 2017 17:40:35 +0000 (13:40 -0400)
commitf462ea831723c8966d9f101d0c85cf8e47997794
tree553551f87fa8e7dac0859d7d9c5171b447b8da5a
parentc583c7cd00c319b78507669cc7ba2696484500ef
net-next: mediatek: split IRQ register locking into TX and RX

Originally the driver only utilised the new QDMA engine. The current code
still assumes this is the case when locking the IRQ mask register. Since
RX now runs on the old style PDMA engine we can add a second lock. This
patch reduces the IRQ latency as the TX and RX path no longer need to wait
on each other under heavy load.

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