[ofa-general] Re: [RFC V4 PATCH 4/5] rdma/cma: implement RDMA_CM_EVENT_ADDR_CHANGE notification

Or Gerlitz ogerlitz at voltaire.com
Mon Jun 16 05:04:34 PDT 2008


On Wed, 28 May 2008, Or Gerlitz wrote:
> RDMA_CM_EVENT_ADDR_CHANGE event can be used by rdma-cm consuamers 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>

Tom,

I'd like to patch the nfs/rdma kernel code at the way you'd like for this event.
Do you prefer the code to just ignore it or you want to reconnect when this happens?

Or.



More information about the general mailing list