[ewg] Re: [PATCH v3] libibmad: Handle MAD redirection

Jason Gunthorpe jgunthorpe at obsidianresearch.com
Wed Jul 1 09:50:36 PDT 2009


On Wed, Jul 01, 2009 at 11:54:13AM -0400, Hal Rosenstock wrote:

> I think it depends on the interpretation of "If redirection is not being
> performed, this shall be set to zero." in the RedirectGID description
> as to whether it is referring to redirection in general or just GID
> redirection.

ClassPortInfo is used for alot of things, I take that to mean that
when it is used in non-redirection contexts that RedirectGID can be 0.

Clearly the only sane way this can work is if the GID is always
filled in for the redirection case.
 
> Futhermore, RedirectLID can be non zero but GID redirection is still
> being used as indicated by the RedirectLID description indicating that
> a non zero RedirectLID will in general not be valid.

The spec says if it is not zero the requester shall use it. I don't
see an ambiguity here.

Jason



More information about the ewg mailing list