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

Michael S. Tsirkin mst at mellanox.co.il
Thu Jul 20 08:44:33 PDT 2006


Quoting r. Arne Redlich <arne.redlich at xiranet.com>:
> Subject: Re: [openib-general] [PATCH 2/2] ib_cm: fix REJ due to invalid GID
> 
> Am Mittwoch, den 19.07.2006, 20:05 +0300 schrieb Michael S. Tsirkin:
> > Quoting r. Arne Redlich <arne.redlich at xiranet.com>:
> > > Subject: Re: [openib-general] [PATCH 2/2] ib_cm: fix REJ due to invalid GID
> > > 
> > > Am Dienstag, den 18.07.2006, 12:21 -0700 schrieb Sean Hefty:
> > > > Arne Redlich wrote:
> > > > > Yep - the Gen1 SRP initiator does. It sends a REQ with an invalid DGID.
> > > > > If rejected with the correct code (INVALID GID), it will retry after
> > > > > looking up the GID.
> > > > 
> > > > Didn't it have a DGID from a path record that it had to get before sending the REQ?
> > > 
> > > If I'm not completely mistaken, the path lookup is only done after
> > > receiving an IB_CM_REJ_INVALID_GID. I have no idea why it is done this
> > > way, though.
> > > 
> > > Arne
> > 
> > Er ... how does it send the REQ then?
> 
> The path record's {D,S}LID (as well as the SGID) are initialized
> correctly in the 1st REQ.

Sorry for being dense ... Why not the GID then?

-- 
MST




More information about the general mailing list