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 hitby 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? Regards, Heiko - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [openib-general] Re: [PATCH 07/16] ehca: interrupt handling routines
- From: Stephen Hemminger <[email protected]>
- Re: [openib-general] Re: [PATCH 07/16] ehca: interrupt handling routines
- References:
- Re: [openib-general] [PATCH 07/16] ehca: interrupt handling routines
- From: Roland Dreier <[email protected]>
- Re: [openib-general] [PATCH 07/16] ehca: interrupt handling routines
- From: Heiko J Schick <[email protected]>
- Re: [openib-general] [PATCH 07/16] ehca: interrupt handling routines
- From: Roland Dreier <[email protected]>
- Re: [openib-general] [PATCH 07/16] ehca: interrupt handling routines
- From: Heiko J Schick <[email protected]>
- Re: [openib-general] [PATCH 07/16] ehca: interrupt handling routines
- From: Roland Dreier <[email protected]>
- Re: [PATCH 07/16] ehca: interrupt handling routines
- From: "Michael S. Tsirkin" <[email protected]>
- Re: [openib-general] [PATCH 07/16] ehca: interrupt handling routines
- Prev by Date: Re: [RFC PATCH 34/35] Add the Xen virtual network device driver.
- Next by Date: Re: [PATCH 1/3] Vectorize aio_read/aio_write methods
- Previous by thread: Re: Re: [PATCH 07/16] ehca: interrupt handling routines
- Next by thread: Re: [openib-general] Re: [PATCH 07/16] ehca: interrupt handling routines
- Index(es):