xref: /linux/Documentation/ABI/testing/sysfs-class-net-queues (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1ae3f4b44SBreno LeitaoWhat:		/sys/class/net/<iface>/queues/rx-<queue>/rps_cpus
21a02ef76SFlorian FainelliDate:		March 2010
31a02ef76SFlorian FainelliKernelVersion:	2.6.35
41a02ef76SFlorian FainelliContact:	netdev@vger.kernel.org
51a02ef76SFlorian FainelliDescription:
61a02ef76SFlorian Fainelli		Mask of the CPU(s) currently enabled to participate into the
71a02ef76SFlorian Fainelli		Receive Packet Steering packet processing flow for this
81a02ef76SFlorian Fainelli		network device queue. Possible values depend on the number
91a02ef76SFlorian Fainelli		of available CPU(s) in the system.
101a02ef76SFlorian Fainelli
11ae3f4b44SBreno LeitaoWhat:		/sys/class/net/<iface>/queues/rx-<queue>/rps_flow_cnt
121a02ef76SFlorian FainelliDate:		April 2010
131a02ef76SFlorian FainelliKernelVersion:	2.6.35
141a02ef76SFlorian FainelliContact:	netdev@vger.kernel.org
151a02ef76SFlorian FainelliDescription:
161a02ef76SFlorian Fainelli		Number of Receive Packet Steering flows being currently
171a02ef76SFlorian Fainelli		processed by this particular network device receive queue.
181a02ef76SFlorian Fainelli
19ae3f4b44SBreno LeitaoWhat:		/sys/class/net/<iface>/queues/tx-<queue>/tx_timeout
201a02ef76SFlorian FainelliDate:		November 2011
211a02ef76SFlorian FainelliKernelVersion:	3.3
221a02ef76SFlorian FainelliContact:	netdev@vger.kernel.org
231a02ef76SFlorian FainelliDescription:
241a02ef76SFlorian Fainelli		Indicates the number of transmit timeout events seen by this
251a02ef76SFlorian Fainelli		network interface transmit queue.
261a02ef76SFlorian Fainelli
27ae3f4b44SBreno LeitaoWhat:		/sys/class/net/<iface>/queues/tx-<queue>/tx_maxrate
28822b3b2eSJohn FastabendDate:		March 2015
29822b3b2eSJohn FastabendKernelVersion:	4.1
30822b3b2eSJohn FastabendContact:	netdev@vger.kernel.org
31822b3b2eSJohn FastabendDescription:
32822b3b2eSJohn Fastabend		A Mbps max-rate set for the queue, a value of zero means disabled,
33822b3b2eSJohn Fastabend		default is disabled.
34822b3b2eSJohn Fastabend
35ae3f4b44SBreno LeitaoWhat:		/sys/class/net/<iface>/queues/tx-<queue>/xps_cpus
361a02ef76SFlorian FainelliDate:		November 2010
371a02ef76SFlorian FainelliKernelVersion:	2.6.38
381a02ef76SFlorian FainelliContact:	netdev@vger.kernel.org
391a02ef76SFlorian FainelliDescription:
401a02ef76SFlorian Fainelli		Mask of the CPU(s) currently enabled to participate into the
411a02ef76SFlorian Fainelli		Transmit Packet Steering packet processing flow for this
42ebab9426SBjorn Helgaas		network device transmit queue. Possible values depend on the
431a02ef76SFlorian Fainelli		number of available CPU(s) in the system.
441a02ef76SFlorian Fainelli
45ae3f4b44SBreno LeitaoWhat:		/sys/class/net/<iface>/queues/tx-<queue>/xps_rxqs
46a4fd1f4bSAmritha NambiarDate:		June 2018
47a4fd1f4bSAmritha NambiarKernelVersion:	4.18.0
48a4fd1f4bSAmritha NambiarContact:	netdev@vger.kernel.org
49a4fd1f4bSAmritha NambiarDescription:
50a4fd1f4bSAmritha Nambiar		Mask of the receive queue(s) currently enabled to participate
51a4fd1f4bSAmritha Nambiar		into the Transmit Packet Steering packet processing flow for this
52a4fd1f4bSAmritha Nambiar		network device transmit queue. Possible values depend on the
53a4fd1f4bSAmritha Nambiar		number of available receive queue(s) in the network device.
54a4fd1f4bSAmritha Nambiar		Default is disabled.
55a4fd1f4bSAmritha Nambiar
56ae3f4b44SBreno LeitaoWhat:		/sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/hold_time
571a02ef76SFlorian FainelliDate:		November 2011
581a02ef76SFlorian FainelliKernelVersion:	3.3
591a02ef76SFlorian FainelliContact:	netdev@vger.kernel.org
601a02ef76SFlorian FainelliDescription:
611a02ef76SFlorian Fainelli		Indicates the hold time in milliseconds to measure the slack
621a02ef76SFlorian Fainelli		of this particular network device transmit queue.
631a02ef76SFlorian Fainelli		Default value is 1000.
641a02ef76SFlorian Fainelli
65ae3f4b44SBreno LeitaoWhat:		/sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/inflight
661a02ef76SFlorian FainelliDate:		November 2011
671a02ef76SFlorian FainelliKernelVersion:	3.3
681a02ef76SFlorian FainelliContact:	netdev@vger.kernel.org
691a02ef76SFlorian FainelliDescription:
701a02ef76SFlorian Fainelli		Indicates the number of bytes (objects) in flight on this
711a02ef76SFlorian Fainelli		network device transmit queue.
721a02ef76SFlorian Fainelli
73ae3f4b44SBreno LeitaoWhat:		/sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/limit
741a02ef76SFlorian FainelliDate:		November 2011
751a02ef76SFlorian FainelliKernelVersion:	3.3
761a02ef76SFlorian FainelliContact:	netdev@vger.kernel.org
771a02ef76SFlorian FainelliDescription:
781a02ef76SFlorian Fainelli		Indicates the current limit of bytes allowed to be queued
791a02ef76SFlorian Fainelli		on this network device transmit queue. This value is clamped
801a02ef76SFlorian Fainelli		to be within the bounds defined by limit_max and limit_min.
811a02ef76SFlorian Fainelli
82ae3f4b44SBreno LeitaoWhat:		/sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/limit_max
831a02ef76SFlorian FainelliDate:		November 2011
841a02ef76SFlorian FainelliKernelVersion:	3.3
851a02ef76SFlorian FainelliContact:	netdev@vger.kernel.org
861a02ef76SFlorian FainelliDescription:
871a02ef76SFlorian Fainelli		Indicates the absolute maximum limit of bytes allowed to be
881a02ef76SFlorian Fainelli		queued on this network device transmit queue. See
891a02ef76SFlorian Fainelli		include/linux/dynamic_queue_limits.h for the default value.
901a02ef76SFlorian Fainelli
91ae3f4b44SBreno LeitaoWhat:		/sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/limit_min
921a02ef76SFlorian FainelliDate:		November 2011
931a02ef76SFlorian FainelliKernelVersion:	3.3
941a02ef76SFlorian FainelliContact:	netdev@vger.kernel.org
951a02ef76SFlorian FainelliDescription:
961a02ef76SFlorian Fainelli		Indicates the absolute minimum limit of bytes allowed to be
971a02ef76SFlorian Fainelli		queued on this network device transmit queue. Default value is
981a02ef76SFlorian Fainelli		0.
99*6025b913SJakub Kicinski
100*6025b913SJakub KicinskiWhat:		/sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/stall_thrs
101*6025b913SJakub KicinskiDate:		Jan 2024
102*6025b913SJakub KicinskiKernelVersion:	6.9
103*6025b913SJakub KicinskiContact:	netdev@vger.kernel.org
104*6025b913SJakub KicinskiDescription:
105*6025b913SJakub Kicinski		Tx completion stall detection threshold in ms. Kernel will
106*6025b913SJakub Kicinski		guarantee to detect all stalls longer than this threshold but
107*6025b913SJakub Kicinski		may also detect stalls longer than half of the threshold.
108*6025b913SJakub Kicinski
109*6025b913SJakub KicinskiWhat:		/sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/stall_cnt
110*6025b913SJakub KicinskiDate:		Jan 2024
111*6025b913SJakub KicinskiKernelVersion:	6.9
112*6025b913SJakub KicinskiContact:	netdev@vger.kernel.org
113*6025b913SJakub KicinskiDescription:
114*6025b913SJakub Kicinski		Number of detected Tx completion stalls.
115*6025b913SJakub Kicinski
116*6025b913SJakub KicinskiWhat:		/sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/stall_max
117*6025b913SJakub KicinskiDate:		Jan 2024
118*6025b913SJakub KicinskiKernelVersion:	6.9
119*6025b913SJakub KicinskiContact:	netdev@vger.kernel.org
120*6025b913SJakub KicinskiDescription:
121*6025b913SJakub Kicinski		Longest detected Tx completion stall. Write 0 to clear.
122