[openib-general] ib_req_ncomp_notif in core_ layer
Michael S. Tsirkin
mst at mellanox.co.il
Wed Aug 11 11:32:56 PDT 2004
Quoting r. Roland Dreier (roland at topspin.com) "Re: [openib-general] ib_req_ncomp_notif in core_ layer":
> Michael> Indeed, why not just have req_ncomp_notif and pass in n?
> Michael> Why is there a special call for n=1? Is it to save a
> Michael> conditional branch? Hardware could just ignore the n
> Michael> parameter if it cant support it.
>
> req_ncomp_notif doesn't seem to have any way to request an event on
> the next solicited completion.
>
Its a documentation bug, actually.
The current implementation actually reports an event after
n completions or after any solicited completion.
Same for completion with error.
Thus (going from more to less events):
request completion notif. >
> request n completions notif.
> request solicited notif.
So they can be merged?
MST
More information about the general
mailing list