enhance iser to act upon notification on network stack changes which
makes 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,
following that the user space iscsid daemon would reconnect, and the new
connection would be aligned with the IP stack.

Signed-off-by: Or Gerlitz <[EMAIL PROTECTED]>

 drivers/infiniband/ulp/iser/iser_verbs.c |    1 +
 1 files changed, 1 insertion(+)

Index: infiniband/drivers/infiniband/ulp/iser/iser_verbs.c
===================================================================
--- infiniband.orig/drivers/infiniband/ulp/iser/iser_verbs.c
+++ infiniband/drivers/infiniband/ulp/iser/iser_verbs.c
@@ -472,6 +472,7 @@ static int iser_cma_handler(struct rdma_
                break;
        case RDMA_CM_EVENT_DISCONNECTED:
        case RDMA_CM_EVENT_DEVICE_REMOVAL:
+       case RDMA_CM_EVENT_ADDR_CHANGE:
                iser_disconnected_handler(cma_id);
                break;
        default:
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to