1 What: /sys/bus/dsa/devices/dsa<m>/version
4 Contact: dmaengine@vger.kernel.org
5 Description: The hardware version number.
7 What: /sys/bus/dsa/devices/dsa<m>/cdev_major
10 Contact: dmaengine@vger.kernel.org
11 Description: The major number that the character device driver assigned to
14 What: /sys/bus/dsa/devices/dsa<m>/errors
17 Contact: dmaengine@vger.kernel.org
18 Description: The error information for this device.
20 What: /sys/bus/dsa/devices/dsa<m>/max_batch_size
23 Contact: dmaengine@vger.kernel.org
24 Description: The largest number of work descriptors in a batch.
26 What: /sys/bus/dsa/devices/dsa<m>/max_work_queues_size
29 Contact: dmaengine@vger.kernel.org
30 Description: The maximum work queue size supported by this device.
32 What: /sys/bus/dsa/devices/dsa<m>/max_engines
35 Contact: dmaengine@vger.kernel.org
36 Description: The maximum number of engines supported by this device.
38 What: /sys/bus/dsa/devices/dsa<m>/max_groups
41 Contact: dmaengine@vger.kernel.org
42 Description: The maximum number of groups can be created under this device.
44 What: /sys/bus/dsa/devices/dsa<m>/max_tokens
47 Contact: dmaengine@vger.kernel.org
48 Description: The total number of bandwidth tokens supported by this device.
49 The bandwidth tokens represent resources within the DSA
50 implementation, and these resources are allocated by engines to
53 What: /sys/bus/dsa/devices/dsa<m>/max_transfer_size
56 Contact: dmaengine@vger.kernel.org
57 Description: The number of bytes to be read from the source address to
58 perform the operation. The maximum transfer size is dependent on
59 the workqueue the descriptor was submitted to.
61 What: /sys/bus/dsa/devices/dsa<m>/max_work_queues
64 Contact: dmaengine@vger.kernel.org
65 Description: The maximum work queue number that this device supports.
67 What: /sys/bus/dsa/devices/dsa<m>/numa_node
70 Contact: dmaengine@vger.kernel.org
71 Description: The numa node number for this device.
73 What: /sys/bus/dsa/devices/dsa<m>/op_cap
76 Contact: dmaengine@vger.kernel.org
77 Description: The operation capability bit mask specify the operation types
78 supported by the this device.
80 What: /sys/bus/dsa/devices/dsa<m>/state
83 Contact: dmaengine@vger.kernel.org
84 Description: The state information of this device. It can be either enabled
87 What: /sys/bus/dsa/devices/dsa<m>/group<m>.<n>
90 Contact: dmaengine@vger.kernel.org
91 Description: The assigned group under this device.
93 What: /sys/bus/dsa/devices/dsa<m>/engine<m>.<n>
96 Contact: dmaengine@vger.kernel.org
97 Description: The assigned engine under this device.
99 What: /sys/bus/dsa/devices/dsa<m>/wq<m>.<n>
102 Contact: dmaengine@vger.kernel.org
103 Description: The assigned work queue under this device.
105 What: /sys/bus/dsa/devices/dsa<m>/configurable
108 Contact: dmaengine@vger.kernel.org
109 Description: To indicate if this device is configurable or not.
111 What: /sys/bus/dsa/devices/dsa<m>/token_limit
114 Contact: dmaengine@vger.kernel.org
115 Description: The maximum number of bandwidth tokens that may be in use at
116 one time by operations that access low bandwidth memory in the
119 What: /sys/bus/dsa/devices/dsa<m>/cmd_status
121 KernelVersion: 5.10.0
122 Contact: dmaengine@vger.kernel.org
123 Description: The last executed device administrative command's status/error.
125 What: /sys/bus/dsa/devices/wq<m>.<n>/group_id
128 Contact: dmaengine@vger.kernel.org
129 Description: The group id that this work queue belongs to.
131 What: /sys/bus/dsa/devices/wq<m>.<n>/size
134 Contact: dmaengine@vger.kernel.org
135 Description: The work queue size for this work queue.
137 What: /sys/bus/dsa/devices/wq<m>.<n>/type
140 Contact: dmaengine@vger.kernel.org
141 Description: The type of this work queue, it can be "kernel" type for work
142 queue usages in the kernel space or "user" type for work queue
143 usages by applications in user space.
145 What: /sys/bus/dsa/devices/wq<m>.<n>/cdev_minor
148 Contact: dmaengine@vger.kernel.org
149 Description: The minor number assigned to this work queue by the character
152 What: /sys/bus/dsa/devices/wq<m>.<n>/mode
155 Contact: dmaengine@vger.kernel.org
156 Description: The work queue mode type for this work queue.
158 What: /sys/bus/dsa/devices/wq<m>.<n>/priority
161 Contact: dmaengine@vger.kernel.org
162 Description: The priority value of this work queue, it is a vlue relative to
163 other work queue in the same group to control quality of service
164 for dispatching work from multiple workqueues in the same group.
166 What: /sys/bus/dsa/devices/wq<m>.<n>/state
169 Contact: dmaengine@vger.kernel.org
170 Description: The current state of the work queue.
172 What: /sys/bus/dsa/devices/wq<m>.<n>/threshold
175 Contact: dmaengine@vger.kernel.org
176 Description: The number of entries in this work queue that may be filled
177 via a limited portal.
179 What: /sys/bus/dsa/devices/wq<m>.<n>/max_transfer_size
181 KernelVersion: 5.10.0
182 Contact: dmaengine@vger.kernel.org
183 Description: The max transfer sized for this workqueue. Cannot exceed device
184 max transfer size. Configurable parameter.
186 What: /sys/bus/dsa/devices/wq<m>.<n>/max_batch_size
188 KernelVersion: 5.10.0
189 Contact: dmaengine@vger.kernel.org
190 Description: The max batch size for this workqueue. Cannot exceed device
191 max batch size. Configurable parameter.
193 What: /sys/bus/dsa/devices/engine<m>.<n>/group_id
196 Contact: dmaengine@vger.kernel.org
197 Description: The group that this engine belongs to.