[ofa-general] Re: Requesting CQ notifications
Michael S. Tsirkin
mst at dev.mellanox.co.il
Wed May 2 00:15:21 PDT 2007
> Quoting Mike Heffner <mike.heffner at evergrid.com>:
> Subject: Re: Requesting CQ notifications
>
> 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)?
Not really - what are you trying to do?
--
MST
More information about the general
mailing list