[openib-general] Re: [PATCH] extend ib_device node_type to include iWarp

Sean Hefty mshefty at ichips.intel.com
Mon Jan 30 14:16:29 PST 2006


Grant Grundler wrote:
> If node_type were a bitmask mask, I'd expect
> 	if (node_type & (IB_NODE_IB | IB_NODE_SWITCH))

This would be true if node_type = IB_NODE_IB | IB_NODE_CA.  Okay, if the check 
for IB_NODE_IB is there, I think that all that's needed is:

if (node_type & IB_NODE_SWITCH)

- Sean



More information about the general mailing list