]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
rdma/cm: set qkey for port space IB
authorSean Hefty <sean.hefty@intel.com>
Wed, 7 Apr 2010 00:22:12 +0000 (17:22 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 7 Apr 2010 00:22:12 +0000 (17:22 -0700)
commit5fc4173815ccd4895001bcdbd6111ca6fa06fb44
treefabe602ba12ef9a9d7da50afceb6e287f9313474
parent19025115b11abefaadbf787d0051d4f3e8e85294
rdma/cm: set qkey for port space IB

Allow the user to specify the qkey when using port space 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 the IB port space.

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