[ofw] WinVerbs CQ events

Tzachi Dar tzachid at mellanox.co.il
Wed Mar 24 09:17:49 PDT 2010


You are right, an event will be generated.

Thanks
Tzachi 

> -----Original Message-----
> From: Sean Hefty [mailto:sean.hefty at intel.com] 
> Sent: Wednesday, March 24, 2010 6:13 PM
> To: Tzachi Dar; 'prasanna'; ofw at openfabrics.org
> Subject: RE: [ofw] WinVerbs CQ events
> 
> >I thought that when working with events the flow is (1) post receive 
> >(2) wait for completion and only than (3) poll.
> 
> I was referring to rearming the CQ.  If it occurs between 
> steps 2 and 3 above, then I would either expect poll to pull 
> 2 work completions in Prasanna's case, or see 2 events.  If 
> the rearm occurs after step 3, then what happens (see below)?
> 
> >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.
> 
> To clarify my question, will the following generate a second event?
> 
> message is received
> CQ event is generated
> ibv_poll_cq returns 1 completion
> message is received
> ibv_req_notify_cq to rearm CQ
> 
> I think the answer is yes for Mellanox HW, but want to be 
> sure on Windows.
> 
> 


More information about the ofw mailing list