components/open-fabrics/libibmad/patches/base.patch
author Boris Chiu <Boris.Chiu@Oracle.COM>
Wed, 29 May 2013 10:00:58 -0700
changeset 1319 e0ba15fa5e97
parent 1216 bd892ba92960
child 1461 5ba0aa89a64a
permissions -rw-r--r--
16842068 diskmon frequently cores when calling ib_node_query_via()
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
369
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
     1
diff -r -u /tmp/libibmad-1.3.7/Makefile.in libibmad-1.3.7/Makefile.in
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
     2
--- /tmp/libibmad-1.3.7/Makefile.in	Wed Feb 16 02:25:43 2011
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
     3
+++ libibmad-1.3.7/Makefile.in	Fri Feb 25 03:14:42 2011
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
     4
@@ -357,8 +357,8 @@
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
     5
 	  else :; fi; \
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
     6
 	done; \
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
     7
 	test -z "$$list2" || { \
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
     8
-	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
     9
-	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
    10
+	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) -m 755 $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
    11
+	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) -m 755 $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
    12
 	}
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
    13
 
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
    14
 uninstall-libLTLIBRARIES:
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
    15
diff -r -u /tmp/libibmad-1.3.7/include/infiniband/mad.h libibmad-1.3.7/include/infiniband/mad.h
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
    16
--- /tmp/libibmad-1.3.7/include/infiniband/mad.h	Wed Feb 16 02:12:53 2011
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
    17
+++ libibmad-1.3.7/include/infiniband/mad.h	Thu Feb 24 11:27:11 2011
1216
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    18
@@ -62,6 +62,7 @@
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    19
 #define IB_PC_DATA_SZ		(IB_MAD_SIZE - IB_PC_DATA_OFFS)
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    20
 #define IB_SA_MCM_RECSZ		53
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    21
 #define IB_SA_PR_RECSZ		64
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    22
+#define IB_SA_NR_RECSZ		108
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    23
 #define IB_BM_DATA_OFFS		64
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    24
 #define IB_BM_DATA_SZ		(IB_MAD_SIZE - IB_BM_DATA_OFFS)
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    25
 #define IB_BM_BKEY_OFFS		24
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    26
@@ -579,7 +580,8 @@
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    27
 	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    28
 	 * GUIDInfo fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    29
 	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    30
-	IB_GUID_GUID0_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    31
+	IB_GUID_GUID0_F, /* Obsolete, kept for compatibility
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    32
+			    Use IB_GI_GUID0_F going forward */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    33
 
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    34
 	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    35
 	 * ClassPortInfo fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    36
@@ -610,7 +612,8 @@
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    37
 	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    38
 	 * PortXmitDataSL fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    39
 	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    40
-	IB_PC_XMT_DATA_SL_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    41
+	IB_PC_XMT_DATA_SL_FIRST_F, /* for PortSelect and CounterSelect, use IB_P
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    42
+C_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    43
 	IB_PC_XMT_DATA_SL0_F = IB_PC_XMT_DATA_SL_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    44
 	IB_PC_XMT_DATA_SL1_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    45
 	IB_PC_XMT_DATA_SL2_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    46
@@ -632,7 +635,8 @@
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    47
 	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    48
 	 * PortRcvDataSL fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    49
 	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    50
-	IB_PC_RCV_DATA_SL_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    51
+	IB_PC_RCV_DATA_SL_FIRST_F, /* for PortSelect and CounterSelect, use IB_P
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    52
+C_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    53
 	IB_PC_RCV_DATA_SL0_F = IB_PC_RCV_DATA_SL_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    54
 	IB_PC_RCV_DATA_SL1_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    55
 	IB_PC_RCV_DATA_SL2_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    56
@@ -654,6 +658,8 @@
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    57
 	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    58
 	 * PortXmitDiscardDetails fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    59
 	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    60
+	/* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_C
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    61
+OUNTER_SELECT_F */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    62
 	IB_PC_XMT_INACT_DISC_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    63
 	IB_PC_XMT_NEIGH_MTU_DISC_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    64
 	IB_PC_XMT_SW_LIFE_DISC_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    65
@@ -663,6 +669,8 @@
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    66
 	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    67
 	 * PortRcvErrorDetails fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    68
 	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    69
+	/* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_C
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    70
+OUNTER_SELECT_F */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    71
 	IB_PC_RCV_LOCAL_PHY_ERR_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    72
 	IB_PC_RCV_MALFORMED_PKT_ERR_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    73
 	IB_PC_RCV_BUF_OVR_ERR_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    74
@@ -706,6 +714,483 @@
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    75
 	IB_PSC_SAMPLES_ONLY_OPT_MASK_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    76
 	IB_PSC_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    77
 
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    78
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    79
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    80
+	 * GUIDInfo fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    81
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    82
+	IB_GI_GUID0_F, /* a duplicate of IB_GUID_GUID0_F for backwards
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    83
+			  compatibility */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    84
+	IB_GI_GUID1_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    85
+	IB_GI_GUID2_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    86
+	IB_GI_GUID3_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    87
+	IB_GI_GUID4_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    88
+	IB_GI_GUID5_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    89
+	IB_GI_GUID6_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    90
+	IB_GI_GUID7_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    91
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    92
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    93
+	 * GUID Info Record
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    94
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    95
+	IB_SA_GIR_LID_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    96
+	IB_SA_GIR_BLOCKNUM_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    97
+	IB_SA_GIR_GUID0_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    98
+	IB_SA_GIR_GUID1_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
    99
