***SPAM*** Re: [ofa-general] DM question

Hal Rosenstock hal.rosenstock at gmail.com
Mon Sep 8 16:33:15 PDT 2008


On Mon, Sep 8, 2008 at 4:49 PM, Terry Greeniaus
<tgree at relay.phys.ualberta.ca> wrote:
> 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?

You're right; my bad :-(

-- Hal

> That
> would solve the immediate problem.
>
> TG
>



More information about the general mailing list