Documentation/networking/device_drivers/ethernet/ti/icssg_prueth.rst
.. SPDX-License-Identifier: GPL-2.0
:Version: 1.0
Every ICSSG core has two Programmable Real-Time Unit(PRUs), two auxiliary Real-Time Transfer Unit (RTUs), and two Transmit Real-Time Transfer Units (TX_PRUs). Each one of these runs its own firmware. The firmwares combnined are referred as ICSSG Firmware.
The ICSSG firmware maintains certain statistics which are dumped by the driver
via ethtool -S <interface>
These statistics are as follows,
FW_RTU_PKT_DROP: Diagnostic error counter which increments when RTU drops a locally injected packet due to port being disabled or rule violation.FW_Q0_OVERFLOW: TX overflow counter for queue0FW_Q1_OVERFLOW: TX overflow counter for queue1FW_Q2_OVERFLOW: TX overflow counter for queue2FW_Q3_OVERFLOW: TX overflow counter for queue3FW_Q4_OVERFLOW: TX overflow counter for queue4FW_Q5_OVERFLOW: TX overflow counter for queue5FW_Q6_OVERFLOW: TX overflow counter for queue6FW_Q7_OVERFLOW: TX overflow counter for queue7FW_DROPPED_PKT: This counter is incremented when a packet is dropped at PRU because of rule violation.FW_RX_ERROR: Incremented if there was a CRC error or Min/Max frame error at PRUFW_RX_DS_INVALID: Incremented when RTU detects Data Status invalid conditionFW_TX_DROPPED_PACKET: Counter for packets dropped via TX PortFW_TX_TS_DROPPED_PACKET: Counter for packets with TS flag dropped via TX PortFW_INF_PORT_DISABLED: Incremented when RX frame is dropped due to port being disabledFW_INF_SAV: Incremented when RX frame is dropped due to Source Address violationFW_INF_SA_DL: Incremented when RX frame is dropped due to Source Address being in the denylistFW_INF_PORT_BLOCKED: Incremented when RX frame is dropped due to port being blocked and frame being a special frameFW_INF_DROP_TAGGED : Incremented when RX frame is dropped for being taggedFW_INF_DROP_PRIOTAGGED: Incremented when RX frame is dropped for being priority taggedFW_INF_DROP_NOTAG: Incremented when RX frame is dropped for being untaggedFW_INF_DROP_NOTMEMBER: Incremented when RX frame is dropped for port not being member of VLANFW_RX_EOF_SHORT_FRMERR: Incremented if End Of Frame (EOF) task is scheduled without seeing RX_B1FW_RX_B0_DROP_EARLY_EOF: Incremented when frame is dropped due to Early EOFFW_TX_JUMBO_FRM_CUTOFF: Incremented when frame is cut off to prevent packet size > 2000 BytesFW_RX_EXP_FRAG_Q_DROP: Incremented when express frame is received in the same queue as the previous fragmentFW_RX_FIFO_OVERRUN: RX fifo overrun counterFW_CUT_THR_PKT: Incremented when a packet is forwarded using Cut-Through forwarding methodFW_HOST_RX_PKT_CNT: Number of valid packets sent by Rx PRU to Host on PSIFW_HOST_TX_PKT_CNT: Number of valid packets copied by RTU0 to Tx queuesFW_HOST_EGRESS_Q_PRE_OVERFLOW: Host Egress Q (Pre-emptible) Overflow CounterFW_HOST_EGRESS_Q_EXP_OVERFLOW: Host Egress Q (Pre-emptible) Overflow Counter