RDMA/ucma: Add option to manually set IB path
authorSean Hefty <sean.hefty@intel.com>
Mon, 16 Nov 2009 17:30:33 +0000 (09:30 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 16 Nov 2009 17:30:33 +0000 (09:30 -0800)
commita7ca1f00ed2921b804d7ebda0f6fca8c9078fa42
tree5235dfe07cfdf1ce60442a33fd7f6b4cb24ef80c
parent91d3f9bacdb4950d2f79fe2ba296aa249f60d06c
RDMA/ucma: Add option to manually set IB path

Export rdma_set_ib_paths to user space to allow applications to
manually set the IB path used for connections.  This allows
alternative ways for a user space application or library to obtain
path record information, including retrieving path information
from cached data, avoiding direct interaction with the IB SA.
The IB SA is a single, centralized entity that can limit scaling
on large clusters running MPI applications.

Future changes to the rdma cm can expand on this framework to
support the full range of features allowed by the IB CM, such as
separate forward and reverse paths and APM.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Reviewed-By: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/sa_query.c
drivers/infiniband/core/ucma.c
include/rdma/ib_sa.h
include/rdma/ib_user_sa.h
include/rdma/rdma_user_cm.h