commit | 87b816706bb2b79fbaff8e0b8e279e783273383e | [log] [tgz] |
---|---|---|
author | Roland Dreier <roland@eddore.topspincom.com> | Thu Aug 18 13:39:31 2005 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Fri Aug 26 20:37:37 2005 -0700 |
tree | 94e9a87fd5cbf1f069cba4e8a766ef718d18e5e4 | |
parent | f520ba5aa48e2891c3fb3e364eeaaab4212c7c45 [diff] |
[PATCH] IB/mthca: Factor out common queue alloc code Clean up the allocation of memory for queues by factoring out the common code into mthca_buf_alloc() and mthca_buf_free(). Now CQs and QPs share the same queue allocation code, which we'll also use for SRQs. Signed-off-by: Roland Dreier <rolandd@cisco.com>