[Openib-windows] [PATCH] mcast_cb error handling

Fabian Tillier ftillier at silverstorm.com
Tue Jul 4 07:20:23 PDT 2006


Hi Yossi,

On 7/4/06, Yossi Leybovich <sleybo at mellanox.co.il> wrote:
> Fab
>
> In mcast_cb function in case the join request failed IPoIB call to
> ipoib_set_inactive, this function move the port state to down , but does
> **not** move the QP to error to flush all WQEs.
> We create scenario in which the mcast_cb fail (we move the SM from node
> to node in the cluster) and when the SM was up again the machine enter
> to endless loop in ipoib_port_up.
> The problem is that the pnp_cb call to ipoib_port_up (the port state is
> down) but we never call to ipoib_port_down function.
> We think that ipoib_set_inactive function should be called only in the
> init process (port state == INIT) ,but in the case of mcast_cb fails we
> should mark the adadpter->hung = TRUE ( same as we do if we fail the
> function ipoib_endpt_set_mcast few line later)
>
> I want your approval to apply this patch .

Thanks, applied in revision 401.

- Fab




More information about the ofw mailing list