]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
rdma/ucm: support querying when IB paths are not reversible
authorSean Hefty <sean.hefty@intel.com>
Wed, 7 Apr 2010 00:22:38 +0000 (17:22 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 7 Apr 2010 00:22:38 +0000 (17:22 -0700)
commit1830722bb5e84451e3b458719cea8c746a2fb6d4
tree90660911fee20c253edd7540246ff2d3128551cb
parent8cbf269680fb08029075c8288f543d7105708e8f
rdma/ucm: support querying when IB paths are not reversible

The current query_route call can return up to two path records.
The assumption being that one is the primary path, with optional
support for an alternate path.  In both cases, the paths are
assumed to be reversible and are used to send CM MADs.

With the ability to manually set IB path data, the rdma cm
can eventually be capable of using up to 6 paths per
connection:

forward primary, reverse primary,
forward alternate, reverse alternate,
reversible primary path for CM MADs
reversible alternate path for CM MADs.

(It is unclear at this time if IB routing will complicate this.)
In order to handle more flexible routing topologies, add a new
command to report any number of paths.

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