[openib-general] [PATCH] OpenSM/ib_types.h: Define component masks for SMInfo and InformInfo records
Hal Rosenstock
halr at voltaire.com
Wed Jul 5 10:32:58 PDT 2006
OpenSM/ib_types.h: Define component masks for SMInfo and InformInfo
records
Signed-off-by: Hal Rosenstock <halr at voltaire.com>
Index: include/iba/ib_types.h
===================================================================
--- include/iba/ib_types.h (revision 8390)
+++ include/iba/ib_types.h (working copy)
@@ -2459,6 +2459,35 @@ typedef struct _ib_path_rec
#define IB_MPR_COMPMASK_DGIDCOUNT (CL_HTON64(((uint64_t)1)<<20))
#define IB_MPR_COMPMASK_RESV4 (CL_HTON64(((uint64_t)1)<<21))
+/* SMInfo Record Component Masks */
+#define IB_SMIR_COMPMASK_LID (CL_HTON64(((uint64_t)1)<<0))
+#define IB_SMIR_COMPMASK_RESV0 (CL_HTON64(((uint64_t)1)<<1))
+#define IB_SMIR_COMPMASK_GUID (CL_HTON64(((uint64_t)1)<<2))
+#define IB_SMIR_COMPMASK_SMKEY (CL_HTON64(((uint64_t)1)<<3))
+#define IB_SMIR_COMPMASK_ACTCOUNT (CL_HTON64(((uint64_t)1)<<4))
+#define IB_SMIR_COMPMASK_PRIORITY (CL_HTON64(((uint64_t)1)<<5))
+#define IB_SMIR_COMPMASK_SMSTATE (CL_HTON64(((uint64_t)1)<<6))
+
+/* InformInfo Record Component Masks */
+#define IB_IIR_COMPMASK_SUBSCRIBERGID (CL_HTON64(((uint64_t)1)<<0))
+#define IB_IIR_COMPMASK_ENUM (CL_HTON64(((uint64_t)1)<<1))
+#define IB_IIR_COMPMASK_RESV0 (CL_HTON64(((uint64_t)1)<<2))
+#define IB_IIR_COMPMASK_GID (CL_HTON64(((uint64_t)1)<<3))
+#define IB_IIR_COMPMASK_LIDRANGEBEGIN (CL_HTON64(((uint64_t)1)<<4))
+#define IB_IIR_COMPMASK_LIDRANGEEND (CL_HTON64(((uint64_t)1)<<5))
+#define IB_IIR_COMPMASK_RESV1 (CL_HTON64(((uint64_t)1)<<6))
+#define IB_IIR_COMPMASK_ISGENERIC (CL_HTON64(((uint64_t)1)<<7))
+#define IB_IIR_COMPMASK_SUBSCRIBE (CL_HTON64(((uint64_t)1)<<8))
+#define IB_IIR_COMPMASK_TYPE (CL_HTON64(((uint64_t)1)<<9))
+#define IB_IIR_COMPMASK_TRAPNUMB (CL_HTON64(((uint64_t)1)<<10))
+#define IB_IIR_COMPMASK_DEVICEID (CL_HTON64(((uint64_t)1)<<10))
+#define IB_IIR_COMPMASK_QPN (CL_HTON64(((uint64_t)1)<<11))
+#define IB_IIR_COMPMASK_RESV2 (CL_HTON64(((uint64_t)1)<<12))
+#define IB_IIR_COMPMASK_RESPTIME (CL_HTON64(((uint64_t)1)<<13))
+#define IB_IIR_COMPMASK_RESV3 (CL_HTON64(((uint64_t)1)<<14))
+#define IB_IIR_COMPMASK_PRODTYPE (CL_HTON64(((uint64_t)1)<<15))
+#define IB_IIR_COMPMASK_VENDID (CL_HTON64(((uint64_t)1)<<15))
+
/****f* IBA Base: Types/ib_path_rec_init_local
* NAME
* ib_path_rec_init_local
More information about the general
mailing list