[openib-general] port num in port priv

Suresh Shelvapille suri at baymicrosystems.com
Thu Feb 9 07:40:53 PST 2006


Hi:

For a switch only one port_priv object is created in mad.c. As a result, it
appears like the process_mad function is always called with a port number of
zero. 
And the return path is always filled with zero as well (in smi.c). Should
not this be the physical port number from which the mad packet came?  

Do I have to do something with the return path attributes when I send the
packet out in my switch driver? I am using linux 2.6.12.

Am I not reading something right?

Thanks,
Suri





More information about the general mailing list