[openib-general] [PATCH 2/2] ib_cm: fix REJ due to invalid GID

Michael S. Tsirkin mst at mellanox.co.il
Tue Jul 18 08:19:52 PDT 2006


Quoting r. Arne Redlich <arne.redlich at xiranet.com>:
> > > Reject a REQ containing invalid GID(s) with appropriate reason codes
> > > instead of IB_CM_CONSUMER_REJ.
> > > 
> > > Signed-off-by: Arne Redlich <arne.redlich at xiranet.com>
> > 
> > Are there actual applications that can use the exact reject status? 
> 
> Yep - the Gen1 SRP initiator does.

You are implementing an SRP target on top of gen2 then?

> It sends a REQ with an invalid DGID.
> If rejected with the correct code (INVALID GID), it will retry after
> looking up the GID.

Interesting. Why is it doing this? Any idea where did it get the wrong GID
in the first place? Would other ULPs need such handling?

> > I also
> > wander what should the status be if there are multiple errors in a REQ.
> 
> The first one discovered, no?

Or maybe the most severe one? The spec seems fuzzy in this respect ...

-- 
MST




More information about the general mailing list