[ofa-general] Re: [PATCH] IB/core/user_mad.c: Add support for issmdisabled

Hal Rosenstock halr at voltaire.com
Wed Mar 28 12:13:10 PDT 2007


On Wed, 2007-03-28 at 00:31, Michael S. Tsirkin wrote:
> > Quoting Hal Rosenstock <halr at voltaire.com>:
> > Subject: [PATCH] IB/core/user_mad.c: Add support for issmdisabled
> > 
> > IB/core/user_mad.c: Add support for issmdisabled
> > 
> > Signed-off-by: Hal Rosenstock <halr at voltaire.com>
> 
> I imagine this is related to the "SM inactive" support
> you posted separately. Is that right?

Yes.

> How is this used by openSM?

Whenever the SM state machine goes to inactive, it set the isSMdisabled
bit (and resets the IsSM bit) and in the opposite direction sets IsSM
and resets isSMdisabled.

OpenSM vendor layer for OpenIB will try to set/reset isSMdisabled. If it
fails (no user_mad support for this), the isSM bit is still properly
handled.

-- Hal





More information about the general mailing list