Data Sheet

Ethernet Controller I210 —Inline Functions
358
7.9.4 Linux net_device_stats
The I210 supports part of the net_device_stats as defined by Linux Kernel version 2.6 (defined in
<linux/netdevice.h>). Table 7-76 lists the matching between the internal statistics and the counters
requested by this structure.
etherStatsPkts256to511Octets PRC511 RMON counts bad packets as well
etherStatsPkts512to1023Octets PRC1023 RMON counts bad packets as well
etherStatsPkts1024to1518Octets PRC1522 RMON counts bad packets as well
Table 7-76. Linux net_device_stats
net_device_stats field I210 Counters Notes
rx_packets GPRC
The I210 doesn’t count flow controls - can be accounted for by
using the XONRXC and XOFFRXC counters
tx_packets GPTC
The I210 doesn’t count flow controls - can be accounted for by
using the XONTXC and XOFFTXC counters
rx_bytes GORCL + GORCH
tx_bytes GOTCL + GOTCH
rx_errors
CRCERRS + RLEC + RXERRC +
ALGNERRC
tx_errors ECOL + LATECOL
rx_dropped N/A
tx_dropped N/A
multicast MPTC
collisions COLC
rx_length_errors RLEC
rx_over_errors N/A
rx_crc_errors CRCERRS
rx_frame_errors ALGNERRC
rx_fifo_errors HRMPC + Sum (RQDPC)
rx_missed_errors MPC
tx_aborted_errors ECOL
tx_carrier_errors N/A
tx_fifo_errors N/A
tx_heartbeat_errors N/A
tx_window_errors LATECOL
rx_compressed N/A
tx_compressed N/A
Table 7-75. RMON Statistics (Continued)
RMON statistic I210 Counters Notes