From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: About a shortcoming of the verbs API Date: Tue, 27 Jul 2010 12:20:46 -0600 Message-ID: <20100727182046.GT7920@obsidianresearch.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Bart Van Assche Cc: Roland Dreier , Linux-RDMA List-Id: linux-rdma@vger.kernel.org On Tue, Jul 27, 2010 at 08:03:25PM +0200, Bart Van Assche wrote: > As far as I know it is not possible for a HCA to tell whether or not a > CPU has finished executing the interrupt it triggered. So it is not > possible for the HCA to implement the above requirement by delaying > the generation of a new interrupt -- implementing the above Linux does not allow interrupts to re-enter.. Read through kernel/irq/chip.c handle_edge_irq to get a sense of how that is done for MSI. Looked to me like all the CQ call backs flowed from the interrupt handler in mlx4? Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html