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: [email protected] 
> [mailto:[email protected]] On Behalf Of Sean Hefty
> Sent: Wednesday, March 24, 2010 4:28 PM
> To: 'prasanna'; [email protected]
> 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
> [email protected]
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
> 
_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to