+	IB_SA_GIR_GUID2_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   100
+	IB_SA_GIR_GUID3_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   101
+	IB_SA_GIR_GUID4_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   102
+	IB_SA_GIR_GUID5_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   103
+	IB_SA_GIR_GUID6_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   104
+	IB_SA_GIR_GUID7_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   105
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   106
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   107
+	 * More PortInfo fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   108
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   109
+	IB_PORT_CAPMASK2_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   110
+	IB_PORT_LINK_SPEED_EXT_ACTIVE_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   111
+	IB_PORT_LINK_SPEED_EXT_SUPPORTED_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   112
+	IB_PORT_LINK_SPEED_EXT_ENABLED_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   113
+	IB_PORT_LINK_SPEED_EXT_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   114
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   115
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   116
+	 * PortExtendedSpeedsCounters fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   117
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   118
+	IB_PESC_PORT_SELECT_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   119
+	IB_PESC_COUNTER_SELECT_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   120
+	IB_PESC_SYNC_HDR_ERR_CTR_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   121
+	IB_PESC_UNK_BLOCK_CTR_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   122
+	IB_PESC_ERR_DET_CTR_LANE0_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   123
+	IB_PESC_ERR_DET_CTR_LANE1_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   124
+	IB_PESC_ERR_DET_CTR_LANE2_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   125
+	IB_PESC_ERR_DET_CTR_LANE3_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   126
+	IB_PESC_ERR_DET_CTR_LANE4_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   127
+	IB_PESC_ERR_DET_CTR_LANE5_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   128
+	IB_PESC_ERR_DET_CTR_LANE6_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   129
+	IB_PESC_ERR_DET_CTR_LANE7_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   130
+	IB_PESC_ERR_DET_CTR_LANE8_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   131
+	IB_PESC_ERR_DET_CTR_LANE9_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   132
+	IB_PESC_ERR_DET_CTR_LANE10_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   133
+	IB_PESC_ERR_DET_CTR_LANE11_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   134
+	IB_PESC_FEC_CORR_BLOCK_CTR_LANE0_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   135
+	IB_PESC_FEC_CORR_BLOCK_CTR_LANE1_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   136
+	IB_PESC_FEC_CORR_BLOCK_CTR_LANE2_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   137
+	IB_PESC_FEC_CORR_BLOCK_CTR_LANE3_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   138
+	IB_PESC_FEC_CORR_BLOCK_CTR_LANE4_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   139
+	IB_PESC_FEC_CORR_BLOCK_CTR_LANE5_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   140
+	IB_PESC_FEC_CORR_BLOCK_CTR_LANE6_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   141
+	IB_PESC_FEC_CORR_BLOCK_CTR_LANE7_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   142
+	IB_PESC_FEC_CORR_BLOCK_CTR_LANE8_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   143
+	IB_PESC_FEC_CORR_BLOCK_CTR_LANE9_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   144
+	IB_PESC_FEC_CORR_BLOCK_CTR_LANE10_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   145
+	IB_PESC_FEC_CORR_BLOCK_CTR_LANE11_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   146
+	IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE0_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   147
+	IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE1_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   148
+	IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE2_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   149
+	IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE3_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   150
+	IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE4_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   151
+	IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE5_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   152
+	IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE6_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   153
+	IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE7_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   154
+	IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE8_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   155
+	IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE9_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   156
+	IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE10_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   157
+	IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE11_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   158
+	IB_PESC_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   159
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   160
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   161
+	 * PortOpRcvCounters fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   162
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   163
+	IB_PC_PORT_OP_RCV_COUNTERS_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   164
+	IB_PC_PORT_OP_RCV_PKTS_F = IB_PC_PORT_OP_RCV_COUNTERS_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   165
+	IB_PC_PORT_OP_RCV_DATA_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   166
+	IB_PC_PORT_OP_RCV_COUNTERS_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   167
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   168
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   169
+	 * PortFlowCtlCounters fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   170
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   171
+	IB_PC_PORT_FLOW_CTL_COUNTERS_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   172
+	IB_PC_PORT_XMIT_FLOW_PKTS_F = IB_PC_PORT_FLOW_CTL_COUNTERS_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   173
+	IB_PC_PORT_RCV_FLOW_PKTS_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   174
+	IB_PC_PORT_FLOW_CTL_COUNTERS_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   175
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   176
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   177
+	 * PortVLOpPackets fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   178
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   179
+	IB_PC_PORT_VL_OP_PACKETS_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   180
+	IB_PC_PORT_VL_OP_PACKETS0_F = IB_PC_PORT_VL_OP_PACKETS_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   181
+	IB_PC_PORT_VL_OP_PACKETS1_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   182
+	IB_PC_PORT_VL_OP_PACKETS2_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   183
+	IB_PC_PORT_VL_OP_PACKETS3_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   184
+	IB_PC_PORT_VL_OP_PACKETS4_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   185
+	IB_PC_PORT_VL_OP_PACKETS5_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   186
+	IB_PC_PORT_VL_OP_PACKETS6_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   187
+	IB_PC_PORT_VL_OP_PACKETS7_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   188
+	IB_PC_PORT_VL_OP_PACKETS8_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   189
+	IB_PC_PORT_VL_OP_PACKETS9_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   190
+	IB_PC_PORT_VL_OP_PACKETS10_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   191
+	IB_PC_PORT_VL_OP_PACKETS11_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   192
+	IB_PC_PORT_VL_OP_PACKETS12_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   193
+	IB_PC_PORT_VL_OP_PACKETS13_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   194
+	IB_PC_PORT_VL_OP_PACKETS14_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   195
+	IB_PC_PORT_VL_OP_PACKETS15_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   196
+	IB_PC_PORT_VL_OP_PACKETS_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   197
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   198
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   199
+	 * PortVLOpData fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   200
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   201
+	IB_PC_PORT_VL_OP_DATA_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   202
+	IB_PC_PORT_VL_OP_DATA0_F = IB_PC_PORT_VL_OP_DATA_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   203
+	IB_PC_PORT_VL_OP_DATA1_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   204
+	IB_PC_PORT_VL_OP_DATA2_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   205
+	IB_PC_PORT_VL_OP_DATA3_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   206
+	IB_PC_PORT_VL_OP_DATA4_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   207
+	IB_PC_PORT_VL_OP_DATA5_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   208
+	IB_PC_PORT_VL_OP_DATA6_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   209
+	IB_PC_PORT_VL_OP_DATA7_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   210
+	IB_PC_PORT_VL_OP_DATA8_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   211
+	IB_PC_PORT_VL_OP_DATA9_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   212
+	IB_PC_PORT_VL_OP_DATA10_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   213
+	IB_PC_PORT_VL_OP_DATA11_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   214
+	IB_PC_PORT_VL_OP_DATA12_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   215
+	IB_PC_PORT_VL_OP_DATA13_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   216
+	IB_PC_PORT_VL_OP_DATA14_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   217
+	IB_PC_PORT_VL_OP_DATA15_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   218
+	IB_PC_PORT_VL_OP_DATA_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   219
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   220
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   221
+	 * PortVLXmitFlowCtlUpdateErrors fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   222
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   223
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   224
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS0_F = IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   225
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS1_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   226
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS2_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   227
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS3_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   228
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS4_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   229
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS5_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   230
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS6_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   231
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS7_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   232
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS8_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   233
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS9_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   234
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS10_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   235
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS11_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   236
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS12_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   237
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS13_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   238
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS14_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   239
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS15_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   240
+	IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   241
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   242
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   243
+	 * PortVLXmitWaitCounters fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   244
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   245
+	IB_PC_PORT_VL_XMIT_WAIT_COUNTERS_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   246
+	IB_PC_PORT_VL_XMIT_WAIT0_F = IB_PC_PORT_VL_XMIT_WAIT_COUNTERS_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   247
+	IB_PC_PORT_VL_XMIT_WAIT1_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   248
+	IB_PC_PORT_VL_XMIT_WAIT2_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   249
+	IB_PC_PORT_VL_XMIT_WAIT3_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   250
+	IB_PC_PORT_VL_XMIT_WAIT4_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   251
+	IB_PC_PORT_VL_XMIT_WAIT5_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   252
+	IB_PC_PORT_VL_XMIT_WAIT6_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   253
+	IB_PC_PORT_VL_XMIT_WAIT7_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   254
+	IB_PC_PORT_VL_XMIT_WAIT8_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   255
+	IB_PC_PORT_VL_XMIT_WAIT9_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   256
+	IB_PC_PORT_VL_XMIT_WAIT10_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   257
+	IB_PC_PORT_VL_XMIT_WAIT11_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   258
+	IB_PC_PORT_VL_XMIT_WAIT12_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   259
+	IB_PC_PORT_VL_XMIT_WAIT13_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   260
+	IB_PC_PORT_VL_XMIT_WAIT14_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   261
+	IB_PC_PORT_VL_XMIT_WAIT15_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   262
+	IB_PC_PORT_VL_XMIT_WAIT_COUNTERS_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   263
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   264
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   265
+	 * SwPortVLCongestion fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   266
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   267
+	IB_PC_SW_PORT_VL_CONGESTION_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   268
+	IB_PC_SW_PORT_VL_CONGESTION0_F = IB_PC_SW_PORT_VL_CONGESTION_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   269
+	IB_PC_SW_PORT_VL_CONGESTION1_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   270
+	IB_PC_SW_PORT_VL_CONGESTION2_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   271
+	IB_PC_SW_PORT_VL_CONGESTION3_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   272
+	IB_PC_SW_PORT_VL_CONGESTION4_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   273
+	IB_PC_SW_PORT_VL_CONGESTION5_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   274
+	IB_PC_SW_PORT_VL_CONGESTION6_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   275
+	IB_PC_SW_PORT_VL_CONGESTION7_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   276
+	IB_PC_SW_PORT_VL_CONGESTION8_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   277
+	IB_PC_SW_PORT_VL_CONGESTION9_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   278
+	IB_PC_SW_PORT_VL_CONGESTION10_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   279
+	IB_PC_SW_PORT_VL_CONGESTION11_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   280
+	IB_PC_SW_PORT_VL_CONGESTION12_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   281
+	IB_PC_SW_PORT_VL_CONGESTION13_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   282
+	IB_PC_SW_PORT_VL_CONGESTION14_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   283
+	IB_PC_SW_PORT_VL_CONGESTION15_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   284
+	IB_PC_SW_PORT_VL_CONGESTION_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   285
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   286
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   287
+	 * PortRcvConCtrl fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   288
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   289
+	IB_PC_RCV_CON_CTRL_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   290
+	IB_PC_RCV_CON_CTRL_PKT_RCV_FECN_F = IB_PC_RCV_CON_CTRL_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   291
+	IB_PC_RCV_CON_CTRL_PKT_RCV_BECN_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   292
+	IB_PC_RCV_CON_CTRL_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   293
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   294
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   295
+	 * PortSLRcvFECN fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   296
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   297
+	IB_PC_SL_RCV_FECN_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   298
+	IB_PC_SL_RCV_FECN0_F = IB_PC_SL_RCV_FECN_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   299
+	IB_PC_SL_RCV_FECN1_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   300
+	IB_PC_SL_RCV_FECN2_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   301
+	IB_PC_SL_RCV_FECN3_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   302
+	IB_PC_SL_RCV_FECN4_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   303
+	IB_PC_SL_RCV_FECN5_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   304
+	IB_PC_SL_RCV_FECN6_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   305
+	IB_PC_SL_RCV_FECN7_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   306
+	IB_PC_SL_RCV_FECN8_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   307
+	IB_PC_SL_RCV_FECN9_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   308
+	IB_PC_SL_RCV_FECN10_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   309
+	IB_PC_SL_RCV_FECN11_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   310
+	IB_PC_SL_RCV_FECN12_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   311
+	IB_PC_SL_RCV_FECN13_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   312
+	IB_PC_SL_RCV_FECN14_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   313
+	IB_PC_SL_RCV_FECN15_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   314
+	IB_PC_SL_RCV_FECN_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   315
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   316
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   317
+	 * PortSLRcvBECN fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   318
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   319
+	IB_PC_SL_RCV_BECN_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   320
+	IB_PC_SL_RCV_BECN0_F = IB_PC_SL_RCV_BECN_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   321
+	IB_PC_SL_RCV_BECN1_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   322
+	IB_PC_SL_RCV_BECN2_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   323
+	IB_PC_SL_RCV_BECN3_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   324
+	IB_PC_SL_RCV_BECN4_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   325
+	IB_PC_SL_RCV_BECN5_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   326
+	IB_PC_SL_RCV_BECN6_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   327
+	IB_PC_SL_RCV_BECN7_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   328
+	IB_PC_SL_RCV_BECN8_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   329
+	IB_PC_SL_RCV_BECN9_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   330
+	IB_PC_SL_RCV_BECN10_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   331
+	IB_PC_SL_RCV_BECN11_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   332
+	IB_PC_SL_RCV_BECN12_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   333
+	IB_PC_SL_RCV_BECN13_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   334
+	IB_PC_SL_RCV_BECN14_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   335
+	IB_PC_SL_RCV_BECN15_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   336
+	IB_PC_SL_RCV_BECN_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   337
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   338
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   339
+	 * PortXmitConCtrl fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   340
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   341
+	IB_PC_XMIT_CON_CTRL_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   342
+	IB_PC_XMIT_CON_CTRL_TIME_CONG_F = IB_PC_XMIT_CON_CTRL_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   343
+	IB_PC_XMIT_CON_CTRL_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   344
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   345
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   346
+	 * PortVLXmitTimeCong fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   347
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   348
+	IB_PC_VL_XMIT_TIME_CONG_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   349
+	IB_PC_VL_XMIT_TIME_CONG0_F = IB_PC_VL_XMIT_TIME_CONG_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   350
+	IB_PC_VL_XMIT_TIME_CONG1_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   351
+	IB_PC_VL_XMIT_TIME_CONG2_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   352
+	IB_PC_VL_XMIT_TIME_CONG3_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   353
+	IB_PC_VL_XMIT_TIME_CONG4_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   354
+	IB_PC_VL_XMIT_TIME_CONG5_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   355
+	IB_PC_VL_XMIT_TIME_CONG6_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   356
+	IB_PC_VL_XMIT_TIME_CONG7_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   357
+	IB_PC_VL_XMIT_TIME_CONG8_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   358
+	IB_PC_VL_XMIT_TIME_CONG9_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   359
+	IB_PC_VL_XMIT_TIME_CONG10_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   360
+	IB_PC_VL_XMIT_TIME_CONG11_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   361
+	IB_PC_VL_XMIT_TIME_CONG12_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   362
+	IB_PC_VL_XMIT_TIME_CONG13_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   363
+	IB_PC_VL_XMIT_TIME_CONG14_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   364
+	IB_PC_VL_XMIT_TIME_CONG_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   365
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   366
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   367
+	 * Mellanox ExtendedPortInfo fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   368
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   369
+	IB_MLNX_EXT_PORT_STATE_CHG_ENABLE_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   370
+	IB_MLNX_EXT_PORT_LINK_SPEED_SUPPORTED_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   371
+	IB_MLNX_EXT_PORT_LINK_SPEED_ENABLED_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   372
+	IB_MLNX_EXT_PORT_LINK_SPEED_ACTIVE_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   373
+	IB_MLNX_EXT_PORT_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   374
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   375
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   376
+	 * Congestion Control Mad fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   377
+	 * bytes 24-31 of congestion control mad
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   378
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   379
+	IB_CC_CCKEY_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   380
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   381
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   382
+	 * CongestionInfo fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   383
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   384
+	IB_CC_CONGESTION_INFO_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   385
+	IB_CC_CONGESTION_INFO_F = IB_CC_CONGESTION_INFO_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   386
+	IB_CC_CONGESTION_INFO_CONTROL_TABLE_CAP_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   387
+	IB_CC_CONGESTION_INFO_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   388
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   389
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   390
+	 * CongestionKeyInfo fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   391
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   392
+	IB_CC_CONGESTION_KEY_INFO_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   393
+	IB_CC_CONGESTION_KEY_INFO_CC_KEY_F = IB_CC_CONGESTION_KEY_INFO_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   394
+	IB_CC_CONGESTION_KEY_INFO_CC_KEY_PROTECT_BIT_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   395
+	IB_CC_CONGESTION_KEY_INFO_CC_KEY_LEASE_PERIOD_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   396
+	IB_CC_CONGESTION_KEY_INFO_CC_KEY_VIOLATIONS_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   397
+	IB_CC_CONGESTION_KEY_INFO_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   398
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   399
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   400
+	 * CongestionLog (common) fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   401
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   402
+	IB_CC_CONGESTION_LOG_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   403
+	IB_CC_CONGESTION_LOG_LOGTYPE_F = IB_CC_CONGESTION_LOG_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   404
+	IB_CC_CONGESTION_LOG_CONGESTION_FLAGS_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   405
+	IB_CC_CONGESTION_LOG_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   406
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   407
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   408
+	 * CongestionLog (Switch) fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   409
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   410
+	IB_CC_CONGESTION_LOG_SWITCH_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   411
+	IB_CC_CONGESTION_LOG_SWITCH_LOG_EVENTS_COUNTER_F = IB_CC_CONGESTION_LOG_SWITCH_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   412
+	IB_CC_CONGESTION_LOG_SWITCH_CURRENT_TIME_STAMP_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   413
+	IB_CC_CONGESTION_LOG_SWITCH_PORTMAP_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   414
+	IB_CC_CONGESTION_LOG_SWITCH_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   415
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   416
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   417
+	 * CongestionLogEvent (Switch) fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   418
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   419
+	IB_CC_CONGESTION_LOG_ENTRY_SWITCH_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   420
+	IB_CC_CONGESTION_LOG_ENTRY_SWITCH_SLID_F = IB_CC_CONGESTION_LOG_ENTRY_SWITCH_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   421
+	IB_CC_CONGESTION_LOG_ENTRY_SWITCH_DLID_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   422
+	IB_CC_CONGESTION_LOG_ENTRY_SWITCH_SL_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   423
+	IB_CC_CONGESTION_LOG_ENTRY_SWITCH_TIMESTAMP_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   424
+	IB_CC_CONGESTION_LOG_ENTRY_SWITCH_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   425
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   426
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   427
+	 * CongestionLog (CA) fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   428
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   429
+	IB_CC_CONGESTION_LOG_CA_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   430
+	IB_CC_CONGESTION_LOG_CA_THRESHOLD_EVENT_COUNTER_F = IB_CC_CONGESTION_LOG_CA_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   431
+	IB_CC_CONGESTION_LOG_CA_THRESHOLD_CONGESTION_EVENT_MAP_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   432
+	IB_CC_CONGESTION_LOG_CA_CURRENT_TIMESTAMP_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   433
+	IB_CC_CONGESTION_LOG_CA_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   434
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   435
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   436
+	 * CongestionLogEvent (CA) fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   437
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   438
+	IB_CC_CONGESTION_LOG_ENTRY_CA_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   439
+	IB_CC_CONGESTION_LOG_ENTRY_CA_LOCAL_QP_CN_ENTRY_F = IB_CC_CONGESTION_LOG_ENTRY_CA_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   440
+	IB_CC_CONGESTION_LOG_ENTRY_CA_SL_CN_ENTRY_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   441
+	IB_CC_CONGESTION_LOG_ENTRY_CA_SERVICE_TYPE_CN_ENTRY_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   442
+	IB_CC_CONGESTION_LOG_ENTRY_CA_REMOTE_QP_NUMBER_CN_ENTRY_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   443
+	IB_CC_CONGESTION_LOG_ENTRY_CA_LOCAL_LID_CN_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   444
+	IB_CC_CONGESTION_LOG_ENTRY_CA_REMOTE_LID_CN_ENTRY_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   445
+	IB_CC_CONGESTION_LOG_ENTRY_CA_TIMESTAMP_CN_ENTRY_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   446
+	IB_CC_CONGESTION_LOG_ENTRY_CA_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   447
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   448
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   449
+	 * SwitchCongestionSetting fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   450
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   451
+	IB_CC_SWITCH_CONGESTION_SETTING_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   452
+	IB_CC_SWITCH_CONGESTION_SETTING_CONTROL_MAP_F = IB_CC_SWITCH_CONGESTION_SETTING_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   453
+	IB_CC_SWITCH_CONGESTION_SETTING_VICTIM_MASK_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   454
+	IB_CC_SWITCH_CONGESTION_SETTING_CREDIT_MASK_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   455
+	IB_CC_SWITCH_CONGESTION_SETTING_THRESHOLD_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   456
+	IB_CC_SWITCH_CONGESTION_SETTING_PACKET_SIZE_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   457
+	IB_CC_SWITCH_CONGESTION_SETTING_CS_THRESHOLD_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   458
+	IB_CC_SWITCH_CONGESTION_SETTING_CS_RETURN_DELAY_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   459
+	IB_CC_SWITCH_CONGESTION_SETTING_MARKING_RATE_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   460
+	IB_CC_SWITCH_CONGESTION_SETTING_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   461
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   462
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   463
+	 * SwitchPortCongestionSettingElement fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   464
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   465
+	IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   466
+	IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_VALID_F = IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   467
+	IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_CONTROL_TYPE_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   468
+	IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_THRESHOLD_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   469
+	IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_PACKET_SIZE_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   470
+	IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_CONG_PARM_MARKING_RATE_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   471
+	IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   472
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   473
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   474
+	 * CACongestionSetting fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   475
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   476
+	IB_CC_CA_CONGESTION_SETTING_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   477
+	IB_CC_CA_CONGESTION_SETTING_PORT_CONTROL_F = IB_CC_CA_CONGESTION_SETTING_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   478
+	IB_CC_CA_CONGESTION_SETTING_CONTROL_MAP_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   479
+	IB_CC_CA_CONGESTION_SETTING_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   480
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   481
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   482
+	 * CACongestionEntry fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   483
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   484
+	IB_CC_CA_CONGESTION_ENTRY_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   485
+	IB_CC_CA_CONGESTION_ENTRY_CCTI_TIMER_F = IB_CC_CA_CONGESTION_ENTRY_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   486
+	IB_CC_CA_CONGESTION_ENTRY_CCTI_INCREASE_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   487
+	IB_CC_CA_CONGESTION_ENTRY_TRIGGER_THRESHOLD_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   488
+	IB_CC_CA_CONGESTION_ENTRY_CCTI_MIN_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   489
+	IB_CC_CA_CONGESTION_ENTRY_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   490
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   491
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   492
+	 * CongestionControlTable fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   493
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   494
+	IB_CC_CONGESTION_CONTROL_TABLE_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   495
+	IB_CC_CONGESTION_CONTROL_TABLE_CCTI_LIMIT_F = IB_CC_CONGESTION_CONTROL_TABLE_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   496
+	IB_CC_CONGESTION_CONTROL_TABLE_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   497
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   498
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   499
+	 * CongestionControlTableEntry fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   500
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   501
+	IB_CC_CONGESTION_CONTROL_TABLE_ENTRY_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   502
+	IB_CC_CONGESTION_CONTROL_TABLE_ENTRY_CCT_SHIFT_F = IB_CC_CONGESTION_CONTROL_TABLE_ENTRY_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   503
+	IB_CC_CONGESTION_CONTROL_TABLE_ENTRY_CCT_MULTIPLIER_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   504
+	IB_CC_CONGESTION_CONTROL_TABLE_ENTRY_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   505
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   506
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   507
+	 * Timestamp fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   508
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   509
+	IB_CC_TIMESTAMP_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   510
+	IB_CC_TIMESTAMP_F = IB_CC_TIMESTAMP_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   511
+	IB_CC_TIMESTAMP_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   512
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   513
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   514
+	 * Node Record
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   515
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   516
+	IB_SA_NR_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   517
+	IB_SA_NR_LID_F = IB_SA_NR_FIRST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   518
+	IB_SA_NR_BASEVER_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   519
+	IB_SA_NR_CLASSVER_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   520
+	IB_SA_NR_TYPE_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   521
+	IB_SA_NR_NPORTS_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   522
+	IB_SA_NR_SYSTEM_GUID_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   523
+	IB_SA_NR_GUID_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   524
+	IB_SA_NR_PORT_GUID_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   525
+	IB_SA_NR_PARTITION_CAP_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   526
+	IB_SA_NR_DEVID_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   527
+	IB_SA_NR_REVISION_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   528
+	IB_SA_NR_LOCAL_PORT_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   529
+	IB_SA_NR_VENDORID_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   530
+	IB_SA_NR_NODEDESC_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   531
+	IB_SA_NR_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   532
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   533
+	/*
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   534
+	 * PortSamplesResult fields
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   535
+	 */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   536
+	IB_PSR_TAG_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   537
+	IB_PSR_SAMPLE_STATUS_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   538
+	IB_PSR_COUNTER0_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   539
+	IB_PSR_COUNTER1_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   540
+	IB_PSR_COUNTER2_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   541
+	IB_PSR_COUNTER3_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   542
+	IB_PSR_COUNTER4_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   543
+	IB_PSR_COUNTER5_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   544
+	IB_PSR_COUNTER6_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   545
+	IB_PSR_COUNTER7_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   546
+	IB_PSR_COUNTER8_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   547
+	IB_PSR_COUNTER9_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   548
+	IB_PSR_COUNTER10_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   549
+	IB_PSR_COUNTER11_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   550
+	IB_PSR_COUNTER12_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   551
+	IB_PSR_COUNTER13_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   552
+	IB_PSR_COUNTER14_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   553
+	IB_PSR_LAST_F,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   554
+
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   555
 	IB_FIELD_LAST_		/* must be last */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   556
 };
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   557
 
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   558
@@ -974,6 +1459,9 @@
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   559
 				 ibmad_gid_t srcgid, ibmad_gid_t destgid,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   560
 				 ib_portid_t * sm_id, void *buf);
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   561
 	/* returns lid */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   562
