[openib-general] Re: [RFC] userspace CM/verbs QP

Roland Dreier roland at topspin.com
Thu Mar 3 18:02:20 PST 2005


    Libor>  I was thinking of maybe ref counting the access, either in
    Libor> ib_qp or ib_uobject. Adding a pair of functions, lookup and
    Libor> return, to manage the ref count...

I think it makes sense to put a ref count in struct ib_uobject.  That
would make it easier to enforce things like "make sure my CQs don't
get freed while I create this QP" also.  Then I could encapsulate the
whole IDR locking mess.

 - R.



More information about the general mailing list