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

Suresh Shelvapille suri at baymicrosystems.com
Mon Feb 13 12:45:55 PST 2006


Sorry Hal:

But I don't understand...
 
> 
> When create AH is called, it should be saved. It should be available
> from the AV for this AH.
>
are you saying I should save the port number in ah_attr.port_num which is
passed as a parameter to the create_ah(pd, ah_attr) method?
 
If so, ah_attr.port_num is set to mad_agent->port_num which is going to be
zero on a switch!

Otherwise, if you are saying I should determine this in create_ah() and save
it then I would need access to init_path, return_path etc....right??

Thanks a lot,
Suri




More information about the general mailing list