xref: /OK3568_Linux_fs/kernel/Documentation/ABI/stable/sysfs-driver-dma-idxd (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunWhat:		/sys/bus/dsa/devices/dsa<m>/version
2*4882a593SmuzhiyunDate:		Apr 15, 2020
3*4882a593SmuzhiyunKernelVersion:	5.8.0
4*4882a593SmuzhiyunContact:	dmaengine@vger.kernel.org
5*4882a593SmuzhiyunDescription:	The hardware version number.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/dsa<m>/cdev_major
8*4882a593SmuzhiyunDate:           Oct 25, 2019
9*4882a593SmuzhiyunKernelVersion:  5.6.0
10*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
11*4882a593SmuzhiyunDescription:	The major number that the character device driver assigned to
12*4882a593Smuzhiyun		this device.
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/dsa<m>/errors
15*4882a593SmuzhiyunDate:           Oct 25, 2019
16*4882a593SmuzhiyunKernelVersion:  5.6.0
17*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
18*4882a593SmuzhiyunDescription:    The error information for this device.
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/dsa<m>/max_batch_size
21*4882a593SmuzhiyunDate:           Oct 25, 2019
22*4882a593SmuzhiyunKernelVersion:  5.6.0
23*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
24*4882a593SmuzhiyunDescription:    The largest number of work descriptors in a batch.
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/dsa<m>/max_work_queues_size
27*4882a593SmuzhiyunDate:           Oct 25, 2019
28*4882a593SmuzhiyunKernelVersion:  5.6.0
29*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
30*4882a593SmuzhiyunDescription:    The maximum work queue size supported by this device.
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/dsa<m>/max_engines
33*4882a593SmuzhiyunDate:           Oct 25, 2019
34*4882a593SmuzhiyunKernelVersion:  5.6.0
35*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
36*4882a593SmuzhiyunDescription:    The maximum number of engines supported by this device.
37*4882a593Smuzhiyun
38*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/dsa<m>/max_groups
39*4882a593SmuzhiyunDate:           Oct 25, 2019
40*4882a593SmuzhiyunKernelVersion:  5.6.0
41*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
42*4882a593SmuzhiyunDescription:    The maximum number of groups can be created under this device.
43*4882a593Smuzhiyun
44*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/dsa<m>/max_tokens
45*4882a593SmuzhiyunDate:           Oct 25, 2019
46*4882a593SmuzhiyunKernelVersion:  5.6.0
47*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
48*4882a593SmuzhiyunDescription:    The total number of bandwidth tokens supported by this device.
49*4882a593Smuzhiyun		The bandwidth tokens represent resources within the DSA
50*4882a593Smuzhiyun		implementation, and these resources are allocated by engines to
51*4882a593Smuzhiyun		support operations.
52*4882a593Smuzhiyun
53*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/dsa<m>/max_transfer_size
54*4882a593SmuzhiyunDate:           Oct 25, 2019
55*4882a593SmuzhiyunKernelVersion:  5.6.0
56*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
57*4882a593SmuzhiyunDescription:    The number of bytes to be read from the source address to
58*4882a593Smuzhiyun		perform the operation. The maximum transfer size is dependent on
59*4882a593Smuzhiyun		the workqueue the descriptor was submitted to.
60*4882a593Smuzhiyun
61*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/dsa<m>/max_work_queues
62*4882a593SmuzhiyunDate:           Oct 25, 2019
63*4882a593SmuzhiyunKernelVersion:  5.6.0
64*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
65*4882a593SmuzhiyunDescription:    The maximum work queue number that this device supports.
66*4882a593Smuzhiyun
67*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/dsa<m>/numa_node
68*4882a593SmuzhiyunDate:           Oct 25, 2019
69*4882a593SmuzhiyunKernelVersion:  5.6.0
70*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
71*4882a593SmuzhiyunDescription:    The numa node number for this device.
72*4882a593Smuzhiyun
73*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/dsa<m>/op_cap
74*4882a593SmuzhiyunDate:           Oct 25, 2019
75*4882a593SmuzhiyunKernelVersion:  5.6.0
76*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
77*4882a593SmuzhiyunDescription:    The operation capability bit mask specify the operation types
78*4882a593Smuzhiyun		supported by the this device.
79*4882a593Smuzhiyun
80*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/dsa<m>/state
81*4882a593SmuzhiyunDate:           Oct 25, 2019
82*4882a593SmuzhiyunKernelVersion:  5.6.0
83*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
84*4882a593SmuzhiyunDescription:    The state information of this device. It can be either enabled
85*4882a593Smuzhiyun		or disabled.
86*4882a593Smuzhiyun
87*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/dsa<m>/group<m>.<n>
88*4882a593SmuzhiyunDate:           Oct 25, 2019
89*4882a593SmuzhiyunKernelVersion:  5.6.0
90*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
91*4882a593SmuzhiyunDescription:    The assigned group under this device.
92*4882a593Smuzhiyun
93*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/dsa<m>/engine<m>.<n>
94*4882a593SmuzhiyunDate:           Oct 25, 2019
95*4882a593SmuzhiyunKernelVersion:  5.6.0
96*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
97*4882a593SmuzhiyunDescription:    The assigned engine under this device.
98*4882a593Smuzhiyun
99*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/dsa<m>/wq<m>.<n>
100*4882a593SmuzhiyunDate:           Oct 25, 2019
101*4882a593SmuzhiyunKernelVersion:  5.6.0
102*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
103*4882a593SmuzhiyunDescription:    The assigned work queue under this device.
104*4882a593Smuzhiyun
105*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/dsa<m>/configurable
106*4882a593SmuzhiyunDate:           Oct 25, 2019
107*4882a593SmuzhiyunKernelVersion:  5.6.0
108*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
109*4882a593SmuzhiyunDescription:    To indicate if this device is configurable or not.
110*4882a593Smuzhiyun
111*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/dsa<m>/token_limit
112*4882a593SmuzhiyunDate:           Oct 25, 2019
113*4882a593SmuzhiyunKernelVersion:  5.6.0
114*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
115*4882a593SmuzhiyunDescription:    The maximum number of bandwidth tokens that may be in use at
116*4882a593Smuzhiyun		one time by operations that access low bandwidth memory in the
117*4882a593Smuzhiyun		device.
118*4882a593Smuzhiyun
119*4882a593SmuzhiyunWhat:		/sys/bus/dsa/devices/dsa<m>/cmd_status
120*4882a593SmuzhiyunDate:		Aug 28, 2020
121*4882a593SmuzhiyunKernelVersion:	5.10.0
122*4882a593SmuzhiyunContact:	dmaengine@vger.kernel.org
123*4882a593SmuzhiyunDescription:	The last executed device administrative command's status/error.
124*4882a593Smuzhiyun
125*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/wq<m>.<n>/group_id
126*4882a593SmuzhiyunDate:           Oct 25, 2019
127*4882a593SmuzhiyunKernelVersion:  5.6.0
128*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
129*4882a593SmuzhiyunDescription:    The group id that this work queue belongs to.
130*4882a593Smuzhiyun
131*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/wq<m>.<n>/size
132*4882a593SmuzhiyunDate:           Oct 25, 2019
133*4882a593SmuzhiyunKernelVersion:  5.6.0
134*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
135*4882a593SmuzhiyunDescription:    The work queue size for this work queue.
136*4882a593Smuzhiyun
137*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/wq<m>.<n>/type
138*4882a593SmuzhiyunDate:           Oct 25, 2019
139*4882a593SmuzhiyunKernelVersion:  5.6.0
140*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
141*4882a593SmuzhiyunDescription:    The type of this work queue, it can be "kernel" type for work
142*4882a593Smuzhiyun		queue usages in the kernel space or "user" type for work queue
143*4882a593Smuzhiyun		usages by applications in user space.
144*4882a593Smuzhiyun
145*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/wq<m>.<n>/cdev_minor
146*4882a593SmuzhiyunDate:           Oct 25, 2019
147*4882a593SmuzhiyunKernelVersion:  5.6.0
148*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
149*4882a593SmuzhiyunDescription:    The minor number assigned to this work queue by the character
150*4882a593Smuzhiyun		device driver.
151*4882a593Smuzhiyun
152*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/wq<m>.<n>/mode
153*4882a593SmuzhiyunDate:           Oct 25, 2019
154*4882a593SmuzhiyunKernelVersion:  5.6.0
155*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
156*4882a593SmuzhiyunDescription:    The work queue mode type for this work queue.
157*4882a593Smuzhiyun
158*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/wq<m>.<n>/priority
159*4882a593SmuzhiyunDate:           Oct 25, 2019
160*4882a593SmuzhiyunKernelVersion:  5.6.0
161*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
162*4882a593SmuzhiyunDescription:    The priority value of this work queue, it is a vlue relative to
163*4882a593Smuzhiyun		other work queue in the same group to control quality of service
164*4882a593Smuzhiyun		for dispatching work from multiple workqueues in the same group.
165*4882a593Smuzhiyun
166*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/wq<m>.<n>/state
167*4882a593SmuzhiyunDate:           Oct 25, 2019
168*4882a593SmuzhiyunKernelVersion:  5.6.0
169*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
170*4882a593SmuzhiyunDescription:    The current state of the work queue.
171*4882a593Smuzhiyun
172*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/wq<m>.<n>/threshold
173*4882a593SmuzhiyunDate:           Oct 25, 2019
174*4882a593SmuzhiyunKernelVersion:  5.6.0
175*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
176*4882a593SmuzhiyunDescription:    The number of entries in this work queue that may be filled
177*4882a593Smuzhiyun		via a limited portal.
178*4882a593Smuzhiyun
179*4882a593SmuzhiyunWhat:		/sys/bus/dsa/devices/wq<m>.<n>/max_transfer_size
180*4882a593SmuzhiyunDate:		Aug 28, 2020
181*4882a593SmuzhiyunKernelVersion:	5.10.0
182*4882a593SmuzhiyunContact:	dmaengine@vger.kernel.org
183*4882a593SmuzhiyunDescription:	The max transfer sized for this workqueue. Cannot exceed device
184*4882a593Smuzhiyun		max transfer size. Configurable parameter.
185*4882a593Smuzhiyun
186*4882a593SmuzhiyunWhat:		/sys/bus/dsa/devices/wq<m>.<n>/max_batch_size
187*4882a593SmuzhiyunDate:		Aug 28, 2020
188*4882a593SmuzhiyunKernelVersion:	5.10.0
189*4882a593SmuzhiyunContact:	dmaengine@vger.kernel.org
190*4882a593SmuzhiyunDescription:	The max batch size for this workqueue. Cannot exceed device
191*4882a593Smuzhiyun		max batch size. Configurable parameter.
192*4882a593Smuzhiyun
193*4882a593SmuzhiyunWhat:           /sys/bus/dsa/devices/engine<m>.<n>/group_id
194*4882a593SmuzhiyunDate:           Oct 25, 2019
195*4882a593SmuzhiyunKernelVersion:  5.6.0
196*4882a593SmuzhiyunContact:        dmaengine@vger.kernel.org
197*4882a593SmuzhiyunDescription:    The group that this engine belongs to.
198