Ethernet Subsystem Intel® FPGA IP User Guide

ID 773413
Date 8/29/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

4.3.1.6. read_MAC_statistic

Table 23.   read_MAC_statistic The following table above shows the statistic counters of Ethernet Subsystem and the mapping to internal Ethernet IP statistic registers. You write to HSSI Control/Address CSR to specify which counter should be read from this table. The Ethernet subsystem computes these counter values by aggregating internal MAC statistic register values retrieved from the Ethernet IP. The HSSI Control/Address bit 31 indicates whether the read is intended for the LSB 32 bits (1'b1) or the MSB 32 bits (1'b0) of the statistic counters.
Ethtool Statistics HSSI Control/Address bit[20:16] Counters Other Ethernet MAC Counters(F-Tile) E-tile Hard IP for Ethernet Statistics Registers
tx_packets 0 cntr_tx_mcast_data_ok + cntr_tx_bcast_data_ok +cntr_tx_ucast_data_ok +cntr_tx_mcast_ctrl_ok +cntr_tx_bcast_ctrl_ok +cntr_tx_ucast_data_ok TX_MCAST_DATA_OK_31_0 + TX_MCAST_DATA_OK_63_32+ TX_BCAST_DATA_OK_31_0 + TX_BCAST_DATA_OK_63_32 + TX_UCAST_DATA_OK_31_0 + TX_UCAST_DATA_OK_63_32 + TX_MCAST_CTRL_OK_31_0 + TX_MCAST_CTRL_OK_63_32 + TX_BCAST_CTRL_OK_31_0 + TX_BCAST_CTRL_OK_63_32 + TX_UCAST_CTRL_OK_31_0 + TX_UCAST_CTRL_OK_63_32
rx_packets 1 cntr_rx_mcast_data_ok + cntr_rx_bcast_data_ok +cntr_rx_ucast_data_ok +cntr_rx_mcast_ctrl_ok +cntr_rx_bcast_ctrl_ok +cntr_rx_ucast_data_ok RX_MCAST_DATA_OK_31_0 + RX_MCAST_DATA_OK_63_32+ RX_BCAST_DATA_OK_31_0 + RX_BCAST_DATA_OK_63_32 + RX_UCAST_DATA_OK_31_0 + RX_UCAST_DATA_OK_63_32 + RX_MCAST_CTRL_OK_31_0 + RX_MCAST_CTRL_OK_63_32 + RX_BCAST_CTRL_OK_31_0 + RX_BCAST_CTRL_OK_63_32 + RX_UCAST_CTRL_OK_31_0 + RX_UCAST_CTRL_OK_63_32
rx_crc_errors 2 cntr_rx_fcs RX_FCSERR_31_0+ RX_FCSERR_63_32
rx_align_errors 3 cntr_rx_fcs - cntr_rx_runt RX_FCSERR_31_0+ RX_FCSERR_63_32 - (RX_RNT_31_0 + RX_RNT_63_32)
tx_bytes 4 cntr_tx_payloadoctetsok TX_Payload_OctetsOK_31_0+ TX_Payload_OctetsOK_63_32
rx_bytes 5 cntr_rx_payloadoctetsok RX_Payload_OctetsOK_31_0+ RX_Payload_OctetsOK_63_32
tx_pause 6 cntr_tx_pause TX_PAUSE_31_0+ TX_PAUSE_63_32
rx_pause 7 cntr_rx_pause RX_PAUSE_31_0+ RX_PAUSE_63_32
rx_errors 8 cntr_rx_dropped RX_Dropped_CTRL_31_0+ RX_Dropped_CTRL_63_32
tx_errors 9 cntr_tx_dropped TX_Dropped_CTRL_31_0+ TX_Dropped_CTRL_63_32
rx_unicast 10 ctnr_rx_ucast_data_ok +cntr_rx_ucast_ctrl_o RX_UCAST_DATA_OK_31_0 + RX_UCAST_DATA_OK_63_32+ RX_UCAST_CTRL_OK_31_0 + RX_UCAST_CTRL_OK_63_32
rx_multicast 11 ctnr_rx_mcast_data_ok +cntr_rx_mcast_ctrl_ok RX_MCAST_DATA_OK_31_0 + RX_MCAST_DATA_OK_63_32+ RX_MCAST_CTRL_OK_31_0 + RX_MCAST_CTRL_OK_63_32
rx_broadcast 12 ctnr_rx_bcast_data_ok +cntr_rx_bcast_ctrl_ok RX_BCAST_DATA_OK_31_0 + RX_BCAST_DATA_OK_63_32+ RX_BCAST_CTRL_OK_31_0 + RX_BCAST_CTRL_OK_63_32
tx_discards 13 0 -
tx_unicast 14 ctnr_tx_ucast_data_ok +cntr_tx_ucast_ctrl_ok TX_UCAST_DATA_OK_31_0 + TX_UCAST_DATA_OK_63_32+ TX_UCAST_CTRL_OK_31_0 + TX_UCAST_CTRL_OK_63_32
tx_multicast 15 ctnr_tx_mcast_data_ok +cntr_tx_mcast_ctrl_ok TX_MCAST_DATA_OK_31_0 + TX_MCAST_DATA_OK_63_32+ TX_MCAST_CTRL_OK_31_0 + TX_MCAST_CTRL_OK_63_32
tx_broadcast 16 ctnr_tx_bcast_data_ok +cntr_tx_bcast_ctrl_ok TX_BCAST_DATA_OK_31_0 + TX_BCAST_DATA_OK_63_32+ TX_BCAST_CTRL_OK_31_0 + TX_BCAST_CTRL_OK_63_32
ether_drops 17 cntr_rx_dropped RX_Dropped_CTRL_31_0+ RX_Dropped_CTRL_63_32
rx_total_bytes 18 rxoctetsok RX_Frame_OctetsOK_31_0+ RX_Frame_OctetsOK_63_32
rx_total_packets 19 cntr_rx_mcast_data_ok + cntr_rx_bcast_data_ok +cntr_rx_ucast_data_ok +cntr_rx_mcast_ctrl_ok +cntr_rx_bcast_ctrl_ok +cntr_rx_ucast_data_ok +cntr_rx_mcast_data_err + cntr_rx_bcast_data_err +cntr_rx_ucast_data_err +cntr_rx_mcast_ctrl_err+cntr_rx_bcast_ctrl_err +cntr_rx_ucast_data_err TX_MCAST_DATA_OK_31_0 + TX_MCAST_DATA_OK_63_32 + TX_BCAST_DATA_OK_31_0 + TX_BCAST_DATA_OK_63_32 + TX_UCAST_DATA_OK_31_0 + TX_UCAST_DATA_OK_63_32 + TX_MCAST_CTRL_OK_31_0 + TX_MCAST_CTRL_OK_63_32 + TX_BCAST_CTRL_OK_31_0 + TX_BCAST_CTRL_OK_63_32 + TX_UCAST_CTRL_OK_31_0 + TX_UCAST_CTRL_OK_63_32 + RX_MCAST_DATA_ERR_31_0 + RX_MCAST_DATA_ERR_63_32+ RX_BCAST_DATA_ERR_31_0 + RX_BCAST_DATA_ERR_63_32 + RX_UCAST_DATA_ERR_31_0 + RX_UCAST_DATA_ERR_63_32 + RX_MCAST_CTRL_ERR_31_0 + RX_MCAST_CTRL_ERR_63_32 + RX_BCAST_CTRL_ERR_31_0 + RX_BCAST_CTRL_ERR_63_32 + RX_UCAST_CTRL_ERR_31_0 + RX_UCAST_CTRL_ERR_63_32
rx_undersize 20 cntr_rx_runt RX_RNT_31_0+ RX_RNT_63_32
rx_oversize 21 cntr_rx_oversize RX_OVERSIZE_31_0+ RX_OVERSIZE_63_32
rx_64_bytes 22 cntr_rx_64b RX_64B_31_0+ RX_64B_63_32
rx_65_127_bytes 23 cntr_rx_65to127b RX_65to127B_31_0+ RX_65to127B_63_32
rx_128_255_bytes 24 cntr_rx_128to255b RX_128to255B_31_0+ RX_128to255B_63_32
rx_256_511_bytes 25 cntr_rx_256to511b RX_256to511B_31_0+ RX_256to511B_63_32
rx_512_1023_bytes 26 cntr_rx_512to1023b RX_512to1023B_31_0+ RX_512to1023B_63_32
rx_1024_1518_bytes 27 cntr_rx_1024to1518b RX_1024to1518B_31_0+ RX_1024to1518B_63_32
rx_gte_1519_bytes 28 cntr_rx_1519tomax RX_1519toMAXB_31_0+ RX_1519toMAXB_63_32
rx_jabbers 29 cntr_rx_jabbers RX_JABBERS_31_0+ RX_JABBERS_63_32
rx_runts 30 cntr_rx_fragments RX_ FRAGMENTS _31_0+ RX_ FRAGMENTS _63_32