[openib-general] [PATCH 1/4] OpenSM/ib_types.h: Add needed SwitchInfoRecord component masks
Hal Rosenstock
halr at voltaire.com
Wed Dec 27 08:41:20 PST 2006
OpenSM/ib_types.h: Add needed SwitchInfoRecord component masks
Signed-off-by: Hal Rosenstock <halr at voltaire.com>
diff --git a/osm/include/iba/ib_types.h b/osm/include/iba/ib_types.h
index 91304e2..897e839 100644
--- a/osm/include/iba/ib_types.h
+++ b/osm/include/iba/ib_types.h
@@ -2361,6 +2361,10 @@ typedef struct _ib_path_rec
#define IB_PKEY_COMPMASK_BLOCK (CL_HTON64(((uint64_t)1)<<1))
#define IB_PKEY_COMPMASK_PORT (CL_HTON64(((uint64_t)1)<<2))
+/* Switch Info Record Masks */
+#define IB_SWIR_COMPMASK_LID (CL_HTON64(((uint64_t)1)<<0))
+#define IB_SWIR_COMPMASK_RESERVED1 (CL_HTON64(((uint64_t)1)<<1))
+
/* LFT Record Masks */
#define IB_LFTR_COMPMASK_LID (CL_HTON64(((uint64_t)1)<<0))
#define IB_LFTR_COMPMASK_BLOCK (CL_HTON64(((uint64_t)1)<<1))
More information about the general
mailing list