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

From: David Miller
Date: Wed Apr 13 2016 - 22:22:46 EST


From: John Crispin <blogic@xxxxxxxxxxx>
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@xxxxxxxxxxx>

Don't do this with tasklets.

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