[PATCH] net-next: mediatek: add support for IRQ grouping

David Miller davem at davemloft.net
Wed Apr 13 19:22:38 PDT 2016


From: John Crispin <blogic at openwrt.org>
Date: Thu,  7 Apr 2016 20:24:59 +0200

> 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 of the NAPI
> handler. Instead we use a tasklet to handle housekeeping.
> 
> Signed-off-by: John Crispin <blogic at openwrt.org>

Don't do this with tasklets.

Do your TX reclaim in a NAPI poll just like the RX side.



More information about the Linux-mediatek mailing list