[openib-general] RE: [RFC] [PATCH] mad.c: Add support for switch SMI

Hal Rosenstock halr at voltaire.com
Mon Feb 13 10:16:38 PST 2006


Suri,

On Mon, 2006-02-13 at 12:45, Suresh Shelvapille wrote:
> Hal:
> 
> >From a switch perspective, and from the little testing that I have done with
> different SM, 

I don't think it's related to which SM is being used in the subnet.

> I don't know how I can get out port num in the query AH.

When create AH is called, it should be saved. It should be available
from the AV for this AH.

> Because, from what I have observed, the out port num is different depending
> on whether the switch is in the middle or at the end of the query and hence
> one may have to compute this info from either return_path, or init_path or
> from the input port number(physical). 

You might be able to do this but it would be ugly.

> Pardon my ignorance, but will I have access to the MAD packet in query_ah?

I don't think this is available through create_ah or query_ah.

-- Hal

> Thanks a lot,
> Suri
> 
> 
> 
> 
> > 
> > 2. On the send side, the driver must support the optional query_ah verb
> > in order to obtain the send side port number (actual switch external
> > port on which to send the DR SMP).
> > 
> 




More information about the general mailing list