]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/cm: Add interim support for routed paths
authorSean Hefty <sean.hefty@intel.com>
Mon, 10 Dec 2007 23:53:25 +0000 (15:53 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 5 Feb 2008 04:20:42 +0000 (20:20 -0800)
commit3971c9f6dbf26f077b929dbe14ced60a697ebcf0
tree005053ac7b0b42f43b296cfc0384bf11567673e3
parente8f9b2ed9882874ca96716597bd8c7113289e77b
IB/cm: Add interim support for routed paths

Paths with hop_limit > 1 indicate that the connection will be routed
between IB subnets.  Update the subnet local field in the CM REQ based
on the hop_limit value.  In addition, if the path is routed, then set
the LIDs in the REQ to the permissive LIDs.  This is used to indicate
to the passive side that it should use the LIDs in the received local
route header (LRH) associated with the REQ when programming the QP.

This is a temporary work-around to the IB CM to support IB router
development until the IB router specification is completed.  It is not
anticipated that this work-around will cause any interoperability
issues with existing stacks or future stacks that will properly
support IB routers when defined.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/cm.c