[openib-general] User Level Events - request for support
Hal Rosenstock
halr at voltaire.com
Tue May 17 10:26:17 PDT 2005
On Tue, 2005-05-17 at 13:14, Fab Tillier wrote:
> > 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).
Are you referring to the link state SM trap which is applicable to
switch ports ? If so, we are talking about different things. ULP
handling of these events is separate and the "domain" of the ULP. I was
referring to the addition of events needed for proper SM operation on
its own local port, not on other ports in the subnet.
-- Hal
More information about the general
mailing list