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.
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to