[Openib-windows] SRP error flow

Fabian Tillier ftillier at silverstorm.com
Thu Aug 31 15:16:08 PDT 2006


Hi Yossi,

On 8/31/06, Yossi Leybovich <sleybo at mellanox.co.il> wrote:
>
> Fab
>
> While trying to bring up our SRP target I notice that I get recv completion
> with LOCAL_PROTECTION_ERR.
> I am still debug this problem but I notice that the initiator keep sending
> packet on that session even though the send QP is in error state.
>
> I found in the code the following TODO massage both in completion with error
> on recv and send
>    // TODO: Kill session and inform port driver link down
> scsiportnotification

I think last time we tried the LinkUp/LinkDown notifications, they
didn't work as expected.  I'm not sure of the best way to handle this
- whether trying to reconnect or something else.

> Do you plan to implement this  ?

I don't have the time right now to do this.

> If not can you explain what is necessary to do here, and I will try to
> generate patch ?

We probably want to pause the adapter (StorPortBusy), tear down the
session and create a new one, and then call StorPortReady.

- Fab




More information about the ofw mailing list