+MAD_EXPORT int ib_node_query_via(const struct ibmad_port *srcport,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   563
+				 uint64_t guid, ib_portid_t * sm_id,
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   564
+				 void *buf);
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   565
 
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   566
 /* resolve.c */
bd892ba92960 16448055 libibmad: Add NodeRecord query API
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1067
diff changeset
   567
 MAD_EXPORT int ib_resolve_smlid(ib_portid_t * sm_id, int timeout) DEPRECATED;
1319
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   568
@@ -1021,6 +1509,7 @@
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   569
     mad_dump_linkwidth, mad_dump_linkwidthsup, mad_dump_linkwidthen,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   570
     mad_dump_linkdowndefstate,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   571
     mad_dump_linkspeed, mad_dump_linkspeedsup, mad_dump_linkspeeden,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   572
+    mad_dump_linkspeedext, mad_dump_linkspeedextsup, mad_dump_linkspeedexten,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   573
     mad_dump_portstate, mad_dump_portstates,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   574
     mad_dump_physportstate, mad_dump_portcapmask,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   575
     mad_dump_mtu, mad_dump_vlcap, mad_dump_opervls,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   576
@@ -1029,7 +1518,21 @@
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   577
     mad_dump_switchinfo, mad_dump_perfcounters, mad_dump_perfcounters_ext,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   578
     mad_dump_perfcounters_xmt_sl, mad_dump_perfcounters_rcv_sl,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   579
     mad_dump_perfcounters_xmt_disc, mad_dump_perfcounters_rcv_err,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   580
