[ofw] WinVerbs CQ events

Tzachi Dar tzachid at mellanox.co.il
Wed Mar 24 08:32:28 PDT 2010


I thought that when working with events the flow is (1) post receive (2) wait for completion and only than (3) poll.

In any case the hca will create an event if (it hasn't already done that) if there is a new CQE that the driver has not seen.

Thanks
Tzachi

> -----Original Message-----
> From: ofw-bounces at lists.openfabrics.org 
> [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Sean Hefty
> Sent: Wednesday, March 24, 2010 4:28 PM
> To: 'prasanna'; ofw at openfabrics.org
> Subject: Re: [ofw] WinVerbs CQ events
> 
> >I expect either 2 CQ events in the receive side or ibv_poll_cq(..) 
> >should return 2 WCs.
> 
> I believe this will only be true if you rearm the CQ 
> (ibv_req_notify_cq) before calling ibv_poll_cq for the first time.
> 
> Does anyone know if the HCA will generate an event if the CQ 
> is rearmed after a WC has been added, but not polled?  (This 
> is separate from what the IB spec indicates, but I thought 
> how the HCA worked on linux.)  If so, then there could be a 
> missing event here.
> 
> _______________________________________________
> ofw mailing list
> ofw at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
> 


More information about the ofw mailing list