Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1378408

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

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] net-next: mediatek: add support for IRQ grouping
Date 2016-04-14 04:30 +0200
Message-ID <rnFcB-2RY-9@gated-at.bofh.it> (permalink)
References <rlmQO-82W-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: John Crispin <blogic@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@openwrt.org>

Don't do this with tasklets.

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] net-next: mediatek: add support for IRQ grouping John Crispin <blogic@openwrt.org> - 2016-04-07 20:30 +0200
  Re: [PATCH] net-next: mediatek: add support for IRQ grouping David Miller <davem@davemloft.net> - 2016-04-14 04:30 +0200

csiph-web