[openib-general] [PATCH] [RFC] group devices by type

Hal Rosenstock halr at voltaire.com
Thu Jan 26 06:31:25 PST 2006


Hi Sean,

On Wed, 2006-01-25 at 19:39, Sean Hefty wrote:
> Sean Hefty wrote:
> > 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.
> 
> I changed the value of IB_NODE_CA from 1 to 9, and everything that I tested 
> still worked.  However... there looks like there may be some cases in userspace 
> where the code assume that the node_type matches the values in a NodeInfo.  A 
> grep showed some areas where there were checks like "ca.node_type == 2".

I just changed the diags not do to things like that.

-- Hal

> It looks like we might have issues, then, trying to use node_type as an RDMA 
> device type identifier.  Maybe we should just add a new device_type field to 
> ib_device to distinguish between IB and iWarp devices...
> 
> - Sean
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general




More information about the general mailing list