Re: About a shortcoming of the verbs API

Jason Gunthorpe
2010-07-27T18:20:46Z

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