[PATCH] IB: Add user-supplied context to userspace CM ABI
authorSean Hefty <sean.hefty@intel.com>
Thu, 1 Sep 2005 16:28:03 +0000 (09:28 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 7 Sep 2005 16:48:52 +0000 (09:48 -0700)
commit0b2b35f68140ceeb1b78ef85680198e63ebc8649
tree342c13bd8a1e1c071389df8ef9951a723cb4b270
parent1d6801f9dd3ebb054ae685153a01b1a4ec817f46
[PATCH] IB: Add user-supplied context to userspace CM ABI

- Add user specified context to all uCM events.  Users will not retrieve
  any events associated with the context after destroying the corresponding
  cm_id.
- Provide the ib_cm_init_qp_attr() call to userspace clients of the CM.
  This call may be used to set QP attributes properly before modifying the QP.
- Fixes some error handling synchonization and cleanup issues.
- Performs some minor code cleanup.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/ucm.c
drivers/infiniband/core/ucm.h
include/rdma/ib_user_cm.h