Visible to Intel only — GUID: nik1411172660826
Ixiasoft
Visible to Intel only — GUID: nik1411172660826
Ixiasoft
3.4.1.19. Statistics Registers
The statistics registers count Ethernet traffic and errors. The 64-bit statistics registers are designed to roll over, to ensure timing closure on the FPGA. However, these registers should never roll over if the link is functioning properly. The statistics registers check the size of frames, which includes the following fields:
- Size of the destination address
- Size of the source address
- Size of the data
- Four bytes of CRC
The statistics counters module is a synthesis option. The statistics registers are counters that are implemented inside the CSR. When you turn on the Statistics counters parameter in the 40-100GbE parameter editor, the counters are implemented in the CSR. When you turn off the Statistics counters parameter in the 40-100GbE parameter editor, the counters are not implemented in the CSR, and read access to the counters returns read data equal to 0.
To read the value of a statistics register without clearing it, write the value of 0x4 to the MAC_CMD_config register. To read the value of a statistics register and reset the counters, write the value of 0xC to the MAC_CMD_config register.
Address |
Name- |
Description |
Access |
---|---|---|---|
0x200 |
CNTR_TX_64B_LO |
Number of 64-byte transmitted frames, including the CRC field but excluding the preamble and SFD bytes (lower 32 bits) |
RO |
0x201 |
CNTR_TX_64B_HI |
Number of 64-byte transmitted frames (upper 32 bits), including the CRC field but excluding the preamble and SFD bytes (upper 32 bits) |
RO |
0x202 |
CNTR_TX_65to127B_LO |
Number of transmitted frames between 65–127 bytes (lower 32 bits) |
RO |
0x203 |
CNTR_TX_65to127B_HI |
Number of transmitted frames between 65–127 bytes (upper 32 bits) |
RO |
0x204 |
CNTR_TX_128to255B_LO |
Number of transmitted frames between 128–255 bytes (lower 32 bits) |
RO |
0x205 |
CNTR_TX_128to255B_HI |
Number of transmitted frames between 128–255 bytes (upper 32 bits) |
RO |
0x206 |
CNTR_TX_256to511B_LO |
Number of transmitted frames between 256–511 bytes (lower 32 bits) |
RO |
0x207 |
CNTR_TX_256to511B_HI |
Number of transmitted frames between 256–511 bytes (upper 32 bits) |
RO |
0x208 |
CNTR_TX_512to1023B_LO |
Number of transmitted frames between 512–1023 bytes (lower 32 bits) |
RO |
0x209 |
CNTR_TX_512to1023B_HI |
Number of transmitted frames between 512–1023 bytes (upper 32 bits) |
RO |
0x20A |
CNTR_TX_1024to1518B_LO |
Number of transmitted frames between 1024–1518 bytes (lower 32 bits) |
RO |
0x20B |
CNTR_TX_1024to1518B_HI |
Number of transmitted frames between 1024–1518 bytes (upper 32 bits) |
RO |
0x20C |
CNTR_TX_1519toMAXB_LO |
Number of transmitted frames between 1519 and max size defined in 0x103 (lower 32 bits) |
RO |
0x20D |
CNTR_TX_1519toMAXB_HI |
Number of transmitted frames between 1519 and max size defined in 0x103 (upper 32 bits) |
RO |
0x20E |
CNTR_TX_OVERSIZE_LO |
Number of oversized frames transmitted (lower 32 bits) |
RO |
0x20F |
CNTR_TX_OVERSIZE_HI |
Number of oversized frames transmitted (upper 32 bits) |
RO |
0x210 |
CNTR_TX_MCAST_DATA_ERR_LO |
Number of errored multicast frames transmitted, excluding control frames (lower 32 bits) |
RO |
0x211 |
CNTR_TX_MCAST_DATA_ERR_HI |
Number of errored multicast frames transmitted, excluding control frames (upper 32 bits) |
RO |
0x212 |
CNTR_TX_MCAST_DATA_OK_LO |
Number of valid multicast frames transmitted, excluding control frames (lower 32 bits) |
RO |
0x213 |
CNTR_TX_MCAST_DATA_OK_HI |
Number of valid multicast frames transmitted, excluding control frames (upper 32 bits) |
RO |
0x214 |
CNTR_TX_BCAST_DATA_ERR_LO |
Number of errored broadcast frames transmitted, excluding control frames (lower 32 bits) |
RO |
0x215 |
CNTR_TX_BCAST_DATA_ERR_HI |
Number of errored broadcast frames transmitted, excluding control frames (upper 32 bits) |
RO |
0x216 |
CNTR_TX_BCAST_DATA_OK_LO |
Number of valid broadcast frames transmitted, excluding control frames (lower 32 bits) |
RO |
0x217 |
CNTR_TX_BCAST_DATA_OK_HI |
Number of valid broadcast frames transmitted, excluding control frames (upper 32 bits) |
RO |
0x218 |
CNTR_TX_UCAST_DATA_ERR_LO |
Number of errored unicast frames transmitted, excluding control frames (lower 32 bits) |
RO |
0x219 |
CNTR_TX_UCAST_DATA_ERR_HI |
Number of errored unicast frames transmitted, excluding control frames (upper 32 bits) |
RO |
0x21A |
CNTR_TX_UCAST_DATA_OK_LO |
Number of valid unicast frames transmitted, excluding control frames (lower 32 bits) |
RO |
0x21B |
CNTR_TX_UCAST_DATA_OK_HI |
Number of valid unicast frames transmitted, excluding control frames (upper 32 bits) |
RO |
0x21C |
CNTR_TX_MCAST_CTRL_LO |
Number of valid multicast frames transmitted (lower 32 bits) |
RO |
0x21D |
CNTR_TX_MCAST_CTRL_HI |
Number of valid multicast frames transmitted (upper 32 bits) |
RO |
0x21E |
CNTR_TX_BCAST_CTRL_LO |
Number of valid broadcast frames transmitted (lower 32 bits) |
RO |
0x21F |
CNTR_TX_BCAST_CTRL_HI |
Number of valid broadcast frames transmitted (upper 32 bits) |
RO |
0x220 |
CNTR_TX_UCAST_CTRL_LO |
Number of valid unicast frames transmitted (lower 32 bits) |
RO |
0x221 |
CNTR_TX_UCAST_CTRL_HI |
Number of valid unicast frames transmitted (upper 32 bits) |
RO |
0x222 |
CNTR_TX_PAUSE_LO |
Number of valid pause frames transmitted (lower 32 bits) |
RO |
0x223 |
CNTR_TX_PAUSE_HI |
Number of valid pause frames transmitted (upper 32 bits) |
RO |
0x224 |
CNTR_TX_FRAGMENTS_LO |
Number of transmitted frames of less than 64 bytes reporting a CRC error (lower 32 bits) |
RO |
0x225 |
CNTR_TX_FRAGMENTS_HI |
Number of transmitted frames of less than 64 bytes reporting a CRC error (upper 32 bits) |
RO |
0x226 |
CNTR_TX_JABBERS_LO |
Number of transmitted oversized frames reporting a CRC error (lower 32 bits) |
RO |
0x227 |
CNTR_TX_JABBERS_HI |
Number of transmitted oversized frames reporting a CRC error (upper 32 bits) |
RO |
0x228 |
CNTR_TX_CRCERR_LO |
Number of transmitted frames between 64 bytes and the value configured in 0x103 register reporting a CRC error (lower 32 bits) |
RO |
0x229 |
CNTR_TX_CRCERR_HI |
Number of transmitted frames between 64 bytes and the value configured in 0x103 register reporting a CRC error (upper 32 bits) |
RO |
TX Packet Statistics |
|||
0x22A |
CNTR_TX_ST_LO |
Number of transmitted frame starts, excluding pause frames (lower 32 bits) |
RO |
0x22B |
CNTR_TX_ST_HI |
Number of transmitted frame starts, excluding pause frames (upper 32 bits) |
RO |
0x22C |
CNTR_TX_DB_LO |
Number of transmitted data blocks (number of full symbols (2 or 5 words, depending on the variation) that pass from the MAC to the PHY that contain at least some data)(lower 32 bits) |
RO |
0x22D |
CNTR_TX_DB_HI |
Number of transmitted data blocks (number of full symbols (2 or 5 words, depending on the variation) that pass from the MAC to the PHY that contain at least some data) (upper 32 bits) |
RO |
Address |
Name- |
Description |
Access |
---|---|---|---|
0x280 |
CNTR_RX_64B_LO |
Number of 64-byte received frames (lower 32 bits), including the CRC field but excluding the preamble and SFD bytes |
RO |
0x281 |
CNTR_RX_64B_HI |
Number of 64-byte received frames (upper 32 bits), including the CRC field but excluding the preamble and SFD bytes |
RO |
0x282 |
CNTR_RX_65to127B_LO |
Number of received frames between 65–127 bytes (lower 32 bits) |
RO |
0x283 |
CNTR_RX_65to127B_HI |
Number of received frames between 65–127 bytes (upper 32 bits) |
RO |
0x284 |
CNTR_RX_128to255B_LO |
Number of received frames between 128 –255 bytes (lower 32 bits) |
RO |
0x285 |
CNTR_RX_128to255B_HI |
Number of received frames between 128 –255 bytes (upper 32 bits) |
RO |
0x286 |
CNTR_RX_256to511B_LO |
Number of received frames between 256 –511 bytes (lower 32 bits) |
RO |
0x287 |
CNTR_RX_256to511B_HI |
Number of received frames between 256 –511 bytes (upper 32 bits) |
RO |
0x288 |
CNTR_RX_512to1023B_LO |
Number of received frames between 512–1023 bytes (lower 32 bits) |
RO |
0x289 |
CNTR_RX_512to1023B_HI |
Number of received frames between 512 –1023 bytes (upper 32 bits) |
RO |
0x28A |
CNTR_RX_1024to1518B_LO |
Number of received frames between 1024–1518 bytes (lower 32 bits) |
RO |
0x28B |
CNTR_RX_1024to1518B_HI |
Number of received frames between 1024–1518 bytes (upper 32 bits) |
RO |
0x28C |
CNTR_RX_1519toMAXB_LO |
Number of received frames between 1519 and the maximum size defined in 0x103 (lower 32 bits) |
RO |
0x18D |
CNTR_RX_1519toMAXB_HI |
Number of received frames between 1519 and the maximum size defined in 0x103 (upper 32 bits) |
RO |
0x28E |
CNTR_RX_OVERSIZE_LO |
Number of oversized frames received (lower 32 bits) |
RO |
0x28F |
CNTR_RX_OVERSIZE_HI |
Number of oversized frames received (upper 32 bits) |
RO |
0x290 |
CNTR_RX_MCAST_DATA_ERR_LO |
Number of errored multicast frames received, excluding control frames (lower 32 bits) |
RO |
0x291 |
CNTR_RX_MCAST_DATA_ERR_HI |
Number of errored multicast frames received, excluding control frames (upper 32 bits) |
RO |
0x292 |
CNTR_RX_MCAST_DATA_OK_LO |
Number of valid multicast frames received, excluding control frames (lower 32 bits) |
RO |
0x293 |
CNTR_RX_MCAST_DATA_OK_HI |
Number of valid multicast frames received, excluding control frames (upper 32 bits) |
RO |
0x294 |
CNTR_RX_BCAST_DATA_ERR_LO |
Number of errored broadcast frames received, excluding control frames (lower 32 bits) |
RO |
0x295 |
CNTR_RX_BCAST_DATA_ERR_HI |
Number of errored broadcast frames received, excluding control frames (upper 32 bits) |
RO |
0x296 |
CNTR_RX_BCAST_DATA_OK_LO |
Number of valid broadcast frames received, excluding control frames (lower 32 bits) |
RO |
0x297 |
CNTR_RX_BCAST_DATA_OK_HI |
Number of valid broadcast frames received, excluding control frames (upper 32 bits) |
RO |
0x298 |
CNTR_RX_UCAST_DATA_ERR_LO |
Number of errored unicast frames received, excluding control frames (lower 32 bits) |
RO |
0x299 |
CNTR_RX_UCAST_DATA_ERR_HI |
Number of errored unicast frames received, excluding control frames (upper 32 bits) |
RO |
0x29A |
CNTR_RX_UCAST_DATA_OK_LO |
Number of valid unicast frames received, excluding control frames (lower 32 bits) |
RO |
0x29B |
CNTR_RX_UCAST_DATA_OK_HI |
Number of valid unicast frames received, excluding control frames (upper 32 bits) |
RO |
0x29C |
CNTR_RX_MCAST_CTRL_LO |
Number of valid multicast frames received, excluding data frames (lower 32 bits) |
RO |
0x29D |
CNTR_RX_MCAST_CTRL_HI |
Number of valid multicast frames received, excluding data frames (upper 32 bits) |
RO |
0x29E |
CNTR_RX_BCAST_CTRL_LO |
Number of valid broadcast frames received, excluding data frames (lower 32 bits) |
RO |
0x29F |
CNTR_RX_BCAST_CTRL_HI |
Number of valid broadcast frames received, excluding data frames (upper 32 bits) |
RO |
0x2A0 |
CNTR_RX_UCAST_CTRL_LO |
Number of valid unicast frames received, excluding data frames (lower 32 bits) |
RO |
0x2A1 |
CNTR_RX_UCAST_CTRL_HI |
Number of valid unicast frames received, excluding data frames (upper 32 bits) |
RO |
0x2A2 |
CNTR_RX_PAUSE_LO |
Number of valid pause frames received (lower 32 bits) |
RO |
0x2A3 |
CNTR_RX_PAUSE_HI |
Number of valid pause frames received (upper 32 bits) |
RO |
0x2A4 |
CNTR_RX_FRAGMENTS_LO |
Number of received frames less than 64 bytes and reporting a CRC error (lower 32 bits) |
RO |
0x2A5 |
CNTR_RX_FRAGMENTS_HI |
Number of received frames less than 64 bytes and reporting a CRC error (upper 32 bits) |
RO |
0x2A6 |
CNTR_RX_JABBERS_LO |
Number of received oversized frames reporting a CRC error (lower 32 bits) |
RO |
0x2A7 |
CNTR_RX_JABBERS_HI |
Number of received oversized frames reporting a CRC error (upper 32 bits) |
RO |
0x2A8 |
CNTR_RX_CRCERR_LO |
Number of received frames between the length of 64 and the value configured in 0x103 register with CRC error (lower 32 bits) |
RO |
0x2A9 |
CNTR_RX_CRCERR_HI |
Number of received frames between the length of 64 and the value configured in 0x103 register with CRC error (upper 32 bits) |
RO |
RX Packet Statistics |
|||
0x2AA |
CNTR_RX_ST_LO |
Number of received frame starts (lower 32 bits) |
RO |
0x2AB |
CNTR_RX_ST_HI |
Number of received frame starts (upper 32 bits) |
RO |
0x2AC |
CNTR_RX_DB_LO |
Number of received data blocks (number of full symbols (2 or 5 words, depending on the variation) that pass from the PHY to the MAC that contain at least some data) (lower 32 bits) |
RO |
0x2AD |
CNTR_RX_DB_HI |
Number of received data blocks (number of full symbols (2 or 5 words, depending on the variation) that pass from the PHY to the MAC that contain at least some data) (upper 32 bits) |
RO |
0x2AE |
CNTR_RXF_ST_LO |
Number of accepted frame starts (lower 32 bits) |
RO |
0x2AF |
CNTR_RXF_ST_HI |
Number of accepted frame starts (upper 32 bits) |
RO |
0x2B0 |
CNTR_RXF_DB_LO |
Number of accepted data blocks (number of full symbols (2 or 5 words, depending on the variation) that pass from the PHY to the MAC that contain at least some data and that the MAC accepts) (lower 32 bits) |
RO |
0x2B1 |
CNTR_RXF_DB_HI |
Number of accepted data blocks (number of full symbols (2 or 5 words, depending on the variation) that pass from the PHY to the MAC that contain at least some data and that the MAC accepts) (upper 32 bits) |
RO |
0x2B2 |
CNTR_RXF_LONG | Number of packets aborted due to excessive length. |
RO |
0x2B3 |
Reserved |
||
0x2B4 |
CNTR_RX_EBLK |
Number of received blocks with XGMII and CGMII errors. The number of received error blocks is equal to the RX symbol error counter defined by Operation Administration and Maintenance (OAM) in accordance with IEEE standard 802.3ba. |
RO |
0x2B5 |
Reserved |
||
0x2B6 |
CNTR_RX_RUNT |
Number of received runt packets |
RO |
0x2B7 |
Reserved |
||
0x2B8 |
CNTR_RX_FCS |
Number of received packets with FCS errors. This register maintains a count of the number of pulses on the l<n>_rx_fcs_error output signal in variations with a custom streaming client interface (variations without adapters). |
RO |