[openib-general] SM Bad Port Handling

Hal Rosenstock halr at voltaire.com
Tue Apr 12 14:58:58 PDT 2005


Hi Eitan,

On Fri, 2005-04-08 at 11:55, Eitan Zahavi wrote: 
> Hi Hal,
> 
> This is a physical port attribute so the file is osm_port.h and the
> structure is osm_physp_t.
> From the doc on the structure:
> *
> *  healthy
> *     Tracks the health of the port. Normally should be TRUE but 
> *     might change as a result of incoming traps indicating the port
> *     healthy is questionable.
> *
> 
> I have been trying my best to find how it can happen that a port that
> does not respond will cause OpenSM to continuously poll it. This can
> not happen so unless you can explain how it happens please do not
> contaminate the code with un-needed code.

In looking at the unhealthy code, it appears to me that the unhealthy
bit is only set if the SM receives traps 129-131 and not if the SMA does
not respond to SM MADs so these ports will not be detected and hence not
bypassed.

-- Hal





More information about the general mailing list