Refer to Table 35-9 on this page and Table 35-10 on page 1049. All events in these attributes can also be sampled via the PortSamplesControl/PortSamplesResults mechanism. The PortSamplesControl.OptionMask attribute element indicates which, if any, of the optional events counters are implemented.
All of the implemented optional event counters contain zero after reset and clamp at a count of all ones. Writing zero clears the counter.
Table 35-11 on page 1050 through Table 35-19 on page 1065 provide a description of each of these optional attributes.
Attribute | ID | Attribute Modifier | Description |
---|---|---|---|
PortRcvErrorDetails | 15h | 00000000h | Port detailed error counters. See Table 35-11 on page 1050. |
PortXmitDiscardDetails | 16h | 00000000h | Port transmit discard counters. See Table 35-12 on page 1051. |
PortOpRcvCounters | 17h | 00000000h | Port receive counters per opcode. See Table 35-13 on page 1053. |
PortFlowCtlCounters | 18h | 00000000h | Port Flow Control counters. See Table 35-14 on page 1054. |
PortVLOpPackets | 19h | 00000000h | Port packets received per opcode per VL. See Table 35-15 on page 1054. |
PortVLOpData | 1Ah | 00000000h | Port kilobytes received per opcode per VL. See Table 35-16 on page 1057. |
PortVLXmitFlowCtlUpdate Errors | 1Bh | 00000000h | Port Flow Control update errors per VL. See Table 35-17 on page 1059. |
PortVLXmitWaitCounters | 1Ch | 00000000h | Port ticks waiting to transmit (one counter per VL). See Table 35-18 on page 1062. |
SwPortVL Congestion | 30h | 00000000h | Switch port congestion per VL. See Table 35-19 on page 1065. |
Method ==> | PerformanceGet() | PerformanceSet() |
---|---|---|
Attribute | ||
PortRcvErrorDetails | x | x |
PortXmitDiscardDetails | x | x |
PortOpRcvCounters | x | x |
PortFlowCtlCounters | x | x |
PortVLOpPackets | x | x |
PortVLOpData | x | x |
PortVLXmitFlowCtlUpdateErrors | x | x |
PortVLXmitWaitCounters | x | x |
SwPortVLCongestion | x | x |
PortRcvErrorDetails | x | x |
Element | Access | Length (in bits) | Description |
---|---|---|---|
Reserved | RO | 8 | Reserved, shall be zero. |
PortSelect | RW | 8 | Selects the port that statistics are reported for. Statistics are accumulated for all port VLs. Selecting nonexistent port results in all zeroes. If gathering data from all ports at once is supported (see description of ClassPortInfo in Table 35-4 on page 1025), setting PortSelect to FFh causes accumulation of data from all ports. |
CounterSelect | RW | 16 | When written to, selects which counters are overwritten by the values specified in their respective fields (see the remaining entries in this table). Ignored on read.
|
PortLocalPhysicalErrors | RW | 16 | Total packets received on port that detects local physical errors (ICRC, VCRC, FCCRC, and all physical errors that cause entry into the Bad Packet or Bad Packet Discard states of the Packet Receiver State Machine; see “Packet Receive State Machine” on page 653). |
PortMalformedPacketErrors | RW | 16 | Total packets received on the port with malformed packet errors:
|
PortBufferOverrunErrors | RW | 16 | Total packets received on the port discarded due to buffer overrun. |
PortDLIDMappingErrors | RW | 16 | Total number of packets received on the port that were discarded because they could not be forwarded by the switch due to DLID mapping errors. |
PortVLMappingErrors | RW | 16 | Total packets received on the port discarded in switch due to VL mapping errors. |
PortLoopingErrors | RW | 16 | Total packets received on the port discarded in switch due to looping errors (output port = input port). |
Element | Access | Length (in bits) | Description |
---|---|---|---|
Reserved | RO | 8 | Reserved, shall be zero. |
PortSelect | RW | 8 | Selects the port for which statistics are reported. Statistics are accumulated for all port VLs. Selecting nonexistent port results in all zeroes. If gathering data from all ports simultaneously is supported (see description of ClassPortInfo in Table 35-4 on page 1025), setting PortSelect to FFh causes data to be accumulated from all ports. |
CounterSelect | RW | 16 | When written, selects which counters overwritten by values specified in their respective fields (see the remaining entries in this table). Ignored on a read.
|
PortInactiveDiscards | RW | 16 | Total outbound packets discarded by the port because it is in the inactive state (see “Link State Machine” on page 602). |
PortNeighborMTUDiscards | RW | 16 | Total outbound packets discarded by the port because packet length exceeded the neighbor MTU. |
PortSwLifetimeLimitDiscards | RW | 16 | Total outbound packets discarded by the port because switch lifetime limit exceeded. |
PortSwHOQLimitDiscards | RW | 16 | Total outbound packets discarded by the port because switch HOQ lifetime exceeded. Applies to switches only. |
Element | Access | Length (in bits) | Description |
---|---|---|---|
Opcode | RW | 8 | Selects the BTH:Opcode for which statistics are reported. FFh means all opcodes. |
PortSelect | RW | 8 | Selects port for which statistics are reported. Statistics are accumulated for all port VLs. Selecting nonexistent port results in all zeroes. If gathering data from all ports at once supported (see description of ClassPortInfo in Table 35-4 on page 1025), setting PortSelect to FFh causes accumulation of data from all ports. |
CounterSelect | RW | 16 | When written, selects which counters are overwritten by values specified in their respective fields (see the remaining entries in this table). Ignored on a read.
|
PortOpRcvPkts | RW | 32 | Total packets received without error on the port selected by PortSelect containing the opcode selected by Opcode. |
PortOpRcvData | RW | 32 | Total number of data bytes ÷ 4 received without error on all VLs from port selected by PortSelect containing opcode selected by Opcode. Includes all bytes between (but not including) start of packet delimiter and VCRC. Excludes all link packets (i.e., FCPs). Implementers may count data bytes in groups larger than four, but are encouraged to choose the smallest group possible. Results are always reported as a multiple of four bytes. |
Element | Access | Length (in bits) | Description |
---|---|---|---|
Reserved | RO | 8 | Reserved, shall be zero. |
PortSelect | RW | 8 | Selects the port for which statistics are reported. Selecting nonexistent port results in all zeroes. If gathering data from all ports simultaneously is supported (see description of ClassPortInfo in Table 35-4 on page 1025), setting PortSelect to FFh causes accumulation of data from all ports. |
CounterSelect | RW | 16 | When written to, selects which counters are overwritten by values specified in their respective fields (see the remaining entries in this table). Ignored on a read.
|
PortXmitFlowPkts | RW | 32 | Total Flow Control Packets transmitted on the port selected by PortSelect. |
PortRcvFlowPkts | RW | 32 | Total Flow Control Packets received on the port selected by PortSelect. |
Element | Access | Length (in bits) | Description |
---|---|---|---|
Opcode | RW | 8 | Selects the BTH:Opcode for which statistics are reported. FFh means all opcodes. |
PortSelect | RW | 8 | Selects the port for which statistics are reported. Selecting nonexistent port results in all zeroes. If gathering data from all ports simultaneously is supported (see description of ClassPortInfo in Table 35-4 on page 1025), setting PortSelect to FFh causes accumulation of data from all ports. |
CounterSelect | RW | 16 | When written, selects which counters are overwritten by the values specified in their respective fields (see the remaining entries in this table). Ignored on a read.
|
PortVLOpPackets0 | RW | 16 | Total packets received without error on VL0 of port selected by PortSelect containing opcode selected by Opcode. |
PortVLOpPackets1 | RW | 16 | See description of PortVLOpPackets0, but this counter is associated with VL1. |
PortVLOpPackets2 | RW | 16 | See description of PortVLOpPackets0, but this counter is associated with VL2. |
PortVLOpPackets3 | RW | 16 | See description of PortVLOpPackets0, but this counter is associated with VL3. |
PortVLOpPackets4 | RW | 16 | See description of PortVLOpPackets0, but this counter is associated with VL4. |
PortVLOpPackets5 | RW | 16 | See description of PortVLOpPackets0, but this counter is associated with VL5. |
PortVLOpPackets6 | RW | 16 | See description of PortVLOpPackets0, but this counter is associated with VL6. |
PortVLOpPackets7 | RW | 16 | See description of PortVLOpPackets0, but this counter is associated with VL7. |
PortVLOpPackets8 | RW | 16 | See description of PortVLOpPackets0, but this counter is associated with VL8. |
PortVLOpPackets9 | RW | 16 | See description of PortVLOpPackets0, but this counter is associated with VL9. |
PortVLOpPackets10 | RW | 16 | See description of PortVLOpPackets0, but this counter is associated with VL10. |
PortVLOpPackets11 | RW | 16 | See description of PortVLOpPackets0, but this counter is associated with VL11. |
PortVLOpPackets12 | RW | 16 | See description of PortVLOpPackets0, but this counter is associated with VL12. |
PortVLOpPackets13 | RW | 16 | See description of PortVLOpPackets0, but this counter is associated with VL13. |
PortVLOpPackets14 | RW | 16 | See description of PortVLOpPackets0, but this counter is associated with VL14. |
PortVLOpPackets15 | RW | 16 | See description of PortVLOpPackets0, but this counter is associated with VL15. |
Element | Access | Length (in bits) | Description |
---|---|---|---|
Opcode | RW | 8 | Selects the BTH:Opcode for which statistics are reported. FFh means all opcodes. |
PortSelect | RW | 8 | Selects the port for which statistics are reported. Selecting nonexistent port results in all zeroes. If gathering data from all ports simultaneously is supported (see description of ClassPortInfo in Table 35-4 on page 1025), setting PortSelect to FFh causes accumulation of data from all ports. |
CounterSelect | RW | 16 | When written, selects which counters are overwritten by the values specified in their respective fields (see the remaining entries in this table). Ignored on a read.
|
PortVLOpData0 | RW | 32 | Total number of data bytes ÷ 4 received without error on VL0 from port selected by PortSelect containing BTH:Opcode selected by Opcode. Includes all bytes between (but not including) start of packet delimiter and VCRC. Excludes all link packets (i.e., FCPs). Implementers may count data bytes in groups larger than four, but are encouraged to choose the smallest group possible. Results are always reported as a multiple of four bytes. |
PortVLOpData1 | RW | 32 | See the description of PortVLOpData0, but this counter is associated with VL1. |
PortVLOpData2 | RW | 32 | See the description of PortVLOpData0, but this counter is associated with VL2. |
PortVLOpData3 | RW | 32 | See the description of PortVLOpData0, but this counter is associated with VL3. |
PortVLOpData4 | RW | 32 | See the description of PortVLOpData0, but this counter is associated with VL4. |
PortVLOpData5 | RW | 32 | See the description of PortVLOpData0, but this counter is associated with VL5. |
PortVLOpData6 | RW | 32 | See the description of PortVLOpData0, but this counter is associated with VL6. |
PortVLOpData7 | RW | 32 | See the description of PortVLOpData0, but this counter is associated with VL7. |
PortVLOpData8 | RW | 32 | See the description of PortVLOpData0, but this counter is associated with VL8. |
PortVLOpData9 | RW | 32 | See the description of PortVLOpData0, but this counter is associated with VL9. |
PortVLOpData10 | RW | 32 | See the description of PortVLOpData0, but this counter is associated with VL10. |
PortVLOpData11 | RW | 32 | See the description of PortVLOpData0, but this counter is associated with VL11. |
PortVLOpData12 | RW | 32 | See the description of PortVLOpData0, but this counter is associated with VL12. |
PortVLOpData13 | RW | 32 | See the description of PortVLOpData0, but this counter is associated with VL13. |
PortVLOpData14 | RW | 32 | See the description of PortVLOpData0, but this counter is associated with VL14. |
PortVLOpData15 | RW | 32 | See the description of PortVLOpData0, but this counter is associated with VL15. |
Element | Access | Length (in bits) | Description |
---|---|---|---|
Reserved | RO | 8 | Reserved, shall be zero. |
PortSelect | RW | 8 | Selects the port for which statistics are reported. Selecting nonexistent port results in all zeroes. If gathering data from all ports simultaneously is supported (see description of ClassPortInfo in Table 35-4 on page 1025), setting PortSelect to FFh causes accumulation of data from all ports. |
CounterSelect | RW | 16 | When written to, selects which counters are overwritten by the values specified in their respective fields (see the remaining entries in this table). Ignored on a read.
|
PortVLXmitFlowCtlUpdateErrors0 | RW | 2 | Total Flow Control update errors on VL0 on port selected by PortSelect. |
PortVLXmitFlowCtlUpdateErrors1 | RW | 2 | Total Flow Control update errors on VL1 on port selected by PortSelect. |
PortVLXmitFlowCtlUpdateErrors2 | RW | 2 | Total Flow Control update errors on VL2 on port selected by PortSelect. |
PortVLXmitFlowCtlUpdateErrors3 | RW | 2 | Total Flow Control update errors on VL3 on port selected by PortSelect. |
PortVLXmitFlowCtlUpdateErrors4 | RW | 2 | Total Flow Control update errors on VL4 on port selected by PortSelect. |
PortVLXmitFlowCtlUpdateErrors5 | RW | 2 | Total Flow Control update errors on VL5 on port selected by PortSelect. |
PortVLXmitFlowCtlUpdateErrors6 | RW | 2 | Total Flow Control update errors on VL6 on port selected by PortSelect. |
PortVLXmitFlowCtlUpdateErrors7 | RW | 2 | Total Flow Control update errors on VL7 on port selected by PortSelect. |
PortVLXmitFlowCtlUpdateErrors8 | RW | 2 | Total Flow Control update errors on VL8 on port selected by PortSelect. |
PortVLXmitFlowCtlUpdateErrors9 | RW | 2 | Total Flow Control update errors on VL9 on port selected by PortSelect. |
PortVLXmitFlowCtlUpdateErrors10 | RW | 2 | Total Flow Control update errors on VL10 on port selected by PortSelect. |
PortVLXmitFlowCtlUpdateErrors11 | RW | 2 | Total Flow Control update errors on VL11 on port selected by PortSelect. |
PortVLXmitFlowCtlUpdateErrors12 | RW | 2 | Total Flow Control update errors on VL12 on port selected by PortSelect. |
PortVLXmitFlowCtlUpdateErrors13 | RW | 2 | Total Flow Control update errors on VL13 on port selected by PortSelect. |
PortVLXmitFlowCtlUpdateErrors14 | RW | 2 | Total Flow Control update errors on VL14 on port selected by PortSelect. |
PortVLXmitFlowCtlUpdateErrors15 | RW | 2 | Total Flow Control update errors on VL15 on port selected by PortSelect. |
Element | Access | Length (in bits) | Description |
---|---|---|---|
Reserved | RO | 8 | Reserved, shall be zero. |
PortSelect | RW | 8 | Selects the port for which statistics are reportesd. Selecting nonexistent port results in all zeroes. If gathering data from all ports simultaneously is supported (see description of ClassPortInfo in Table 35-4 on page 1025), setting PortSelect to FFh causes accumulation of data from all ports. |
CounterSelect | RW | 16 | When written to, selects which counters are overwritten by values specified in their respective fields (see the remaining entries in this table). ignored on a read.
|
PortVLXmitWait0 | RW | 16 | Total ticks during which port selected by PortSelect had data to transmit on VL0 but no data was sent during the entire tick due to either insufficient credits or an arbitration-related delay. |
PortVLXmitWait1 | RW | 16 | Total ticks during which port selected by PortSelect had data to transmit on VL1 but no data was sent during entire tick due to either insufficient credits or an arbitration-related delay. |
PortVLXmitWait2 | RW | 16 | Total ticks during which port selected by PortSelect had data to transmit on VL2 but no data was sent during entire tick due to either insufficient credits or an arbitration-related delay. |
PortVLXmitWait3 | RW | 16 | Total ticks during which port selected by PortSelect had data to transmit on VL3 but no data was sent during entire tick due to either insufficient credits or an arbitration-related delay. |
PortVLXmitWait4 | RW | 16 | Total ticks during which port selected by PortSelect had data to transmit on VL4 but no data was sent during entire tick due to either insufficient credits or an arbitration-related delay. |
PortVLXmitWait5 | RW | 16 | Total ticks during which port selected by PortSelect had data to transmit on VL5 but no data was sent during entire tick due to either insufficient credits or an arbitration-related delay. |
PortVLXmitWait6 | RW | 16 | Total ticks during which port selected by PortSelect had data to transmit on VL6 but no data was sent during entire tick due to either insufficient credits or an arbitration-related delay. |
PortVLXmitWait7 | RW | 16 | Total ticks during which port selected by PortSelect had data to transmit on VL7 but no data was sent during entire tick due to either insufficient credits or an arbitration-related delay. |
PortVLXmitWait8 | RW | 16 | Total ticks during which port selected by PortSelect had data to transmit on VL8 but no data was sent during entire tick due to either insufficient credits or an arbitration-related delay. |
PortVLXmitWait9 | RW | 16 | Total ticks during which port selected by PortSelect had data to transmit on VL9 but no data was sent during entire tick due to either insufficient credits or an arbitration-related delay. |
PortVLXmitWait10 | RW | 16 | Total ticks during which port selected by PortSelect had data to transmit on VL10 but no data was sent during entire tick due to either insufficient credits or an arbitration-related delay. |
PortVLXmitWait11 | RW | 16 | Total ticks during which port selected by PortSelect had data to transmit on VL11 but no data was sent during entire tick due to either insufficient credits or an arbitration-related delay. |
PortVLXmitWait12 | RW | 16 | Total ticks during which port selected by PortSelect had data to transmit on VL12 but no data was sent during entire tick due to either insufficient credits or an arbitration-related delay. |
PortVLXmitWait13 | RW | 16 | Total ticks during which port selected by PortSelect had data to transmit on VL13 but no data was sent during entire tick due to either insufficient credits or an arbitration-related delay. |
PortVLXmitWait14 | RW | 16 | Total ticks during which port selected by PortSelect had data to transmit on VL14 but no data was sent during entire tick due to either insufficient credits or an arbitration-related delay. |
PortVLXmitWait15 | RW | 16 | Total ticks during which port selected by PortSelect had data to transmit on VL15 but no data was sent during entire tick due to either insufficient credits or an arbitration-related delay. |
Element | Access | Length (in bits) | Description |
---|---|---|---|
Reserved | RO | 8 | Reserved, shall be zero. |
PortSelect | RW | 8 | Selects the port for which statistics are reported. Selecting nonexistent port results in all zeroes. If gathering data from all ports simultaneously is supported (see description of ClassPortInfo in Table 35-4 on page 1025), setting PortSelect to FFh causes accumulation of data from all ports. |
CounterSelect | RW | 16 | When written to, selects which counters are overwritten by the values specified in their respective fields (see the remaining entries in this table). Ignored on a read.
|
SWPortVLCongestion0 | RW | 16 | Total packets to be transmitted on VL0 of port selected by PortSelect that were discarded due to congestion caused by the following:
|
SWPortVLCongestion1 | RW | 16 | Total packets to be transmitted on VL1 of port selected by PortSelect that were discarded due to congestion caused by the following:
|
SWPortVLCongestion2 | RW | 16 | Total packets to be transmitted on VL2 of port selected by PortSelect that were discarded due to congestion caused by the following:
|
SWPortVLCongestion3 | RW | 16 | Total packets to be transmitted on VL3 of port selected by PortSelect that were discarded due to congestion caused by the following:
|
SWPortVLCongestion4 | RW | 16 | Total packets to be transmitted on VL4 of port selected by PortSelect that were discarded due to congestion caused by the following:
|
SWPortVLCongestion5 | RW | 16 | Total packets to be transmitted on VL5 of port selected by PortSelect that were discarded due to congestion caused by the following:
|
SWPortVLCongestion6 | RW | 16 | Total packets to be transmitted on VL6 of port selected by PortSelect that were discarded due to congestion caused by the following:
|
SWPortVLCongestion7 | RW | 16 | Total packets to be transmitted on VL7 of port selected by PortSelect that were discarded due to congestion caused by the following:
|
SWPortVLCongestion8 | RW | 16 | Total packets to be transmitted on VL8 of port selected by PortSelect that were discarded due to congestion caused by the following:
|
SWPortVLCongestion9 | RW | 16 | Total packets to be transmitted on VL9 of port selected by PortSelect that were discarded due to congestion caused by the following:
|
SWPortVLCongestion10 | RW | 16 | Total packets to be transmitted on VL10 of port selected by PortSelect that were discarded due to congestion caused by the following:
|
SWPortVLCongestion11 | RW | 16 | Total packets to be transmitted on VL11 of port selected by PortSelect that were discarded due to congestion caused by the following:
|
SWPortVLCongestion12 | RW | 16 | Total packets to be transmitted on VL12 of port selected by PortSelect that were discarded due to congestion caused by the following:
|
SWPortVLCongestion13 | RW | 16 | Total packets to be transmitted on VL13 of port selected by PortSelect that were discarded due to congestion caused by the following:
|
SWPortVLCongestion14 | RW | 16 | Total packets to be transmitted on VL14 of port selected by PortSelect that were discarded due to congestion caused by the following:
|
SWPortVLCongestion15 | RW | 16 | Total packets to be transmitted on VL15 of port selected by PortSelect that were discarded due to congestion caused by the following:
|