Sean Hefty wrote:
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)

Never mind - this doesn't work in a generic case, since IB_NODE_CA=1 and IB_NODE_ROUTER = 3.
_______________________________________________
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