-    mad_dump_portsamples_control;
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   581
+    mad_dump_portsamples_control, mad_dump_port_ext_speeds_counters,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   582
+    mad_dump_perfcounters_port_op_rcv_counters, mad_dump_perfcounters_port_flow_ctl_counters,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   583
+    mad_dump_perfcounters_port_vl_op_packet, mad_dump_perfcounters_port_vl_op_data,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   584
+    mad_dump_perfcounters_port_vl_xmit_flow_ctl_update_errors, mad_dump_perfcounters_port_vl_xmit_wait_counters,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   585
+    mad_dump_perfcounters_sw_port_vl_congestion, mad_dump_perfcounters_rcv_con_ctrl,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   586
+    mad_dump_perfcounters_sl_rcv_fecn, mad_dump_perfcounters_sl_rcv_becn,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   587
+    mad_dump_perfcounters_xmit_con_ctrl, mad_dump_perfcounters_vl_xmit_time_cong,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   588
+    mad_dump_mlnx_ext_port_info, mad_dump_cc_congestioninfo, mad_dump_cc_congestionkeyinfo,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   589
+    mad_dump_cc_congestionlog, mad_dump_cc_congestionlogswitch,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   590
+    mad_dump_cc_congestionlogentryswitch, mad_dump_cc_congestionlogca,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   591
+    mad_dump_cc_congestionlogentryca, mad_dump_cc_switchcongestionsetting,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   592
+    mad_dump_cc_switchportcongestionsettingelement, mad_dump_cc_cacongestionsetting,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   593
+    mad_dump_cc_cacongestionentry, mad_dump_cc_congestioncontroltable,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   594
+    mad_dump_cc_congestioncontroltableentry, mad_dump_cc_timestamp,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   595
+    mad_dump_classportinfo, mad_dump_portsamples_result;
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   596
 
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   597
 MAD_EXPORT void mad_dump_fields(char *buf, int bufsz, void *val, int valsz,
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   598
 				int start, int end);
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   599
@@ -1036,6 +1539,10 @@
369
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   600
 
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   601
 extern MAD_EXPORT int ibdebug;
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   602
 
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   603
+#if !(defined(__SVR4) && defined(__sun))
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   604
+#include <endian.h>
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   605
+#include <byteswap.h>
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   606
+
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   607
 #if __BYTE_ORDER == __LITTLE_ENDIAN
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   608
 #ifndef ntohll
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   609
 static inline uint64_t ntohll(uint64_t x)
