RDMA/cma: Allow early transition to RTS to handle lost CM messages
authorSean Hefty <sean.hefty@intel.com>
Fri, 1 Dec 2006 00:37:15 +0000 (16:37 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 12 Dec 2006 19:50:21 +0000 (11:50 -0800)
commit0fe313b000b6a699afbbb59ef9c47a2b22146f1e
treed3a9a066218cdd07caa13b6b646e0fe140e4901d
parenta1b1b61f80aba49f1e0f32b0e4b1c35be91c57fa
RDMA/cma: Allow early transition to RTS to handle lost CM messages

During connection establishment, the passive side of a connection can
receive messages from the active side before the connection event has
been delivered to the user.  Allow the passive side to send messages
in response to received data before the event is delivered.  To handle
the case where the connection messages are lost, a new rdma_notify()
function is added that users may invoke to force a connection into the
established state.

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/cma.c
include/rdma/rdma_cm.h