mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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.

  reply	other threads:[~2006-05-09 19:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4450A196.2050901@de.ibm.com>
2006-05-04 21:29 ` [openib-general] " Roland Dreier
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
     [not found]             ` <OF22D08323.20D303C1-ON87257169.0063C980-88257169.006A41AB@us.ibm.com>
2006-05-09 18:36               ` [openib-general] " Roland Dreier
2006-05-09 18:44               ` Michael S. Tsirkin
     [not found]                 ` <OF9332FF11.38007290-ON87257169.00673F71-88257169.006C7F6E@us.ibm.com>
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]
     [not found]               ` <OF6CAB9865.804CAFBB-ON87257169.006C3DBC-88257169.00718277@us.ibm.com>
2006-05-09 20:20                 ` Michael S. Tsirkin
     [not found]                   ` <OFD1053717.15B4F49A-ON87257169.007531E1-88257169.007AD29E@us.ibm.com>
2006-05-10  5:33                     ` Michael S. Tsirkin
2006-05-09 23:35           ` [openib-general] " Segher Boessenkool
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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome