[openib-general] [PATCH] [RFC] group devices by type
Sean Hefty
mshefty at ichips.intel.com
Wed Jan 25 14:41:02 PST 2006
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
More information about the general
mailing list