Roland Dreier wrote:
 >  enum ib_node_type {
 > - IB_NODE_CA      = 1,
 > + IB_NODE_IB = 0x10,              /* mask for all IB node types */
 > + IB_NODE_CA,
 >   IB_NODE_SWITCH,
 >   IB_NODE_ROUTER
 >  };

Is there anywhere that uses this value to compare against the values
that the IB spec uses in the NodeInfo record?

I didn't notice anything that assumed the values assigned to the enum members, but I can think of several reasons how I would miss that. I guess an easy sanity check is to change the value assigned to IB_NODE_CA and see if anything stops working.

- Sean
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

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

Reply via email to