Re: About a shortcoming of the verbs API

Roland Dreier
2010-07-28T17:44:02Z

> Roland, I'm wasn't sure if/howmuch the results are buggy, but the
> IPoIB poll loop doesn't check whether the return code of
> ib_req_notify_cq is negative (error) or positive (more completions to
> poll), any thoughts on the matter?

I think I had two things in mind here:

- I don't know of any drivers that actually return any errors ever from
req_notify_cq so it's not really a practical concern.

- If we did get an error, there's not much we can do except keep
polling and try to request notification again later -- exactly the
same thing we would do if we got a positive return value.

- R.
--
Roland Dreier <rolandd-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org> || For corporate legal information go to: