[openib-general] CM header file
Roland Dreier
roland at topspin.com
Fri Dec 17 08:53:15 PST 2004
Frank> What about: * CM creates the QP when necessary, unless the
Frank> app provides one.
Grant> Sorry, I can't get enthusiastic about this idea. It adds
Grant> complexity and code where it's usually not required. If
Grant> someone wants to another layer of inline code that handles
Grant> the allocation for the caller (and deallocation when it's
Grant> done), that's works for me. But it shouldn't be part of
Grant> the basic design.
I agree. In the original design of the Topspin drivers, we had the CM
handle allocating and freeing QPs. However it leads to all sorts of
object lifetime issues and ends up as more trouble than it's worth.
- R.
More information about the general
mailing list