1319
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   610
@@ -1063,6 +1570,9 @@
369
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   611
 }
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   612
 #endif
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   613
 #endif				/* __BYTE_ORDER == __BIG_ENDIAN */
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   614
+#else
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   615
+#include <infiniband/ofa_solaris.h>
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   616
+#endif
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   617
 
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   618
 /* Misc. macros: */
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   619
 /** align value \a l to \a size (ceil) */
1319
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   620
@@ -1069,14 +1579,14 @@
369
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   621
 #define ALIGN(l, size) (((l) + ((size) - 1)) / (size) * (size))
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   622
 
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   623
 /** printf style warning MACRO, includes name of function and pid */
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   624
-#define IBWARN(fmt, ...) fprintf(stderr, "ibwarn: [%d] %s: " fmt "\n", getpid(), __func__, ## __VA_ARGS__)
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   625
+#define IBWARN(fmt, ...) fprintf(stderr, "ibwarn: [%d] %s: " fmt "\n", (int)getpid(), __func__, ## __VA_ARGS__)
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   626
 
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   627
-#define IBDEBUG(fmt, ...) fprintf(stdout, "ibdebug: [%d] %s: " fmt "\n", getpid(), __func__, ## __VA_ARGS__)
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   628
+#define IBDEBUG(fmt, ...) fprintf(stdout, "ibdebug: [%d] %s: " fmt "\n", (int)getpid(), __func__, ## __VA_ARGS__)
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   629
 
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   630
-#define IBVERBOSE(fmt, ...) fprintf(stdout, "[%d] %s: " fmt "\n", getpid(), __func__, ## __VA_ARGS__)
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   631
+#define IBVERBOSE(fmt, ...) fprintf(stdout, "[%d] %s: " fmt "\n", (int)getpid(), __func__, ## __VA_ARGS__)
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   632
 
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   633
 #define IBPANIC(fmt, ...) do { \
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   634
-	fprintf(stderr, "ibpanic: [%d] %s: " fmt ": %m\n", getpid(), __func__, ## __VA_ARGS__); \
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   635
+	fprintf(stderr, "ibpanic: [%d] %s: " fmt ": %m\n", (int)getpid(), __func__, ## __VA_ARGS__); \
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   636
 	exit(-1); \
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   637
 } while(0)
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   638
 
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   639
diff -r -u /tmp/libibmad-1.3.7/include/infiniband/mad_osd.h libibmad-1.3.7/include/infiniband/mad_osd.h
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   640
--- /tmp/libibmad-1.3.7/include/infiniband/mad_osd.h	Wed Feb 16 02:12:53 2011
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   641
+++ libibmad-1.3.7/include/infiniband/mad_osd.h	Thu Feb 24 11:27:11 2011
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   642
@@ -39,7 +39,9 @@
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   643
 #include <stdio.h>
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   644
 #include <sys/types.h>
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   645
 #include <unistd.h>
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   646
+#if !(defined(__SVR4) && defined(__sun))
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   647
 #include <byteswap.h>
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   648
+#endif
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   649
 #include <inttypes.h>
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   650
 #include <arpa/inet.h>
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   651
 
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   652
diff -r -u /tmp/libibmad-1.3.7/src/fields.c libibmad-1.3.7/src/fields.c
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   653
--- /tmp/libibmad-1.3.7/src/fields.c	Wed Feb 16 02:12:53 2011
cc8c00719da9 PSARC 2011/165 OFUV update of existing components
Boris Chiu <Boris.Chiu@Sun.COM>
parents:
diff changeset
   654
+++ libibmad-1.3.7/src/fields.c	Thu Feb 24 13:27:00 2011
1319
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   655
@@ -452,21 +452,21 @@
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   656
 	/*
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   657
 	 * PortXmitDiscardDetails fields
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   658
 	 */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   659
-	{32, 16, "PortInactiveDiscards", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   660
-	{48, 16, "PortNeighborMTUDiscards", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   661
-	{64, 16, "PortSwLifetimeLimitDiscards", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   662
-	{80, 16, "PortSwHOQLifetimeLimitDiscards", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   663
+	{BITSOFFS(32, 16), "PortInactiveDiscards", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   664
+	{BITSOFFS(48, 16), "PortNeighborMTUDiscards", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   665
+	{BITSOFFS(64, 16), "PortSwLifetimeLimitDiscards", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   666
+	{BITSOFFS(80, 16), "PortSwHOQLifetimeLimitDiscards", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   667
 	{0, 0},			/* IB_PC_XMT_DISC_LAST_F */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   668
 
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   669
 	/*
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   670
 	 * PortRcvErrorDetails fields
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   671
 	 */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   672
-	{32, 16, "PortLocalPhysicalErrors", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   673
-	{48, 16, "PortMalformedPktErrors", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   674
-	{64, 16, "PortBufferOverrunErrors", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   675
-	{80, 16, "PortDLIDMappingErrors", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   676
-	{96, 16, "PortVLMappingErrors", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   677
-	{112, 16, "PortLoopingErrors", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   678
+	{BITSOFFS(32, 16), "PortLocalPhysicalErrors", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   679
+	{BITSOFFS(48, 16), "PortMalformedPktErrors", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   680
+	{BITSOFFS(64, 16), "PortBufferOverrunErrors", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   681
+	{BITSOFFS(80, 16), "PortDLIDMappingErrors", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   682
+	{BITSOFFS(96, 16), "PortVLMappingErrors", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   683
+	{BITSOFFS(112, 16), "PortLoopingErrors", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   684
 	{0, 0},                 /* IB_PC_RCV_ERR_LAST_F */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   685
 
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   686
 	/*
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   687
@@ -485,25 +485,470 @@
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   688
 	{160, 64, "VendorMask", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   689
 	{224, 32, "SampleStart", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   690
 	{256, 32, "SampleInterval", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   691
-	{288, 16, "Tag", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   692
-	{304, 16, "CounterSelect0", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   693
-	{320, 16, "CounterSelect1", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   694
-	{336, 16, "CounterSelect2", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   695
-	{352, 16, "CounterSelect3", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   696
-	{368, 16, "CounterSelect4", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   697
-	{384, 16, "CounterSelect5", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   698
-	{400, 16, "CounterSelect6", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   699
-	{416, 16, "CounterSelect7", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   700
-	{432, 16, "CounterSelect8", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   701
-	{448, 16, "CounterSelect9", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   702
-	{464, 16, "CounterSelect10", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   703
-	{480, 16, "CounterSelect11", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   704
-	{496, 16, "CounterSelect12", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   705
-	{512, 16, "CounterSelect13", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   706
-	{528, 16, "CounterSelect14", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   707
+	{BITSOFFS(288, 16), "Tag", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   708
+	{BITSOFFS(304, 16), "CounterSelect0", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   709
+	{BITSOFFS(320, 16), "CounterSelect1", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   710
+	{BITSOFFS(336, 16), "CounterSelect2", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   711
+	{BITSOFFS(352, 16), "CounterSelect3", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   712
+	{BITSOFFS(368, 16), "CounterSelect4", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   713
+	{BITSOFFS(384, 16), "CounterSelect5", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   714
+	{BITSOFFS(400, 16), "CounterSelect6", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   715
+	{BITSOFFS(416, 16), "CounterSelect7", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   716
+	{BITSOFFS(432, 16), "CounterSelect8", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   717
+	{BITSOFFS(448, 16), "CounterSelect9", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   718
+	{BITSOFFS(464, 16), "CounterSelect10", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   719
+	{BITSOFFS(480, 16), "CounterSelect11", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   720
+	{BITSOFFS(496, 16), "CounterSelect12", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   721
+	{BITSOFFS(512, 16), "CounterSelect13", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   722
+	{BITSOFFS(528, 16), "CounterSelect14", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   723
 	{576, 64, "SamplesOnlyOptionMask", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   724
 	{0, 0},			/* IB_PSC_LAST_F */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   725
 
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   726
+	/* GUIDInfo fields */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   727
+	{0, 64, "GUID0", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   728
+	{64, 64, "GUID1", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   729
+	{128, 64, "GUID2", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   730
+	{192, 64, "GUID3", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   731
+	{256, 64, "GUID4", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   732
+	{320, 64, "GUID5", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   733
+	{384, 64, "GUID6", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   734
+	{448, 64, "GUID7", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   735
+
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   736
+	/* GUID Info Record */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   737
+	{BITSOFFS(0, 16), "Lid", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   738
+	{BITSOFFS(16, 8), "BlockNum", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   739
+	{64, 64, "Guid0", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   740
+	{128, 64, "Guid1", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   741
+	{192, 64, "Guid2", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   742
+	{256, 64, "Guid3", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   743
+	{320, 64, "Guid4", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   744
+	{384, 64, "Guid5", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   745
+	{448, 64, "Guid6", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   746
+	{512, 64, "Guid7", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   747
+
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   748
+	/*
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   749
+	 * More PortInfo fields
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   750
+	 */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   751
+	{BITSOFFS(480, 16), "CapabilityMask2", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   752
+	{BITSOFFS(496, 4), "LinkSpeedExtActive", mad_dump_linkspeedext},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   753
+	{BITSOFFS(500, 4), "LinkSpeedExtSupported", mad_dump_linkspeedextsup},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   754
+	{BITSOFFS(507, 5), "LinkSpeedExtEnabled", mad_dump_linkspeedexten},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   755
+	{0, 0},			/* IB_PORT_LINK_SPEED_EXT_LAST_F */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   756
+
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   757
+	/*
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   758
+	 * PortExtendedSpeedsCounters fields
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   759
+	 */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   760
+	{BITSOFFS(8, 8), "PortSelect", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   761
+	{64, 64, "CounterSelect", mad_dump_hex},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   762
+	{BITSOFFS(128, 16), "SyncHeaderErrorCounter", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   763
+	{BITSOFFS(144, 16), "UnknownBlockCounter", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   764
+	{BITSOFFS(160, 16), "ErrorDetectionCounterLane0", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   765
+	{BITSOFFS(176, 16), "ErrorDetectionCounterLane1", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   766
+	{BITSOFFS(192, 16), "ErrorDetectionCounterLane2", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   767
+	{BITSOFFS(208, 16), "ErrorDetectionCounterLane3", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   768
+	{BITSOFFS(224, 16), "ErrorDetectionCounterLane4", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   769
+	{BITSOFFS(240, 16), "ErrorDetectionCounterLane5", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   770
+	{BITSOFFS(256, 16), "ErrorDetectionCounterLane6", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   771
+	{BITSOFFS(272, 16), "ErrorDetectionCounterLane7", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   772
+	{BITSOFFS(288, 16), "ErrorDetectionCounterLane8", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   773
+	{BITSOFFS(304, 16), "ErrorDetectionCounterLane9", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   774
+	{BITSOFFS(320, 16), "ErrorDetectionCounterLane10", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   775
+	{BITSOFFS(336, 16), "ErrorDetectionCounterLane11", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   776
+	{352, 32, "FECCorrectableBlockCtrLane0", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   777
+	{384, 32, "FECCorrectableBlockCtrLane1", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   778
+	{416, 32, "FECCorrectableBlockCtrLane2", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   779
+	{448, 32, "FECCorrectableBlockCtrLane3", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   780
+	{480, 32, "FECCorrectableBlockCtrLane4", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   781
+	{512, 32, "FECCorrectableBlockCtrLane5", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   782
+	{544, 32, "FECCorrectableBlockCtrLane6", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   783
+	{576, 32, "FECCorrectableBlockCtrLane7", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   784
+	{608, 32, "FECCorrectableBlockCtrLane8", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   785
+	{640, 32, "FECCorrectableBlockCtrLane9", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   786
+	{672, 32, "FECCorrectableBlockCtrLane10", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   787
+	{704, 32, "FECCorrectableBlockCtrLane11", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   788
+	{736, 32, "FECUncorrectableBlockCtrLane0", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   789
+	{768, 32, "FECUncorrectableBlockCtrLane1", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   790
+	{800, 32, "FECUncorrectableBlockCtrLane2", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   791
+	{832, 32, "FECUncorrectableBlockCtrLane3", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   792
+	{864, 32, "FECUncorrectableBlockCtrLane4", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   793
+	{896, 32, "FECUncorrectableBlockCtrLane5", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   794
+	{928, 32, "FECUncorrectableBlockCtrLane6", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   795
+	{960, 32, "FECUncorrectableBlockCtrLane7", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   796
+	{992, 32, "FECUncorrectableBlockCtrLane8", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   797
+	{1024, 32, "FECUncorrectableBlockCtrLane9", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   798
+	{1056, 32, "FECUncorrectableBlockCtrLane10", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   799
+	{1088, 32, "FECUncorrectableBlockCtrLane11", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   800
+	{0, 0},			/* IB_PESC_LAST_F */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   801
+
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   802
+	/*
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   803
+	 * PortOpRcvCounters fields
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   804
+	 */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   805
+	{32, 32, "PortOpRcvPkts", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   806
+	{64, 32, "PortOpRcvData", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   807
+	{0, 0},			/* IB_PC_PORT_OP_RCV_COUNTERS_LAST_F */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   808
+
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   809
+	/*
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   810
+	 * PortFlowCtlCounters fields
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   811
+	 */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   812
+	{32, 32, "PortXmitFlowPkts", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   813
+	{64, 32, "PortRcvFlowPkts", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   814
+	{0, 0},			/* IB_PC_PORT_FLOW_CTL_COUNTERS_LAST_F */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   815
+
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   816
+	/*
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   817
+	 * PortVLOpPackets fields
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   818
+	 */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   819
+	{BITSOFFS(32, 16), "PortVLOpPackets0", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   820
+	{BITSOFFS(48, 16), "PortVLOpPackets1", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   821
+	{BITSOFFS(64, 16), "PortVLOpPackets2", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   822
+	{BITSOFFS(80, 16), "PortVLOpPackets3", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   823
+	{BITSOFFS(96, 16), "PortVLOpPackets4", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   824
+	{BITSOFFS(112, 16), "PortVLOpPackets5", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   825
+	{BITSOFFS(128, 16), "PortVLOpPackets6", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   826
+	{BITSOFFS(144, 16), "PortVLOpPackets7", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   827
+	{BITSOFFS(160, 16), "PortVLOpPackets8", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   828
+	{BITSOFFS(176, 16), "PortVLOpPackets9", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   829
+	{BITSOFFS(192, 16), "PortVLOpPackets10", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   830
+	{BITSOFFS(208, 16), "PortVLOpPackets11", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   831
+	{BITSOFFS(224, 16), "PortVLOpPackets12", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   832
+	{BITSOFFS(240, 16), "PortVLOpPackets13", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   833
+	{BITSOFFS(256, 16), "PortVLOpPackets14", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   834
+	{BITSOFFS(272, 16), "PortVLOpPackets15", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   835
+	{0, 0},			/* IB_PC_PORT_VL_OP_PACKETS_LAST_F */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   836
+
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   837
+	/*
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   838
+	 * PortVLOpData fields
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   839
+	 */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   840
+	{32, 32, "PortVLOpData0", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   841
+	{64, 32, "PortVLOpData1", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   842
+	{96, 32, "PortVLOpData2", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   843
+	{128, 32, "PortVLOpData3", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   844
+	{160, 32, "PortVLOpData4", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   845
+	{192, 32, "PortVLOpData5", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   846
+	{224, 32, "PortVLOpData6", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   847
+	{256, 32, "PortVLOpData7", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   848
+	{288, 32, "PortVLOpData8", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   849
+	{320, 32, "PortVLOpData9", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   850
+	{352, 32, "PortVLOpData10", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   851
+	{384, 32, "PortVLOpData11", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   852
+	{416, 32, "PortVLOpData12", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   853
+	{448, 32, "PortVLOpData13", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   854
+	{480, 32, "PortVLOpData14", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   855
+	{512, 32, "PortVLOpData15", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   856
+	{0, 0},			/* IB_PC_PORT_VL_OP_DATA_LAST_F */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   857
+
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   858
+	/*
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   859
+	 * PortVLXmitFlowCtlUpdateErrors fields
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   860
+	 */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   861
+	{BITSOFFS(32, 2), "PortVLXmitFlowCtlUpdateErrors0", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   862
+	{BITSOFFS(34, 2), "PortVLXmitFlowCtlUpdateErrors1", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   863
+	{BITSOFFS(36, 2), "PortVLXmitFlowCtlUpdateErrors2", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   864
+	{BITSOFFS(38, 2), "PortVLXmitFlowCtlUpdateErrors3", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   865
+	{BITSOFFS(40, 2), "PortVLXmitFlowCtlUpdateErrors4", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   866
+	{BITSOFFS(42, 2), "PortVLXmitFlowCtlUpdateErrors5", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   867
+	{BITSOFFS(44, 2), "PortVLXmitFlowCtlUpdateErrors6", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   868
+	{BITSOFFS(46, 2), "PortVLXmitFlowCtlUpdateErrors7", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   869
+	{BITSOFFS(48, 2), "PortVLXmitFlowCtlUpdateErrors8", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   870
+	{BITSOFFS(50, 2), "PortVLXmitFlowCtlUpdateErrors9", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   871
+	{BITSOFFS(52, 2), "PortVLXmitFlowCtlUpdateErrors10", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   872
+	{BITSOFFS(54, 2), "PortVLXmitFlowCtlUpdateErrors11", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   873
+	{BITSOFFS(56, 2), "PortVLXmitFlowCtlUpdateErrors12", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   874
+	{BITSOFFS(58, 2), "PortVLXmitFlowCtlUpdateErrors13", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   875
+	{BITSOFFS(60, 2), "PortVLXmitFlowCtlUpdateErrors14", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   876
+	{BITSOFFS(62, 2), "PortVLXmitFlowCtlUpdateErrors15", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   877
+	{0, 0},			/* IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS_LAST_F */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   878
+
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   879
+	/*
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   880
+	 * PortVLXmitWaitCounters fields
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   881
+	 */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   882
+	{BITSOFFS(32, 16), "PortVLXmitWait0", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   883
+	{BITSOFFS(48, 16), "PortVLXmitWait1", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   884
+	{BITSOFFS(64, 16), "PortVLXmitWait2", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   885
+	{BITSOFFS(80, 16), "PortVLXmitWait3", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   886
+	{BITSOFFS(96, 16), "PortVLXmitWait4", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   887
+	{BITSOFFS(112, 16), "PortVLXmitWait5", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   888
+	{BITSOFFS(128, 16), "PortVLXmitWait6", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   889
+	{BITSOFFS(144, 16), "PortVLXmitWait7", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   890
+	{BITSOFFS(160, 16), "PortVLXmitWait8", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   891
+	{BITSOFFS(176, 16), "PortVLXmitWait9", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   892
+	{BITSOFFS(192, 16), "PortVLXmitWait10", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   893
+	{BITSOFFS(208, 16), "PortVLXmitWait11", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   894
+	{BITSOFFS(224, 16), "PortVLXmitWait12", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   895
+	{BITSOFFS(240, 16), "PortVLXmitWait13", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   896
+	{BITSOFFS(256, 16), "PortVLXmitWait14", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   897
+	{BITSOFFS(272, 16), "PortVLXmitWait15", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   898
+	{0, 0},			/* IB_PC_PORT_VL_XMIT_WAIT_COUNTERS_LAST_F */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   899
+
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   900
+	/*
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   901
+	 * SwPortVLCongestion fields
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   902
+	 */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   903
+	{BITSOFFS(32, 16), "SWPortVLCongestion0", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   904
+	{BITSOFFS(48, 16), "SWPortVLCongestion1", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   905
+	{BITSOFFS(64, 16), "SWPortVLCongestion2", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   906
+	{BITSOFFS(80, 16), "SWPortVLCongestion3", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   907
+	{BITSOFFS(96, 16), "SWPortVLCongestion4", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   908
+	{BITSOFFS(112, 16), "SWPortVLCongestion5", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   909
+	{BITSOFFS(128, 16), "SWPortVLCongestion6", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   910
+	{BITSOFFS(144, 16), "SWPortVLCongestion7", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   911
+	{BITSOFFS(160, 16), "SWPortVLCongestion8", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   912
+	{BITSOFFS(176, 16), "SWPortVLCongestion9", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   913
+	{BITSOFFS(192, 16), "SWPortVLCongestion10", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   914
+	{BITSOFFS(208, 16), "SWPortVLCongestion11", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   915
+	{BITSOFFS(224, 16), "SWPortVLCongestion12", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   916
+	{BITSOFFS(240, 16), "SWPortVLCongestion13", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   917
+	{BITSOFFS(256, 16), "SWPortVLCongestion14", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   918
+	{BITSOFFS(272, 16), "SWPortVLCongestion15", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   919
+	{0, 0},			/* IB_PC_SW_PORT_VL_CONGESTION_LAST_F */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   920
+
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   921
+	/*
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   922
+	 * PortRcvConCtrl fields
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   923
+	 */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   924
+	{32, 32, "PortPktRcvFECN", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   925
+	{64, 32, "PortPktRcvBECN", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   926
+	{0, 0},			/* IB_PC_RCV_CON_CTRL_LAST_F */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   927
+
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   928
+	/*
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   929
+	 * PortSLRcvFECN fields
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   930
+	 */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   931
+	{32, 32, "PortSLRcvFECN0", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   932
+	{64, 32, "PortSLRcvFECN1", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   933
+	{96, 32, "PortSLRcvFECN2", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   934
+	{128, 32, "PortSLRcvFECN3", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   935
+	{160, 32, "PortSLRcvFECN4", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   936
+	{192, 32, "PortSLRcvFECN5", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   937
+	{224, 32, "PortSLRcvFECN6", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   938
+	{256, 32, "PortSLRcvFECN7", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   939
+	{288, 32, "PortSLRcvFECN8", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   940
+	{320, 32, "PortSLRcvFECN9", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   941
+	{352, 32, "PortSLRcvFECN10", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   942
+	{384, 32, "PortSLRcvFECN11", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   943
+	{416, 32, "PortSLRcvFECN12", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   944
+	{448, 32, "PortSLRcvFECN13", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   945
+	{480, 32, "PortSLRcvFECN14", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   946
+	{512, 32, "PortSLRcvFECN15", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   947
+	{0, 0},			/* IB_PC_SL_RCV_FECN_LAST_F */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   948
+
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   949
+	/*
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   950
+	 * PortSLRcvBECN fields
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   951
+	 */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   952
+	{32, 32, "PortSLRcvBECN0", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   953
+	{64, 32, "PortSLRcvBECN1", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   954
+	{96, 32, "PortSLRcvBECN2", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   955
+	{128, 32, "PortSLRcvBECN3", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   956
+	{160, 32, "PortSLRcvBECN4", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   957
+	{192, 32, "PortSLRcvBECN5", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   958
+	{224, 32, "PortSLRcvBECN6", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   959
+	{256, 32, "PortSLRcvBECN7", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   960
+	{288, 32, "PortSLRcvBECN8", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   961
+	{320, 32, "PortSLRcvBECN9", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   962
+	{352, 32, "PortSLRcvBECN10", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   963
+	{384, 32, "PortSLRcvBECN11", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   964
+	{416, 32, "PortSLRcvBECN12", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   965
+	{448, 32, "PortSLRcvBECN13", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   966
+	{480, 32, "PortSLRcvBECN14", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   967
+	{512, 32, "PortSLRcvBECN15", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   968
+	{0, 0},			/* IB_PC_SL_RCV_BECN_LAST_F */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   969
+
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   970
+	/*
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   971
+	 * PortXmitConCtrl fields
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   972
+	 */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   973
+	{32, 32, "PortXmitTimeCong", mad_dump_uint},
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   974
+	{0, 0},			/* IB_PC_XMIT_CON_CTRL_LAST_F */
e0ba15fa5e97 16842068 diskmon frequently cores when calling ib_node_query_via()
Boris Chiu <Boris.Chiu@Oracle.COM>
parents: 1216
diff changeset
   975
+