]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86ce11e012fb4c8b1f2f11354f1f4676962e17df
treeabf0d3ed1ba29fffe24a5d14735ba571b4e8e43d
parent92550e649a2a4e47df87aa4700e92acb2272a35e
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