]> git.baikalelectronics.ru Git - kernel.git/commit
IB/cm: Fix automatic path migration support
authorSean Hefty <sean.hefty@intel.com>
Tue, 28 Nov 2006 22:57:13 +0000 (14:57 -0800)
committerRoland Dreier <rolandd@cisco.com>
Wed, 29 Nov 2006 23:33:10 +0000 (15:33 -0800)
commit51ee230d533e0306be4aeeb2c89026f9080a5431
tree090ef599a01da78e86d0e527ee3938f96fd0842e
parent4dc57dac760059a4d86b72e1208c2213ca54c1b3
IB/cm: Fix automatic path migration support

The ib_cm_establish() function is replaced with a more generic
ib_cm_notify().  This routine is used to notify the CM that failover
has occurred, so that future CM messages (LAP, DREQ) reach the remote
CM.  (Currently, we continue to use the original path)  This bumps the
userspace CM ABI.

New alternate path information is captured when a LAP message is sent
or received.  This allows QP attributes to be initialized for the user
when a new path is loaded after failover occurs.

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