Commit 5b3fbd61 authored by Breno Leitao's avatar Breno Leitao Committed by David S. Miller

net: sysfs: Fix /sys/class/net/<iface> path for statistics

The Documentation/ABI/testing/sysfs-class-net-statistics documentation
is pointing to the wrong path for the interface.  Documentation is
pointing to /sys/class/<iface>, instead of /sys/class/net/<iface>.

Fix it by adding the `net/` directory before the interface.

Fixes: 6044f970 ("net: sysfs: document /sys/class/net/statistics/*")
Signed-off-by: default avatarBreno Leitao <leitao@debian.org>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 603604c8
What: /sys/class/<iface>/statistics/collisions What: /sys/class/net/<iface>/statistics/collisions
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -6,7 +6,7 @@ Description: ...@@ -6,7 +6,7 @@ Description:
Indicates the number of collisions seen by this network device. Indicates the number of collisions seen by this network device.
This value might not be relevant with all MAC layers. This value might not be relevant with all MAC layers.
What: /sys/class/<iface>/statistics/multicast What: /sys/class/net/<iface>/statistics/multicast
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -14,7 +14,7 @@ Description: ...@@ -14,7 +14,7 @@ Description:
Indicates the number of multicast packets received by this Indicates the number of multicast packets received by this
network device. network device.
What: /sys/class/<iface>/statistics/rx_bytes What: /sys/class/net/<iface>/statistics/rx_bytes
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -23,7 +23,7 @@ Description: ...@@ -23,7 +23,7 @@ Description:
See the network driver for the exact meaning of when this See the network driver for the exact meaning of when this
value is incremented. value is incremented.
What: /sys/class/<iface>/statistics/rx_compressed What: /sys/class/net/<iface>/statistics/rx_compressed
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -32,7 +32,7 @@ Description: ...@@ -32,7 +32,7 @@ Description:
network device. This value might only be relevant for interfaces network device. This value might only be relevant for interfaces
that support packet compression (e.g: PPP). that support packet compression (e.g: PPP).
What: /sys/class/<iface>/statistics/rx_crc_errors What: /sys/class/net/<iface>/statistics/rx_crc_errors
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -41,7 +41,7 @@ Description: ...@@ -41,7 +41,7 @@ Description:
by this network device. Note that the specific meaning might by this network device. Note that the specific meaning might
depend on the MAC layer used by the interface. depend on the MAC layer used by the interface.
What: /sys/class/<iface>/statistics/rx_dropped What: /sys/class/net/<iface>/statistics/rx_dropped
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -51,7 +51,7 @@ Description: ...@@ -51,7 +51,7 @@ Description:
packet processing. See the network driver for the exact packet processing. See the network driver for the exact
meaning of this value. meaning of this value.
What: /sys/class/<iface>/statistics/rx_errors What: /sys/class/net/<iface>/statistics/rx_errors
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -59,7 +59,7 @@ Description: ...@@ -59,7 +59,7 @@ Description:
Indicates the number of receive errors on this network device. Indicates the number of receive errors on this network device.
See the network driver for the exact meaning of this value. See the network driver for the exact meaning of this value.
What: /sys/class/<iface>/statistics/rx_fifo_errors What: /sys/class/net/<iface>/statistics/rx_fifo_errors
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -68,7 +68,7 @@ Description: ...@@ -68,7 +68,7 @@ Description:
network device. See the network driver for the exact network device. See the network driver for the exact
meaning of this value. meaning of this value.
What: /sys/class/<iface>/statistics/rx_frame_errors What: /sys/class/net/<iface>/statistics/rx_frame_errors
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -78,7 +78,7 @@ Description: ...@@ -78,7 +78,7 @@ Description:
on the MAC layer protocol used. See the network driver for on the MAC layer protocol used. See the network driver for
the exact meaning of this value. the exact meaning of this value.
What: /sys/class/<iface>/statistics/rx_length_errors What: /sys/class/net/<iface>/statistics/rx_length_errors
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -87,7 +87,7 @@ Description: ...@@ -87,7 +87,7 @@ Description:
error, oversized or undersized. See the network driver for the error, oversized or undersized. See the network driver for the
exact meaning of this value. exact meaning of this value.
What: /sys/class/<iface>/statistics/rx_missed_errors What: /sys/class/net/<iface>/statistics/rx_missed_errors
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -96,7 +96,7 @@ Description: ...@@ -96,7 +96,7 @@ Description:
due to lack of capacity in the receive side. See the network due to lack of capacity in the receive side. See the network
driver for the exact meaning of this value. driver for the exact meaning of this value.
What: /sys/class/<iface>/statistics/rx_nohandler What: /sys/class/net/<iface>/statistics/rx_nohandler
Date: February 2016 Date: February 2016
KernelVersion: 4.6 KernelVersion: 4.6
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -104,7 +104,7 @@ Description: ...@@ -104,7 +104,7 @@ Description:
Indicates the number of received packets that were dropped on Indicates the number of received packets that were dropped on
an inactive device by the network core. an inactive device by the network core.
What: /sys/class/<iface>/statistics/rx_over_errors What: /sys/class/net/<iface>/statistics/rx_over_errors
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -114,7 +114,7 @@ Description: ...@@ -114,7 +114,7 @@ Description:
(e.g: larger than MTU). See the network driver for the exact (e.g: larger than MTU). See the network driver for the exact
meaning of this value. meaning of this value.
What: /sys/class/<iface>/statistics/rx_packets What: /sys/class/net/<iface>/statistics/rx_packets
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -122,7 +122,7 @@ Description: ...@@ -122,7 +122,7 @@ Description:
Indicates the total number of good packets received by this Indicates the total number of good packets received by this
network device. network device.
What: /sys/class/<iface>/statistics/tx_aborted_errors What: /sys/class/net/<iface>/statistics/tx_aborted_errors
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -132,7 +132,7 @@ Description: ...@@ -132,7 +132,7 @@ Description:
a medium collision). See the network driver for the exact a medium collision). See the network driver for the exact
meaning of this value. meaning of this value.
What: /sys/class/<iface>/statistics/tx_bytes What: /sys/class/net/<iface>/statistics/tx_bytes
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -143,7 +143,7 @@ Description: ...@@ -143,7 +143,7 @@ Description:
transmitted packets or all packets that have been queued for transmitted packets or all packets that have been queued for
transmission. transmission.
What: /sys/class/<iface>/statistics/tx_carrier_errors What: /sys/class/net/<iface>/statistics/tx_carrier_errors
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -152,7 +152,7 @@ Description: ...@@ -152,7 +152,7 @@ Description:
because of carrier errors (e.g: physical link down). See the because of carrier errors (e.g: physical link down). See the
network driver for the exact meaning of this value. network driver for the exact meaning of this value.
What: /sys/class/<iface>/statistics/tx_compressed What: /sys/class/net/<iface>/statistics/tx_compressed
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -161,7 +161,7 @@ Description: ...@@ -161,7 +161,7 @@ Description:
this might only be relevant for devices that support this might only be relevant for devices that support
compression (e.g: PPP). compression (e.g: PPP).
What: /sys/class/<iface>/statistics/tx_dropped What: /sys/class/net/<iface>/statistics/tx_dropped
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -170,7 +170,7 @@ Description: ...@@ -170,7 +170,7 @@ Description:
See the driver for the exact reasons as to why the packets were See the driver for the exact reasons as to why the packets were
dropped. dropped.
What: /sys/class/<iface>/statistics/tx_errors What: /sys/class/net/<iface>/statistics/tx_errors
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -179,7 +179,7 @@ Description: ...@@ -179,7 +179,7 @@ Description:
a network device. See the driver for the exact reasons as to a network device. See the driver for the exact reasons as to
why the packets were dropped. why the packets were dropped.
What: /sys/class/<iface>/statistics/tx_fifo_errors What: /sys/class/net/<iface>/statistics/tx_fifo_errors
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -188,7 +188,7 @@ Description: ...@@ -188,7 +188,7 @@ Description:
FIFO error. See the driver for the exact reasons as to why the FIFO error. See the driver for the exact reasons as to why the
packets were dropped. packets were dropped.
What: /sys/class/<iface>/statistics/tx_heartbeat_errors What: /sys/class/net/<iface>/statistics/tx_heartbeat_errors
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -197,7 +197,7 @@ Description: ...@@ -197,7 +197,7 @@ Description:
reported as heartbeat errors. See the driver for the exact reported as heartbeat errors. See the driver for the exact
reasons as to why the packets were dropped. reasons as to why the packets were dropped.
What: /sys/class/<iface>/statistics/tx_packets What: /sys/class/net/<iface>/statistics/tx_packets
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
...@@ -206,7 +206,7 @@ Description: ...@@ -206,7 +206,7 @@ Description:
device. See the driver for whether this reports the number of all device. See the driver for whether this reports the number of all
attempted or successful transmissions. attempted or successful transmissions.
What: /sys/class/<iface>/statistics/tx_window_errors What: /sys/class/net/<iface>/statistics/tx_window_errors
Date: April 2005 Date: April 2005
KernelVersion: 2.6.12 KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org Contact: netdev@vger.kernel.org
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment