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
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to