[ofa-general] DM question

Terry Greeniaus tgree at relay.phys.ualberta.ca
Mon Sep 8 13:49:26 PDT 2008


On Mon, 8 Sep 2008, Hal Rosenstock wrote:

> > Perhaps I have overlooked something?  If not, what would the recommended
> > way of setting this bit in the capabilityMask be?
> 
> The only way I see to do this from user space is something like the following:
> 
> SubnGet PortInfo of local port
> Set IsDeviceManagementSupport bit in PortInfo.CapabilityMask
> Change any other PortInfo fields so set will work (LinkState
> andPortPhysicalState set to no state change, don't think any others
> need changing)
> SubnSet PortInfo of local port (make sure set worked)
> 
> The downside is that if your application crashes you will need to have
> a cleanup program to unset that bit.

The IBA lists the capabilityMask field as read-only.  Is doing a 
SubnSet on the PortInfo.CapabilityMask field supported in OFED?  That 
would solve the immediate problem.

TG



More information about the general mailing list