RDMA/cma: Set qkey for AF_IB
authorSean Hefty <sean.hefty@intel.com>
Wed, 29 May 2013 17:09:23 +0000 (10:09 -0700)
committerRoland Dreier <roland@purestorage.com>
Fri, 21 Jun 2013 06:35:37 +0000 (23:35 -0700)
commit5c438135adf90b33cb00e5351becf1e557bbdd9d
treeabf0d3ed1ba29fffe24a5d14735ba571b4e8e43d
parente8160e15930969de709ba9b46df9571448b78ce5
RDMA/cma: Set qkey for AF_IB

Allow the user to specify the qkey when using AF_IB.  The qkey is
added to struct rdma_ucm_conn_param in place of a reserved field, but
for backwards compatability, is only accessed if the associated
rdma_cm_id is using AF_IB.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/cma.c
drivers/infiniband/core/ucma.c
include/rdma/rdma_cm.h
include/uapi/rdma/rdma_user_cm.h