[Openib-windows] [PATCH] IpoIB client

Fabian Tillier ftillier at silverstorm.com
Mon Apr 24 16:36:33 PDT 2006


Hi Yossi,

On 4/24/06, Yossi Leybovich <sleybo at mellanox.co.il> wrote:
>
> Fab
>
> I talked with on of our Linux guys and he said that Linux handle the
> reregister situation by clearing the av from the endpnt.
>
> So I made patch that upon port_down just clear the av from all endpt
> (the function endpt_mgr_clear_all.
> I had to handle 2 cases where we insert endpt with AV (mcast and local)
> , so I delete the former endpt and insert the new one.
> I tried it and it works fine, the ping cont. after short delay.
>
> I can see many  advantages in this approach
> 1. We keep the MAC constant during SM change.
> 2. No need to delete the ARP table at the host.
> 3. We keep the same behavior like all other Ethernet NIC.
>
> For consistency I move the adapter->state to INIT just before calling to
> port_up in the SM_CHANGE event (same as we do in ACTIVE event).
> I assume that while we doing port_up we want to keep the a_dapter->state
> in INIT state.

I've made these changes (though not verbatim) and committed in
revision 323.  IPoIB seems to ride through the SM changing from host
to host, as well as repeated and rapid SM restarts.

Let me know if you see any issues with this.

Thanks,

- Fab



More information about the ofw mailing list