[openib-general] User Level Events - request for support

Fab Tillier ftillier at infiniconsys.com
Tue May 17 10:14:52 PDT 2005


> From: Eitan Zahavi [mailto:eitan at mellanox.co.il]
> Sent: Tuesday, May 17, 2005 8:21 AM
> 
> > Hal Wrote:
> > The OpenSM vendor layer should be enhanced with an additional API for a
> > local port state changed event (and take a flag for port down and port
> > up).
> >
> > OpenSM could then take this event and handle it generically. This could
> > be implemented for gen2 (OpenIB) and gen1 if the events can be generated
> > from VAPI or whatever.
> >
>
> Yes. I agree. We should have osm_vendor_api.h define some callback
> registration function for the local port up/down event. I will implement
> the OpenSM code for firing a sweep one the port is up.

Just to be clear, you need to trap when the port goes to INIT, not ACTIVE.
Also, while the SM cares about DOWN/INIT, other ULPs tend to care about
DOWN/ACTIVE.  I suggest the mechanisms for these events include the port
state, and fire for any state change (DOWN, INIT, ARMED, ACTIVE).

- Fab
 




More information about the general mailing list