[ofa-general] Re: Requesting CQ notifications

Mike Heffner mike.heffner at evergrid.com
Tue May 1 20:23:52 PDT 2007


Michael S. Tsirkin wrote:
>> Quoting Roland Dreier <rdreier at cisco.com>:
>> Subject: Re: Requesting CQ notifications

> 
> This is not exact. mthca/mlx4 will generate an event immediately
> only for unpolled CQE *that was not present in CQ at the
> time the previous event was generated*.
> So the answer for mthca is yes only if the CQE arrived
> between calls to select and ibv_req_notify_cq.
> 

Is there any method by which you can query the total number of CQEs in 
the CQ at an instantaneous point in time (ie., after you had called 
ibv_req_notify_cq() to get notification of *new* CQEs)?

Mike

-- 

   Mike Heffner <mike.heffner at evergrid.com>
   EverGrid Software
   Blacksburg, VA USA

   Voice: (540) 443-3500 #603



More information about the general mailing list