Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750712AbWEIQsi (ORCPT ); Tue, 9 May 2006 12:48:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750723AbWEIQsi (ORCPT ); Tue, 9 May 2006 12:48:38 -0400 Received: from [194.90.237.34] ([194.90.237.34]:59867 "EHLO mtlexch01.mtl.com") by vger.kernel.org with ESMTP id S1750712AbWEIQsh (ORCPT ); Tue, 9 May 2006 12:48:37 -0400 Date: Tue, 9 May 2006 19:49:19 +0300 From: "Michael S. Tsirkin" To: Roland Dreier Cc: Heiko J Schick , linux-kernel@vger.kernel.org, openib-general@openib.org, linuxppc-dev@ozlabs.org, Christoph Raisch , Hoang-Nam Nguyen , Marcus Eder Subject: Re: [PATCH 07/16] ehca: interrupt handling routines Message-ID: <20060509164919.GC5063@mellanox.co.il> Reply-To: "Michael S. Tsirkin" References: <4450A196.2050901@de.ibm.com> <445B4DA9.9040601@de.ibm.com> <44608C90.30909@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 09 May 2006 16:52:19.0031 (UTC) FILETIME=[EF11DE70:01C67388] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 682 Lines: 16 Quoting r. Roland Dreier : > 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 ... -- MST - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/