IB/iser: Add support for RDMA_CM_EVENT_ADDR_CHANGE event
authorOr Gerlitz <ogerlitz@voltaire.com>
Tue, 22 Jul 2008 21:16:21 +0000 (14:16 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 22 Jul 2008 21:16:21 +0000 (14:16 -0700)
commit2f5de1512884da8c74bec2c76e8f114b972ab4be
tree66590b1ec65138e125a6af65833a22f0553828b5
parent38ca83a588662f0af684ba2567dd910a564268ab
IB/iser: Add support for RDMA_CM_EVENT_ADDR_CHANGE event

Enhance iser to act upon notification on network stack changes that
make its RDMA connection unaligned with the link used by the stack for
the <src,dst> IPs used to establish the connection.

When RDMA_CM_EVENT_ADDR_CHANGE arrives, just disconnect the
connection, assuming that the user space iscsid daemon will reconnect,
and the new connection will be aligned with the IP stack.

Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/iser/iser_verbs.c