From: Stephen Hemminger <shemminger@osdl.org>
To: linux-kernel@vger.kernel.org
Subject: Re: [openib-general] Re: [PATCH 07/16] ehca: interrupt handling routines
Date: Tue, 9 May 2006 12:04:21 -0700 [thread overview]
Message-ID: <20060509120421.6ac3f15c@localhost.localdomain> (raw)
In-Reply-To: 40FCD6B6-9135-43C1-8974-E9070475DB78@schihei.de
On Tue, 9 May 2006 20:57:01 +0200
Heiko J Schick <info@schihei.de> wrote:
> On 09.05.2006, at 18:49, Michael S. Tsirkin wrote:
>
> >> The trivial way to do it would be to use the same idea as the current
> >> ehca driver: just create a thread for receive CQ events and a thread
> >> for send CQ events, and defer CQ polling into those two threads.
> >
> > For RX, isn't this basically what NAPI is doing?
> > Only NAPI seems better, avoiding interrupts completely and avoiding
> > latency hit
> > by only getting triggered on high load ...
>
> Does NAPI schedules CQ callbacks to different CPUs or stays the callback
> (handling of data, etc.) on the same CPU where the interrupt came in?
>
NAPI runs callback on same cpu that called netif_rx_schedule.
This has benefit of cache location and reduces locking overhead.
next prev parent reply other threads:[~2006-05-09 19:04 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-27 10:48 [PATCH 07/16] ehca: interrupt handling routines Heiko J Schick
2006-05-04 21:29 ` [openib-general] " Roland Dreier
2006-05-04 21:29 ` Roland Dreier
2006-05-05 13:05 ` Heiko J Schick
2006-05-05 13:05 ` Heiko J Schick
2006-05-05 14:49 ` Roland Dreier
2006-05-09 12:35 ` Heiko J Schick
2006-05-09 16:23 ` Roland Dreier
2006-05-09 16:49 ` Michael S. Tsirkin
2006-05-09 16:49 ` Michael S. Tsirkin
2006-05-09 18:27 ` [openib-general] " Shirley Ma
2006-05-09 18:36 ` Roland Dreier
2006-05-09 18:36 ` Roland Dreier
2006-05-09 18:44 ` Shirley Ma
2006-05-09 18:44 ` Michael S. Tsirkin
2006-05-09 18:44 ` Michael S. Tsirkin
2006-05-09 18:51 ` Shirley Ma
2006-05-09 18:55 ` Michael S. Tsirkin
2006-05-09 18:55 ` Michael S. Tsirkin
2006-05-09 18:57 ` [openib-general] " Heiko J Schick
2006-05-09 19:04 ` Stephen Hemminger [this message]
2006-05-09 19:46 ` Shirley Ma
2006-05-09 20:20 ` Michael S. Tsirkin
2006-05-09 20:20 ` Michael S. Tsirkin
2006-05-09 21:28 ` Shirley Ma
2006-05-10 5:33 ` Michael S. Tsirkin
2006-05-10 5:33 ` Michael S. Tsirkin
2006-05-09 23:35 ` [openib-general] " Segher Boessenkool
2006-05-09 23:35 ` Segher Boessenkool
2006-05-09 13:15 ` Christoph Hellwig
2006-05-09 13:15 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060509120421.6ac3f15c@localhost.localdomain \
--to=shemminger@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.