Here's an updated version of the patch that doesn't break the ABI.

Note that for RNICs, node_type would be set to IB_NODE_IWARP | IB_NODE_CA.

Comments?

Signed-off-by: Sean Hefty <[EMAIL PROTECTED]>

---

Index: ib_verbs.h
===================================================================
--- ib_verbs.h  (revision 5098)
+++ ib_verbs.h  (working copy)
@@ -56,7 +56,15 @@
        } global;
 };

-enum ib_node_type {
+/*
+ * 8-bit node type - for IB this maps to NodeInfo:NodeType.
+ */
+enum {
+       /* bits 7:4 - transport type */
+       IB_NODE_IB      = (0<<4),
+       IB_NODE_IWARP   = (1<<4),
+
+       /* bits 3:0 - device type */
        IB_NODE_CA      = 1,
        IB_NODE_SWITCH,
        IB_NODE_ROUTER

_______________________________________________
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