]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
rdma/ucm: Allow user to specify qp type when creating id
authorSean Hefty <sean.hefty@intel.com>
Tue, 14 Jun 2011 23:31:53 +0000 (16:31 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 22 Aug 2011 18:39:59 +0000 (11:39 -0700)
commit39d1ce8835abdc2cf213844da1b5a166fe73aff5
treec8b67694ee433ba0807b891309139669e9369218
parentf904b407b5d1337580edc4794e73292b633906b7
rdma/ucm: Allow user to specify qp type when creating id

Allow the user to indicate the QP type separate from the
port space when allocating an rdma_cm_id.  With RDMA_PS_IB,
there is no longer a 1:1 relationship between the QP type and
port space, so we need to switch on the QP type to select
between UD and connected QPs.

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