]> git.openfabrics.org - ~shefty/rdma-win.git/commit
winverbs: release CM interface only once per reference
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 29 Apr 2009 23:02:09 +0000 (23:02 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 29 Apr 2009 23:02:09 +0000 (23:02 +0000)
commit277c328fae656a3572336495219f655c48de221e
tree65fc4c4dc47b95e1f2059c6e5516f141942b87eb
parent0fa7dbb7929d59d266948d1b3516f55ecbac26bd
winverbs: release CM interface only once per reference

The CM interface is not bound to a device, and is only acquired once by the winverbs driver.  Release the CM interface only once after all devices have been removed, not once per hardware device.

This should fix issues enabling/disabling HCA drivers with multiple HCAs present in a single system.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2141 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/core/winverbs/kernel/wv_driver.c