Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: sysfs: add documentation entries for /sys/class/<iface>/queues

Add sysfs documentation for the various attributes of a network
interface exposed in /sys/class/<iface>/queues/{rx,tx}-<queue>/

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Florian Fainelli and committed by
David S. Miller
1a02ef76 79499bca

+79
+79
Documentation/ABI/testing/sysfs-class-net-queues
··· 1 + What: /sys/class/<iface>/queues/rx-<queue>/rps_cpus 2 + Date: March 2010 3 + KernelVersion: 2.6.35 4 + Contact: netdev@vger.kernel.org 5 + Description: 6 + Mask of the CPU(s) currently enabled to participate into the 7 + Receive Packet Steering packet processing flow for this 8 + network device queue. Possible values depend on the number 9 + of available CPU(s) in the system. 10 + 11 + What: /sys/class/<iface>/queues/rx-<queue>/rps_flow_cnt 12 + Date: April 2010 13 + KernelVersion: 2.6.35 14 + Contact: netdev@vger.kernel.org 15 + Description: 16 + Number of Receive Packet Steering flows being currently 17 + processed by this particular network device receive queue. 18 + 19 + What: /sys/class/<iface>/queues/tx-<queue>/tx_timeout 20 + Date: November 2011 21 + KernelVersion: 3.3 22 + Contact: netdev@vger.kernel.org 23 + Description: 24 + Indicates the number of transmit timeout events seen by this 25 + network interface transmit queue. 26 + 27 + What: /sys/class/<iface>/queues/tx-<queue>/xps_cpus 28 + Date: November 2010 29 + KernelVersion: 2.6.38 30 + Contact: netdev@vger.kernel.org 31 + Description: 32 + Mask of the CPU(s) currently enabled to participate into the 33 + Transmit Packet Steering packet processing flow for this 34 + network device transmit queue. Possible vaules depend on the 35 + number of available CPU(s) in the system. 36 + 37 + What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/hold_time 38 + Date: November 2011 39 + KernelVersion: 3.3 40 + Contact: netdev@vger.kernel.org 41 + Description: 42 + Indicates the hold time in milliseconds to measure the slack 43 + of this particular network device transmit queue. 44 + Default value is 1000. 45 + 46 + What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/inflight 47 + Date: November 2011 48 + KernelVersion: 3.3 49 + Contact: netdev@vger.kernel.org 50 + Description: 51 + Indicates the number of bytes (objects) in flight on this 52 + network device transmit queue. 53 + 54 + What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/limit 55 + Date: November 2011 56 + KernelVersion: 3.3 57 + Contact: netdev@vger.kernel.org 58 + Description: 59 + Indicates the current limit of bytes allowed to be queued 60 + on this network device transmit queue. This value is clamped 61 + to be within the bounds defined by limit_max and limit_min. 62 + 63 + What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/limit_max 64 + Date: November 2011 65 + KernelVersion: 3.3 66 + Contact: netdev@vger.kernel.org 67 + Description: 68 + Indicates the absolute maximum limit of bytes allowed to be 69 + queued on this network device transmit queue. See 70 + include/linux/dynamic_queue_limits.h for the default value. 71 + 72 + What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/limit_min 73 + Date: November 2011 74 + KernelVersion: 3.3 75 + Contact: netdev@vger.kernel.org 76 + Description: 77 + Indicates the absolute minimum limit of bytes allowed to be 78 + queued on this network device transmit queue. Default value is 79 + 0.