[openib-general] modify_device API?

Fab Tillier ftillier at infiniconsys.com
Sun Aug 15 22:05:58 PDT 2004


> From: Roland Dreier [mailto:roland at topspin.com]
> Sent: Friday, August 13, 2004 8:09 PM
> 
>     Fab> Only if you add things like system image GUID and InitType.
>     Fab> Otherwise, the flags provide all the information needed.
> 
> Hmm... true in a way but what if someone eg only wants to set the IsSM
> bit without touching anything else?  I guess they could do a query
> first to find out the current state but even that leaves a race open
> between the query and the modify.

Good point...  There needs to be a way to set *and* clear the bits.

> 
>     Fab> InitType is also per-device.
> 
> In my copy of the 1.1 spec it's PortInfo:InitType, which seems to
> indicate that it's actually per-port (unless this has been changed in
> the errata).

I confused NodeType with InitType, so you're right.  Not sure what I was
thinking...  Sorry

- Fab





More information about the general mailing list