[ofa-general] RE: [PATCH 3/4] rdma/cma: implement RDMA_CM_EVENT_ADDR_CHANGE notification

Sean Hefty sean.hefty at intel.com
Wed Jun 18 09:16:15 PDT 2008


>RDMA_CM_EVENT_ADDR_CHANGE event can be used by rdma-cm consumers that wish
>to have their RDMA sessions always use the same links (eg <hca/port>) as the
>IP stack does. In the current code, this does not happen when bonding is used
>and fail-over happened, but the IB link used by an already existing session is
>operating fine.
>
>Use netevent notification for sensing that a change has happened in the IP
>stack,
>then scan the rdma-cm IDs list to see if there is an ID that is "misaligned" in
>that respect with the IP stack, and deliver RDMA_CM_EVENT_ADDR_CHANGE for this
>ID.
>The user can act on the event or just ignore it
>
>Signed-off-by: Or Gerlitz <ogerlitz at voltaire.com>

Acked-by: Sean Hefty <sean.hefty at intel.com>




More information about the general mailing list