]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
rdma/cm: specify QP type when creating an ID
authorSean Hefty <sean.hefty@intel.com>
Wed, 31 Mar 2010 00:20:09 +0000 (16:20 -0800)
committerSean Hefty <sean.hefty@intel.com>
Wed, 31 Mar 2010 00:20:09 +0000 (16:20 -0800)
commita436162865fb3b2fab6837cff1bb018747cb34c8
tree871317afcc73cc9343f62fd8e3680f96a96c23e0
parentc63b2aea28d9f5dbbee5213c60bfa0ea25d37794
rdma/cm: specify QP type when creating an ID

The rdma_cm infers the QP type from the port space selected by the
user.  In order to support RDMA_PS_IB, we need to know which
QP type the user intends to support in order to perform the
correction operation, such as sending a REQ versus SIDR.

Modify rdma_create_id to allow the user to specify the QP type,
and use it to make our selections of datagram versus connected
mode.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 files changed:
drivers/infiniband/core/cma.c
drivers/infiniband/core/ucma.c
drivers/infiniband/ulp/iser/iser_verbs.c
include/rdma/rdma_cm.h
net/9p/trans_rdma.c
net/rds/ib.c
net/rds/ib_cm.c
net/rds/iw.c
net/rds/iw_cm.c
net/rds/rdma_transport.c
net/sunrpc/xprtrdma/svc_rdma_transport.c
net/sunrpc/xprtrdma/verbs.c