Statistics Interface Ports - 2.7 English

1G/10G/25G Switching Ethernet Subsystem Product Guide (PG292)

Document ID
PG292
Release Date
2023-10-18
Version
2.7 English

The following tables show the Statistics interface I/O ports.

Table 1. Statistics Interface - RX Path
Name I/O Description Clock Domain
stat_rx_total_bytes[3:0] O Increment for the total number of bytes received. rx_clk_out
stat_rx_total_packets[1:0] O Increment for the total number of packets received. rx_clk_out
stat_rx_total_good_bytes[13:0] O Increment for the total number of good bytes received. This value is only non-zero when a packet is received completely and contains no errors. rx_clk_out
stat_rx_total_good_packets O Increment for the total number of good packets received. This value is only non-zero when a packet is received completely and contains no errors. rx_clk_out
stat_rx_packet_bad_fcs O Increment for packets between 64 and ctl_rx_max_packet_len bytes that have Frame Check Sequence (FCS) errors. rx_clk_out
stat_rx_packet_64_bytes O Increment for good and bad packets received that contain 64 bytes. rx_clk_out
stat_rx_packet_65_127_bytes O Increment for good and bad packets received that contain 65 to 127 bytes. rx_clk_out
stat_rx_packet_128_255_bytes O Increment for good and bad packets received that contain 128 to 255 bytes. rx_clk_out
stat_rx_packet_256_511_bytes O Increment for good and bad packets received that contain 256 to 511 bytes. rx_clk_out
stat_rx_packet_512_1023_bytes O Increment for good and bad packets received that contain 512 to 1,023 bytes. rx_clk_out
stat_rx_packet_1024_1518_bytes O Increment for good and bad packets received that contain 1,024 to 1,518 bytes. rx_clk_out
stat_rx_packet_1519_1522_bytes O Increment for good and bad packets received that contain 1519 to 1522 bytes. rx_clk_out
stat_rx_packet_1523_1548_bytes O Increment for good and bad packets received that contain 1,523 to 1,548 bytes. rx_clk_out
stat_rx_packet_1549_2047_bytes O Increment for good and bad packets received that contain 1,549 to 2,047 bytes. rx_clk_out
stat_rx_packet_2048_4095_bytes O Increment for good and bad packets received that contain 2,048 to 4,095 bytes. rx_clk_out
stat_rx_packet_4096_8191_bytes O Increment for good and bad packets received that contain 4,096 to 8,191 bytes. rx_clk_out
stat_rx_packet_8192_9215_bytes O Increment for good and bad packets received that contain 8,192 to 9,215 bytes. rx_clk_out
stat_rx_packet_small O Increment for all packets that are less than 64 bytes long. Packets that are less than four bytes are dropped. rx_clk_out
stat_rx_packet_large O Increment for all packets that are more than 9,215 bytes long. rx_clk_out
stat_rx_oversize O Increment for packets longer than ctl_rx_max_packet_len with good FCS. rx_clk_out
stat_rx_toolong O Increment for packets longer than ctl_rx_max_packet_len with good and bad FCS. rx_clk_out
stat_rx_undersize O Increment for packets shorter than ctl_rx_min_packet_len with good FCS. rx_clk_out
stat_rx_fragment O Increment for packets shorter than ctl_rx_min_packet_len with bad FCS. rx_clk_out
stat_rx_jabber O Increment for packets longer than ctl_rx_max_packet_len with bad FCS. rx_clk_out
stat_rx_bad_code 1 O Increment for 64B/66B code violations. This signal indicates that the RX PCS receive state machine is in the RX_E state as specified by IEEE Std. 802.3. This output can be used to generate MDIO register as defined in Clause 45. rx_clk_out
stat_rx_bad_sfd 1 O Increment bad SFD. This signal indicates if the Ethernet packet received was preceded by a valid SFD. A value of 1 indicates that an invalid SFD was received. rx_clk_out
stat_rx_bad_preamble 1 O Increment bad preamble. This signal indicates if the Ethernet packet received was preceded by a valid preamble. A value of 1 indicates that an invalid preamble was received. rx_clk_out
  1. This signal is not valid in 1G mode.
Table 2. Statistics Interface - TX Path
Name I/O Description Clock Domain
stat_tx_total_bytes[3:0] O

Increment for the total number of bytes transmitted.

The signal width for stat_tx_total_bytes will be [2:0] when the 32-bit AXI4-Stream option is selected.

tx_clk_out
stat_tx_total_packets O Increment for the total number of packets transmitted. tx_clk_out
stat_tx_total_good_bytes[13:0] O Increment for the total number of good bytes transmitted. This value is only non-zero when a packet is transmitted completely and contains no errors. tx_clk_out
stat_tx_total_good_packets O Increment for the total number of good packets transmitted. tx_clk_out
stat_tx_bad_fcs O Increment for packets greater than 64 bytes that have FCS errors. tx_clk_out
stat_tx_packet_64_bytes O Increment for good and bad packets transmitted that contain 64 bytes. tx_clk_out
stat_tx_packet_65_127_bytes O Increment for good and bad packets transmitted that contain 65 to 127 bytes. tx_clk_out
stat_tx_packet_128_255_bytes O Increment for good and bad packets transmitted that contain 128 to 255 bytes. tx_clk_out
stat_tx_packet_256_511_bytes O Increment for good and bad packets transmitted that contain 256 to 511 bytes. tx_clk_out
stat_tx_packet_512_1023_bytes O Increment for good and bad packets transmitted that contain 512 to 1,023 bytes. tx_clk_out
stat_tx_packet_1024_1518_bytes O Increment for good and bad packets transmitted that contain 1,024 to 1,518 bytes. tx_clk_out
stat_tx_packet_1519_1522_bytes O Increment for good and bad packets transmitted that contain 1,519 to 1,522 bytes. tx_clk_out
stat_tx_packet_1523_1548_bytes O Increment for good and bad packets transmitted that contain 1,523 to 1,548 bytes. tx_clk_out
stat_tx_packet_1549_2047_bytes O Increment for good and bad packets transmitted that contain 1,549 to 2,047 bytes. tx_clk_out
stat_tx_packet_2048_4095_bytes O Increment for good and bad packets transmitted that contain 2,048 to 4,095 bytes. tx_clk_out
stat_tx_packet_4096_8191_bytes O Increment for good and bad packets transmitted that contain 4,096 to 8,191 bytes. tx_clk_out
stat_tx_packet_8192_9215_bytes O Increment for good and bad packets transmitted that contain 8,192 to 9,215 bytes. tx_clk_out
stat_tx_packet_small O Increment for all packets that are less than 64 bytes long. tx_clk_out
stat_tx_packet_large O Increment for all packets that are more than 9,215 bytes long. tx_clk_out
stat_tx_frame_error O Increment for packets with tx_axis_tuser set to indicate an End of Packet (EOP) abort or frames aborted by de-asserting tvalid without tlast. tx_clk_out