xref: /linux/Documentation/ABI/testing/sysfs-class-net-queues (revision ebab9426cd73c45945b44344ca904b343f0ca070)
11a02ef76SFlorian FainelliWhat:		/sys/class/<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
111a02ef76SFlorian FainelliWhat:		/sys/class/<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
191a02ef76SFlorian FainelliWhat:		/sys/class/<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
27822b3b2eSJohn FastabendWhat:		/sys/class/<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
351a02ef76SFlorian FainelliWhat:		/sys/class/<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
42*ebab9426SBjorn Helgaas		network device transmit queue. Possible values depend on the
431a02ef76SFlorian Fainelli		number of available CPU(s) in the system.
441a02ef76SFlorian Fainelli
45a4fd1f4bSAmritha NambiarWhat:		/sys/class/<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
561a02ef76SFlorian FainelliWhat:		/sys/class/<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
651a02ef76SFlorian FainelliWhat:		/sys/class/<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
731a02ef76SFlorian FainelliWhat:		/sys/class/<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
821a02ef76SFlorian FainelliWhat:		/sys/class/<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
911a02ef76SFlorian FainelliWhat:		/sys/class/<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