xref: /linux/Documentation/ABI/testing/sysfs-class-net-statistics (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/collisions
26044f970SFlorian FainelliDate:		April 2005
36044f970SFlorian FainelliKernelVersion:	2.6.12
46044f970SFlorian FainelliContact:	netdev@vger.kernel.org
56044f970SFlorian FainelliDescription:
66044f970SFlorian Fainelli		Indicates the number of collisions seen by this network device.
76044f970SFlorian Fainelli		This value might not be relevant with all MAC layers.
86044f970SFlorian Fainelli
9*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/multicast
106044f970SFlorian FainelliDate:		April 2005
116044f970SFlorian FainelliKernelVersion:	2.6.12
126044f970SFlorian FainelliContact:	netdev@vger.kernel.org
136044f970SFlorian FainelliDescription:
146044f970SFlorian Fainelli		Indicates the number of multicast packets received by this
156044f970SFlorian Fainelli		network device.
166044f970SFlorian Fainelli
17*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/rx_bytes
186044f970SFlorian FainelliDate:		April 2005
196044f970SFlorian FainelliKernelVersion:	2.6.12
206044f970SFlorian FainelliContact:	netdev@vger.kernel.org
216044f970SFlorian FainelliDescription:
226044f970SFlorian Fainelli		Indicates the number of bytes received by this network device.
236044f970SFlorian Fainelli		See the network driver for the exact meaning of when this
246044f970SFlorian Fainelli		value is incremented.
256044f970SFlorian Fainelli
26*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/rx_compressed
276044f970SFlorian FainelliDate:		April 2005
286044f970SFlorian FainelliKernelVersion:	2.6.12
296044f970SFlorian FainelliContact:	netdev@vger.kernel.org
306044f970SFlorian FainelliDescription:
316044f970SFlorian Fainelli		Indicates the number of compressed packets received by this
326044f970SFlorian Fainelli		network device. This value might only be relevant for interfaces
336044f970SFlorian Fainelli		that support packet compression (e.g: PPP).
346044f970SFlorian Fainelli
35*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/rx_crc_errors
366044f970SFlorian FainelliDate:		April 2005
376044f970SFlorian FainelliKernelVersion:	2.6.12
386044f970SFlorian FainelliContact:	netdev@vger.kernel.org
396044f970SFlorian FainelliDescription:
406044f970SFlorian Fainelli		Indicates the number of packets received with a CRC (FCS) error
416044f970SFlorian Fainelli		by this network device. Note that the specific meaning might
426044f970SFlorian Fainelli		depend on the MAC layer used by the interface.
436044f970SFlorian Fainelli
44*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/rx_dropped
456044f970SFlorian FainelliDate:		April 2005
466044f970SFlorian FainelliKernelVersion:	2.6.12
476044f970SFlorian FainelliContact:	netdev@vger.kernel.org
486044f970SFlorian FainelliDescription:
496044f970SFlorian Fainelli		Indicates the number of packets received by the network device
506044f970SFlorian Fainelli		but dropped, that are not forwarded to the upper layers for
516044f970SFlorian Fainelli		packet processing. See the network driver for the exact
526044f970SFlorian Fainelli		meaning of this value.
536044f970SFlorian Fainelli
54*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/rx_errors
55e528afb7SJulian WiedmannDate:		April 2005
56e528afb7SJulian WiedmannKernelVersion:	2.6.12
57e528afb7SJulian WiedmannContact:	netdev@vger.kernel.org
58e528afb7SJulian WiedmannDescription:
59e528afb7SJulian Wiedmann		Indicates the number of receive errors on this network device.
60e528afb7SJulian Wiedmann		See the network driver for the exact meaning of this value.
61e528afb7SJulian Wiedmann
62*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/rx_fifo_errors
636044f970SFlorian FainelliDate:		April 2005
646044f970SFlorian FainelliKernelVersion:	2.6.12
656044f970SFlorian FainelliContact:	netdev@vger.kernel.org
666044f970SFlorian FainelliDescription:
676044f970SFlorian Fainelli		Indicates the number of receive FIFO errors seen by this
686044f970SFlorian Fainelli		network device. See the network driver for the exact
696044f970SFlorian Fainelli		meaning of this value.
706044f970SFlorian Fainelli
71*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/rx_frame_errors
726044f970SFlorian FainelliDate:		April 2005
736044f970SFlorian FainelliKernelVersion:	2.6.12
746044f970SFlorian FainelliContact:	netdev@vger.kernel.org
756044f970SFlorian FainelliDescription:
766044f970SFlorian Fainelli		Indicates the number of received frames with error, such as
776044f970SFlorian Fainelli		alignment errors. Note that the specific meaning depends on
786044f970SFlorian Fainelli		on the MAC layer protocol used. See the network driver for
796044f970SFlorian Fainelli		the exact meaning of this value.
806044f970SFlorian Fainelli
81*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/rx_length_errors
826044f970SFlorian FainelliDate:		April 2005
836044f970SFlorian FainelliKernelVersion:	2.6.12
846044f970SFlorian FainelliContact:	netdev@vger.kernel.org
856044f970SFlorian FainelliDescription:
866044f970SFlorian Fainelli		Indicates the number of received error packet with a length
876044f970SFlorian Fainelli		error, oversized or undersized. See the network driver for the
886044f970SFlorian Fainelli		exact meaning of this value.
896044f970SFlorian Fainelli
90*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/rx_missed_errors
916044f970SFlorian FainelliDate:		April 2005
926044f970SFlorian FainelliKernelVersion:	2.6.12
936044f970SFlorian FainelliContact:	netdev@vger.kernel.org
946044f970SFlorian FainelliDescription:
956044f970SFlorian Fainelli		Indicates the number of received packets that have been missed
966044f970SFlorian Fainelli		due to lack of capacity in the receive side. See the network
976044f970SFlorian Fainelli		driver for the exact meaning of this value.
986044f970SFlorian Fainelli
99*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/rx_nohandler
100e528afb7SJulian WiedmannDate:		February 2016
101e528afb7SJulian WiedmannKernelVersion:	4.6
102e528afb7SJulian WiedmannContact:	netdev@vger.kernel.org
103e528afb7SJulian WiedmannDescription:
104e528afb7SJulian Wiedmann		Indicates the number of received packets that were dropped on
105e528afb7SJulian Wiedmann		an inactive device by the network core.
106e528afb7SJulian Wiedmann
107*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/rx_over_errors
1086044f970SFlorian FainelliDate:		April 2005
1096044f970SFlorian FainelliKernelVersion:	2.6.12
1106044f970SFlorian FainelliContact:	netdev@vger.kernel.org
1116044f970SFlorian FainelliDescription:
1126044f970SFlorian Fainelli		Indicates the number of received packets that are oversized
1136044f970SFlorian Fainelli		compared to what the network device is configured to accept
1146044f970SFlorian Fainelli		(e.g: larger than MTU). See the network driver for the exact
1156044f970SFlorian Fainelli		meaning of this value.
1166044f970SFlorian Fainelli
117*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/rx_packets
1186044f970SFlorian FainelliDate:		April 2005
1196044f970SFlorian FainelliKernelVersion:	2.6.12
1206044f970SFlorian FainelliContact:	netdev@vger.kernel.org
1216044f970SFlorian FainelliDescription:
1226044f970SFlorian Fainelli		Indicates the total number of good packets received by this
1236044f970SFlorian Fainelli		network device.
1246044f970SFlorian Fainelli
125*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/tx_aborted_errors
1266044f970SFlorian FainelliDate:		April 2005
1276044f970SFlorian FainelliKernelVersion:	2.6.12
1286044f970SFlorian FainelliContact:	netdev@vger.kernel.org
1296044f970SFlorian FainelliDescription:
1306044f970SFlorian Fainelli		Indicates the number of packets that have been aborted
1316044f970SFlorian Fainelli		during transmission by a network device (e.g: because of
1326044f970SFlorian Fainelli		a medium collision). See the network driver for the exact
1336044f970SFlorian Fainelli		meaning of this value.
1346044f970SFlorian Fainelli
135*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/tx_bytes
1366044f970SFlorian FainelliDate:		April 2005
1376044f970SFlorian FainelliKernelVersion:	2.6.12
1386044f970SFlorian FainelliContact:	netdev@vger.kernel.org
1396044f970SFlorian FainelliDescription:
1406044f970SFlorian Fainelli		Indicates the number of bytes transmitted by a network
1416044f970SFlorian Fainelli		device. See the network driver for the exact meaning of this
1426044f970SFlorian Fainelli		value, in particular whether this accounts for all successfully
1436044f970SFlorian Fainelli		transmitted packets or all packets that have been queued for
1446044f970SFlorian Fainelli		transmission.
1456044f970SFlorian Fainelli
146*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/tx_carrier_errors
1476044f970SFlorian FainelliDate:		April 2005
1486044f970SFlorian FainelliKernelVersion:	2.6.12
1496044f970SFlorian FainelliContact:	netdev@vger.kernel.org
1506044f970SFlorian FainelliDescription:
1516044f970SFlorian Fainelli		Indicates the number of packets that could not be transmitted
1526044f970SFlorian Fainelli		because of carrier errors (e.g: physical link down). See the
1536044f970SFlorian Fainelli		network driver for the exact meaning of this value.
1546044f970SFlorian Fainelli
155*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/tx_compressed
1566044f970SFlorian FainelliDate:		April 2005
1576044f970SFlorian FainelliKernelVersion:	2.6.12
1586044f970SFlorian FainelliContact:	netdev@vger.kernel.org
1596044f970SFlorian FainelliDescription:
1606044f970SFlorian Fainelli		Indicates the number of transmitted compressed packets. Note
1616044f970SFlorian Fainelli		this might only be relevant for devices that support
1626044f970SFlorian Fainelli		compression (e.g: PPP).
1636044f970SFlorian Fainelli
164*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/tx_dropped
1656044f970SFlorian FainelliDate:		April 2005
1666044f970SFlorian FainelliKernelVersion:	2.6.12
1676044f970SFlorian FainelliContact:	netdev@vger.kernel.org
1686044f970SFlorian FainelliDescription:
1696044f970SFlorian Fainelli		Indicates the number of packets dropped during transmission.
1706044f970SFlorian Fainelli		See the driver for the exact reasons as to why the packets were
1716044f970SFlorian Fainelli		dropped.
1726044f970SFlorian Fainelli
173*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/tx_errors
1746044f970SFlorian FainelliDate:		April 2005
1756044f970SFlorian FainelliKernelVersion:	2.6.12
1766044f970SFlorian FainelliContact:	netdev@vger.kernel.org
1776044f970SFlorian FainelliDescription:
1786044f970SFlorian Fainelli		Indicates the number of packets in error during transmission by
1796044f970SFlorian Fainelli		a network device. See the driver for the exact reasons as to
1806044f970SFlorian Fainelli		why the packets were dropped.
1816044f970SFlorian Fainelli
182*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/tx_fifo_errors
1836044f970SFlorian FainelliDate:		April 2005
1846044f970SFlorian FainelliKernelVersion:	2.6.12
1856044f970SFlorian FainelliContact:	netdev@vger.kernel.org
1866044f970SFlorian FainelliDescription:
1876044f970SFlorian Fainelli		Indicates the number of packets having caused a transmit
1886044f970SFlorian Fainelli		FIFO error. See the driver for the exact reasons as to why the
1896044f970SFlorian Fainelli		packets were dropped.
1906044f970SFlorian Fainelli
191*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/tx_heartbeat_errors
1926044f970SFlorian FainelliDate:		April 2005
1936044f970SFlorian FainelliKernelVersion:	2.6.12
1946044f970SFlorian FainelliContact:	netdev@vger.kernel.org
1956044f970SFlorian FainelliDescription:
1966044f970SFlorian Fainelli		Indicates the number of packets transmitted that have been
1976044f970SFlorian Fainelli		reported as heartbeat errors. See the driver for the exact
1986044f970SFlorian Fainelli		reasons as to why the packets were dropped.
1996044f970SFlorian Fainelli
200*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/tx_packets
2016044f970SFlorian FainelliDate:		April 2005
2026044f970SFlorian FainelliKernelVersion:	2.6.12
2036044f970SFlorian FainelliContact:	netdev@vger.kernel.org
2046044f970SFlorian FainelliDescription:
2056044f970SFlorian Fainelli		Indicates the number of packets transmitted by a network
2066044f970SFlorian Fainelli		device. See the driver for whether this reports the number of all
2076044f970SFlorian Fainelli		attempted or successful transmissions.
2086044f970SFlorian Fainelli
209*5b3fbd61SBreno LeitaoWhat:		/sys/class/net/<iface>/statistics/tx_window_errors
2106044f970SFlorian FainelliDate:		April 2005
2116044f970SFlorian FainelliKernelVersion:	2.6.12
2126044f970SFlorian FainelliContact:	netdev@vger.kernel.org
2136044f970SFlorian FainelliDescription:
2146044f970SFlorian Fainelli		Indicates the number of packets not successfully transmitted
2156044f970SFlorian Fainelli		due to a window collision. The specific meaning depends on the
2166044f970SFlorian Fainelli		MAC layer used.  On Ethernet this is usually used to report
2176044f970SFlorian Fainelli		late collisions errors.
218