18c2ecf20Sopenharmony_ciWhat:		/sys/bus/dsa/devices/dsa<m>/version
28c2ecf20Sopenharmony_ciDate:		Apr 15, 2020
38c2ecf20Sopenharmony_ciKernelVersion:	5.8.0
48c2ecf20Sopenharmony_ciContact:	dmaengine@vger.kernel.org
58c2ecf20Sopenharmony_ciDescription:	The hardware version number.
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/cdev_major
88c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
98c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
108c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
118c2ecf20Sopenharmony_ciDescription:	The major number that the character device driver assigned to
128c2ecf20Sopenharmony_ci		this device.
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/errors
158c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
168c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
178c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
188c2ecf20Sopenharmony_ciDescription:    The error information for this device.
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/max_batch_size
218c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
228c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
238c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
248c2ecf20Sopenharmony_ciDescription:    The largest number of work descriptors in a batch.
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/max_work_queues_size
278c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
288c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
298c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
308c2ecf20Sopenharmony_ciDescription:    The maximum work queue size supported by this device.
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/max_engines
338c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
348c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
358c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
368c2ecf20Sopenharmony_ciDescription:    The maximum number of engines supported by this device.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/max_groups
398c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
408c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
418c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
428c2ecf20Sopenharmony_ciDescription:    The maximum number of groups can be created under this device.
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/max_tokens
458c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
468c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
478c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
488c2ecf20Sopenharmony_ciDescription:    The total number of bandwidth tokens supported by this device.
498c2ecf20Sopenharmony_ci		The bandwidth tokens represent resources within the DSA
508c2ecf20Sopenharmony_ci		implementation, and these resources are allocated by engines to
518c2ecf20Sopenharmony_ci		support operations.
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/max_transfer_size
548c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
558c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
568c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
578c2ecf20Sopenharmony_ciDescription:    The number of bytes to be read from the source address to
588c2ecf20Sopenharmony_ci		perform the operation. The maximum transfer size is dependent on
598c2ecf20Sopenharmony_ci		the workqueue the descriptor was submitted to.
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/max_work_queues
628c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
638c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
648c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
658c2ecf20Sopenharmony_ciDescription:    The maximum work queue number that this device supports.
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/numa_node
688c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
698c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
708c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
718c2ecf20Sopenharmony_ciDescription:    The numa node number for this device.
728c2ecf20Sopenharmony_ci
738c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/op_cap
748c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
758c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
768c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
778c2ecf20Sopenharmony_ciDescription:    The operation capability bit mask specify the operation types
788c2ecf20Sopenharmony_ci		supported by the this device.
798c2ecf20Sopenharmony_ci
808c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/state
818c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
828c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
838c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
848c2ecf20Sopenharmony_ciDescription:    The state information of this device. It can be either enabled
858c2ecf20Sopenharmony_ci		or disabled.
868c2ecf20Sopenharmony_ci
878c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/group<m>.<n>
888c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
898c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
908c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
918c2ecf20Sopenharmony_ciDescription:    The assigned group under this device.
928c2ecf20Sopenharmony_ci
938c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/engine<m>.<n>
948c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
958c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
968c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
978c2ecf20Sopenharmony_ciDescription:    The assigned engine under this device.
988c2ecf20Sopenharmony_ci
998c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/wq<m>.<n>
1008c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
1018c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
1028c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
1038c2ecf20Sopenharmony_ciDescription:    The assigned work queue under this device.
1048c2ecf20Sopenharmony_ci
1058c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/configurable
1068c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
1078c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
1088c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
1098c2ecf20Sopenharmony_ciDescription:    To indicate if this device is configurable or not.
1108c2ecf20Sopenharmony_ci
1118c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/dsa<m>/token_limit
1128c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
1138c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
1148c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
1158c2ecf20Sopenharmony_ciDescription:    The maximum number of bandwidth tokens that may be in use at
1168c2ecf20Sopenharmony_ci		one time by operations that access low bandwidth memory in the
1178c2ecf20Sopenharmony_ci		device.
1188c2ecf20Sopenharmony_ci
1198c2ecf20Sopenharmony_ciWhat:		/sys/bus/dsa/devices/dsa<m>/cmd_status
1208c2ecf20Sopenharmony_ciDate:		Aug 28, 2020
1218c2ecf20Sopenharmony_ciKernelVersion:	5.10.0
1228c2ecf20Sopenharmony_ciContact:	dmaengine@vger.kernel.org
1238c2ecf20Sopenharmony_ciDescription:	The last executed device administrative command's status/error.
1248c2ecf20Sopenharmony_ci
1258c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/wq<m>.<n>/group_id
1268c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
1278c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
1288c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
1298c2ecf20Sopenharmony_ciDescription:    The group id that this work queue belongs to.
1308c2ecf20Sopenharmony_ci
1318c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/wq<m>.<n>/size
1328c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
1338c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
1348c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
1358c2ecf20Sopenharmony_ciDescription:    The work queue size for this work queue.
1368c2ecf20Sopenharmony_ci
1378c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/wq<m>.<n>/type
1388c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
1398c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
1408c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
1418c2ecf20Sopenharmony_ciDescription:    The type of this work queue, it can be "kernel" type for work
1428c2ecf20Sopenharmony_ci		queue usages in the kernel space or "user" type for work queue
1438c2ecf20Sopenharmony_ci		usages by applications in user space.
1448c2ecf20Sopenharmony_ci
1458c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/wq<m>.<n>/cdev_minor
1468c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
1478c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
1488c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
1498c2ecf20Sopenharmony_ciDescription:    The minor number assigned to this work queue by the character
1508c2ecf20Sopenharmony_ci		device driver.
1518c2ecf20Sopenharmony_ci
1528c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/wq<m>.<n>/mode
1538c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
1548c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
1558c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
1568c2ecf20Sopenharmony_ciDescription:    The work queue mode type for this work queue.
1578c2ecf20Sopenharmony_ci
1588c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/wq<m>.<n>/priority
1598c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
1608c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
1618c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
1628c2ecf20Sopenharmony_ciDescription:    The priority value of this work queue, it is a vlue relative to
1638c2ecf20Sopenharmony_ci		other work queue in the same group to control quality of service
1648c2ecf20Sopenharmony_ci		for dispatching work from multiple workqueues in the same group.
1658c2ecf20Sopenharmony_ci
1668c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/wq<m>.<n>/state
1678c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
1688c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
1698c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
1708c2ecf20Sopenharmony_ciDescription:    The current state of the work queue.
1718c2ecf20Sopenharmony_ci
1728c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/wq<m>.<n>/threshold
1738c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
1748c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
1758c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
1768c2ecf20Sopenharmony_ciDescription:    The number of entries in this work queue that may be filled
1778c2ecf20Sopenharmony_ci		via a limited portal.
1788c2ecf20Sopenharmony_ci
1798c2ecf20Sopenharmony_ciWhat:		/sys/bus/dsa/devices/wq<m>.<n>/max_transfer_size
1808c2ecf20Sopenharmony_ciDate:		Aug 28, 2020
1818c2ecf20Sopenharmony_ciKernelVersion:	5.10.0
1828c2ecf20Sopenharmony_ciContact:	dmaengine@vger.kernel.org
1838c2ecf20Sopenharmony_ciDescription:	The max transfer sized for this workqueue. Cannot exceed device
1848c2ecf20Sopenharmony_ci		max transfer size. Configurable parameter.
1858c2ecf20Sopenharmony_ci
1868c2ecf20Sopenharmony_ciWhat:		/sys/bus/dsa/devices/wq<m>.<n>/max_batch_size
1878c2ecf20Sopenharmony_ciDate:		Aug 28, 2020
1888c2ecf20Sopenharmony_ciKernelVersion:	5.10.0
1898c2ecf20Sopenharmony_ciContact:	dmaengine@vger.kernel.org
1908c2ecf20Sopenharmony_ciDescription:	The max batch size for this workqueue. Cannot exceed device
1918c2ecf20Sopenharmony_ci		max batch size. Configurable parameter.
1928c2ecf20Sopenharmony_ci
1938c2ecf20Sopenharmony_ciWhat:           /sys/bus/dsa/devices/engine<m>.<n>/group_id
1948c2ecf20Sopenharmony_ciDate:           Oct 25, 2019
1958c2ecf20Sopenharmony_ciKernelVersion:  5.6.0
1968c2ecf20Sopenharmony_ciContact:        dmaengine@vger.kernel.org
1978c2ecf20Sopenharmony_ciDescription:    The group that this engine belongs to.
198