| 1 |
What: /sys/bus/dsa/devices/dsa<m>/version |
| 2 |
Date: Apr 15, 2020 |
| 3 |
KernelVersion: 5.8.0 |
| 4 |
Contact: [email protected] |
| 5 |
Description: The hardware version number. |
| 6 |
|
| 7 |
What: /sys/bus/dsa/devices/dsa<m>/cdev_major |
| 8 |
Date: Oct 25, 2019 |
| 9 |
KernelVersion: 5.6.0 |
| 10 |
Contact: [email protected] |
| 11 |
Description: The major number that the character device driver assigned to |
| 12 |
this device. |
| 13 |
|
| 14 |
What: /sys/bus/dsa/devices/dsa<m>/errors |
| 15 |
Date: Oct 25, 2019 |
| 16 |
KernelVersion: 5.6.0 |
| 17 |
Contact: [email protected] |
| 18 |
Description: The error information for this device. |
| 19 |
|
| 20 |
What: /sys/bus/dsa/devices/dsa<m>/max_batch_size |
| 21 |
Date: Oct 25, 2019 |
| 22 |
KernelVersion: 5.6.0 |
| 23 |
Contact: [email protected] |
| 24 |
Description: The largest number of work descriptors in a batch. |
| 25 |
It's not visible when the device does not support batch. |
| 26 |
|
| 27 |
What: /sys/bus/dsa/devices/dsa<m>/max_work_queues_size |
| 28 |
Date: Oct 25, 2019 |
| 29 |
KernelVersion: 5.6.0 |
| 30 |
Contact: [email protected] |
| 31 |
Description: The maximum work queue size supported by this device. |
| 32 |
|
| 33 |
What: /sys/bus/dsa/devices/dsa<m>/max_engines |
| 34 |
Date: Oct 25, 2019 |
| 35 |
KernelVersion: 5.6.0 |
| 36 |
Contact: [email protected] |
| 37 |
Description: The maximum number of engines supported by this device. |
| 38 |
|
| 39 |
What: /sys/bus/dsa/devices/dsa<m>/max_groups |
| 40 |
Date: Oct 25, 2019 |
| 41 |
KernelVersion: 5.6.0 |
| 42 |
Contact: [email protected] |
| 43 |
Description: The maximum number of groups can be created under this device. |
| 44 |
|
| 45 |
What: /sys/bus/dsa/devices/dsa<m>/max_read_buffers |
| 46 |
Date: Dec 10, 2021 |
| 47 |
KernelVersion: 5.17.0 |
| 48 |
Contact: [email protected] |
| 49 |
Description: The total number of read buffers supported by this device. |
| 50 |
The read buffers represent resources within the DSA |
| 51 |
implementation, and these resources are allocated by engines to |
| 52 |
support operations. See DSA spec v1.2 9.2.4 Total Read Buffers. |
| 53 |
It's not visible when the device does not support Read Buffer |
| 54 |
allocation control. |
| 55 |
|
| 56 |
What: /sys/bus/dsa/devices/dsa<m>/max_transfer_size |
| 57 |
Date: Oct 25, 2019 |
| 58 |
KernelVersion: 5.6.0 |
| 59 |
Contact: [email protected] |
| 60 |
Description: The number of bytes to be read from the source address to |
| 61 |
perform the operation. The maximum transfer size is dependent on |
| 62 |
the workqueue the descriptor was submitted to. |
| 63 |
|
| 64 |
What: /sys/bus/dsa/devices/dsa<m>/max_work_queues |
| 65 |
Date: Oct 25, 2019 |
| 66 |
KernelVersion: 5.6.0 |
| 67 |
Contact: [email protected] |
| 68 |
Description: The maximum work queue number that this device supports. |
| 69 |
|
| 70 |
What: /sys/bus/dsa/devices/dsa<m>/numa_node |
| 71 |
Date: Oct 25, 2019 |
| 72 |
KernelVersion: 5.6.0 |
| 73 |
Contact: [email protected] |
| 74 |
Description: The numa node number for this device. |
| 75 |
|
| 76 |
What: /sys/bus/dsa/devices/dsa<m>/op_cap |
| 77 |
Date: Oct 25, 2019 |
| 78 |
KernelVersion: 5.6.0 |
| 79 |
Contact: [email protected] |
| 80 |
Description: The operation capability bit mask specify the operation types |
| 81 |
supported by the this device. |
| 82 |
|
| 83 |
What: /sys/bus/dsa/devices/dsa<m>/pasid_enabled |
| 84 |
Date: Oct 27, 2020 |
| 85 |
KernelVersion: 5.11.0 |
| 86 |
Contact: [email protected] |
| 87 |
Description: To indicate if user PASID (process address space identifier) is |
| 88 |
enabled or not for this device. |
| 89 |
|
| 90 |
What: /sys/bus/dsa/devices/dsa<m>/state |
| 91 |
Date: Oct 25, 2019 |
| 92 |
KernelVersion: 5.6.0 |
| 93 |
Contact: [email protected] |
| 94 |
Description: The state information of this device. It can be either enabled |
| 95 |
or disabled. |
| 96 |
|
| 97 |
What: /sys/bus/dsa/devices/dsa<m>/group<m>.<n> |
| 98 |
Date: Oct 25, 2019 |
| 99 |
KernelVersion: 5.6.0 |
| 100 |
Contact: [email protected] |
| 101 |
Description: The assigned group under this device. |
| 102 |
|
| 103 |
What: /sys/bus/dsa/devices/dsa<m>/engine<m>.<n> |
| 104 |
Date: Oct 25, 2019 |
| 105 |
KernelVersion: 5.6.0 |
| 106 |
Contact: [email protected] |
| 107 |
Description: The assigned engine under this device. |
| 108 |
|
| 109 |
What: /sys/bus/dsa/devices/dsa<m>/wq<m>.<n> |
| 110 |
Date: Oct 25, 2019 |
| 111 |
KernelVersion: 5.6.0 |
| 112 |
Contact: [email protected] |
| 113 |
Description: The assigned work queue under this device. |
| 114 |
|
| 115 |
What: /sys/bus/dsa/devices/dsa<m>/configurable |
| 116 |
Date: Oct 25, 2019 |
| 117 |
KernelVersion: 5.6.0 |
| 118 |
Contact: [email protected] |
| 119 |
Description: To indicate if this device is configurable or not. |
| 120 |
|
| 121 |
What: /sys/bus/dsa/devices/dsa<m>/read_buffer_limit |
| 122 |
Date: Dec 10, 2021 |
| 123 |
KernelVersion: 5.17.0 |
| 124 |
Contact: [email protected] |
| 125 |
Description: The maximum number of read buffers that may be in use at |
| 126 |
one time by operations that access low bandwidth memory in the |
| 127 |
device. See DSA spec v1.2 9.2.8 GENCFG on Global Read Buffer Limit. |
| 128 |
It's not visible when the device does not support Read Buffer |
| 129 |
allocation control. |
| 130 |
|
| 131 |
What: /sys/bus/dsa/devices/dsa<m>/cmd_status |
| 132 |
Date: Aug 28, 2020 |
| 133 |
KernelVersion: 5.10.0 |
| 134 |
Contact: [email protected] |
| 135 |
Description: The last executed device administrative command's status/error. |
| 136 |
Also last configuration error overloaded. |
| 137 |
Writing to it will clear the status. |
| 138 |
|
| 139 |
What: /sys/bus/dsa/devices/dsa<m>/dsacaps |
| 140 |
Date: April 5, 2026 |
| 141 |
KernelVersion: 6.20.0 |
| 142 |
Contact: [email protected] |
| 143 |
Description: The DSA3 specification introduces three new capability |
| 144 |
registers: dsacap[0-2]. User components (e.g., configuration |
| 145 |
libraries and workload applications) require this information |
| 146 |
to properly utilize the DSA3 features. |
| 147 |
This includes SGL capability support, Enabling hardware-specific |
| 148 |
optimizations, Configuring memory, etc. |
| 149 |
The output format is '<dsacap2>,<dsacap1>,<dsacap0>' where each |
| 150 |
DSA cap value is a 64 bit hex value. |
| 151 |
This attribute should only be visible on DSA devices of version |
| 152 |
3 or later. |
| 153 |
|
| 154 |
What: /sys/bus/dsa/devices/dsa<m>/iaa_cap |
| 155 |
Date: Sept 14, 2022 |
| 156 |
KernelVersion: 6.0.0 |
| 157 |
Contact: [email protected] |
| 158 |
Description: IAA (IAX) capability mask. Exported to user space for application |
| 159 |
consumption. This attribute should only be visible on IAA devices |
| 160 |
that are version 2 or later. |
| 161 |
|
| 162 |
What: /sys/bus/dsa/devices/dsa<m>/event_log_size |
| 163 |
Date: Sept 14, 2022 |
| 164 |
KernelVersion: 6.4.0 |
| 165 |
Contact: [email protected] |
| 166 |
Description: The event log size to be configured. Default is 64 entries and |
| 167 |
occupies 4k size if the evl entry is 64 bytes. It's visible |
| 168 |
only on platforms that support the capability. |
| 169 |
|
| 170 |
What: /sys/bus/dsa/devices/wq<m>.<n>/block_on_fault |
| 171 |
Date: Oct 27, 2020 |
| 172 |
KernelVersion: 5.11.0 |
| 173 |
Contact: [email protected] |
| 174 |
Description: To indicate block on fault is allowed or not for the work queue |
| 175 |
to support on demand paging. |
| 176 |
|
| 177 |
What: /sys/bus/dsa/devices/wq<m>.<n>/group_id |
| 178 |
Date: Oct 25, 2019 |
| 179 |
KernelVersion: 5.6.0 |
| 180 |
Contact: [email protected] |
| 181 |
Description: The group id that this work queue belongs to. |
| 182 |
|
| 183 |
What: /sys/bus/dsa/devices/wq<m>.<n>/size |
| 184 |
Date: Oct 25, 2019 |
| 185 |
KernelVersion: 5.6.0 |
| 186 |
Contact: [email protected] |
| 187 |
Description: The work queue size for this work queue. |
| 188 |
|
| 189 |
What: /sys/bus/dsa/devices/wq<m>.<n>/type |
| 190 |
Date: Oct 25, 2019 |
| 191 |
KernelVersion: 5.6.0 |
| 192 |
Contact: [email protected] |
| 193 |
Description: The type of this work queue, it can be "kernel" type for work |
| 194 |
queue usages in the kernel space or "user" type for work queue |
| 195 |
usages by applications in user space. |
| 196 |
|
| 197 |
What: /sys/bus/dsa/devices/wq<m>.<n>/cdev_minor |
| 198 |
Date: Oct 25, 2019 |
| 199 |
KernelVersion: 5.6.0 |
| 200 |
Contact: [email protected] |
| 201 |
Description: The minor number assigned to this work queue by the character |
| 202 |
device driver. |
| 203 |
|
| 204 |
What: /sys/bus/dsa/devices/wq<m>.<n>/mode |
| 205 |
Date: Oct 25, 2019 |
| 206 |
KernelVersion: 5.6.0 |
| 207 |
Contact: [email protected] |
| 208 |
Description: The work queue mode type for this work queue. |
| 209 |
|
| 210 |
What: /sys/bus/dsa/devices/wq<m>.<n>/priority |
| 211 |
Date: Oct 25, 2019 |
| 212 |
KernelVersion: 5.6.0 |
| 213 |
Contact: [email protected] |
| 214 |
Description: The priority value of this work queue, it is a value relative to |
| 215 |
other work queue in the same group to control quality of service |
| 216 |
for dispatching work from multiple workqueues in the same group. |
| 217 |
|
| 218 |
What: /sys/bus/dsa/devices/wq<m>.<n>/state |
| 219 |
Date: Oct 25, 2019 |
| 220 |
KernelVersion: 5.6.0 |
| 221 |
Contact: [email protected] |
| 222 |
Description: The current state of the work queue. |
| 223 |
|
| 224 |
What: /sys/bus/dsa/devices/wq<m>.<n>/threshold |
| 225 |
Date: Oct 25, 2019 |
| 226 |
KernelVersion: 5.6.0 |
| 227 |
Contact: [email protected] |
| 228 |
Description: The number of entries in this work queue that may be filled |
| 229 |
via a limited portal. |
| 230 |
|
| 231 |
What: /sys/bus/dsa/devices/wq<m>.<n>/max_transfer_size |
| 232 |
Date: Aug 28, 2020 |
| 233 |
KernelVersion: 5.10.0 |
| 234 |
Contact: [email protected] |
| 235 |
Description: The max transfer sized for this workqueue. Cannot exceed device |
| 236 |
max transfer size. Configurable parameter. |
| 237 |
|
| 238 |
What: /sys/bus/dsa/devices/wq<m>.<n>/max_batch_size |
| 239 |
Date: Aug 28, 2020 |
| 240 |
KernelVersion: 5.10.0 |
| 241 |
Contact: [email protected] |
| 242 |
Description: The max batch size for this workqueue. Cannot exceed device |
| 243 |
max batch size. Configurable parameter. |
| 244 |
It's not visible when the device does not support batch. |
| 245 |
|
| 246 |
What: /sys/bus/dsa/devices/wq<m>.<n>/ats_disable |
| 247 |
Date: Nov 13, 2020 |
| 248 |
KernelVersion: 5.11.0 |
| 249 |
Contact: [email protected] |
| 250 |
Description: Indicate whether ATS disable is turned on for the workqueue. |
| 251 |
0 indicates ATS is on, and 1 indicates ATS is off for the workqueue. |
| 252 |
|
| 253 |
What: /sys/bus/dsa/devices/wq<m>.<n>/prs_disable |
| 254 |
Date: Sept 14, 2022 |
| 255 |
KernelVersion: 6.4.0 |
| 256 |
Contact: [email protected] |
| 257 |
Description: Controls whether PRS disable is turned on for the workqueue. |
| 258 |
0 indicates PRS is on, and 1 indicates PRS is off for the |
| 259 |
workqueue. This option overrides block_on_fault attribute |
| 260 |
if set. It's visible only on platforms that support the |
| 261 |
capability. |
| 262 |
|
| 263 |
What: /sys/bus/dsa/devices/wq<m>.<n>/occupancy |
| 264 |
Date: May 25, 2021 |
| 265 |
KernelVersion: 5.14.0 |
| 266 |
Contact: [email protected] |
| 267 |
Description: Show the current number of entries in this WQ if WQ Occupancy |
| 268 |
Support bit WQ capabilities is 1. |
| 269 |
|
| 270 |
What: /sys/bus/dsa/devices/wq<m>.<n>/enqcmds_retries |
| 271 |
Date: Oct 29, 2021 |
| 272 |
KernelVersion: 5.17.0 |
| 273 |
Contact: [email protected] |
| 274 |
Description: Indicate the number of retires for an enqcmds submission on a sharedwq. |
| 275 |
A max value to set attribute is capped at 64. |
| 276 |
|
| 277 |
What: /sys/bus/dsa/devices/wq<m>.<n>/op_config |
| 278 |
Date: Sept 14, 2022 |
| 279 |
KernelVersion: 6.0.0 |
| 280 |
Contact: [email protected] |
| 281 |
Description: Shows the operation capability bits displayed in bitmap format |
| 282 |
presented by %*pb printk() output format specifier. |
| 283 |
The attribute can be configured when the WQ is disabled in |
| 284 |
order to configure the WQ to accept specific bits that |
| 285 |
correlates to the operations allowed. It's visible only |
| 286 |
on platforms that support the capability. |
| 287 |
|
| 288 |
What: /sys/bus/dsa/devices/wq<m>.<n>/driver_name |
| 289 |
Date: Sept 8, 2023 |
| 290 |
KernelVersion: 6.7.0 |
| 291 |
Contact: [email protected] |
| 292 |
Description: Name of driver to be bounded to the wq. |
| 293 |
|
| 294 |
What: /sys/bus/dsa/devices/engine<m>.<n>/group_id |
| 295 |
Date: Oct 25, 2019 |
| 296 |
KernelVersion: 5.6.0 |
| 297 |
Contact: [email protected] |
| 298 |
Description: The group that this engine belongs to. |
| 299 |
|
| 300 |
What: /sys/bus/dsa/devices/group<m>.<n>/use_read_buffer_limit |
| 301 |
Date: Dec 10, 2021 |
| 302 |
KernelVersion: 5.17.0 |
| 303 |
Contact: [email protected] |
| 304 |
Description: Enable the use of global read buffer limit for the group. See DSA |
| 305 |
spec v1.2 9.2.18 GRPCFG Use Global Read Buffer Limit. |
| 306 |
It's not visible when the device does not support Read Buffer |
| 307 |
allocation control. |
| 308 |
|
| 309 |
What: /sys/bus/dsa/devices/group<m>.<n>/read_buffers_allowed |
| 310 |
Date: Dec 10, 2021 |
| 311 |
KernelVersion: 5.17.0 |
| 312 |
Contact: [email protected] |
| 313 |
Description: Indicates max number of read buffers that may be in use at one time |
| 314 |
by all engines in the group. See DSA spec v1.2 9.2.18 GRPCFG Read |
| 315 |
Buffers Allowed. |
| 316 |
It's not visible when the device does not support Read Buffer |
| 317 |
allocation control. |
| 318 |
|
| 319 |
What: /sys/bus/dsa/devices/group<m>.<n>/read_buffers_reserved |
| 320 |
Date: Dec 10, 2021 |
| 321 |
KernelVersion: 5.17.0 |
| 322 |
Contact: [email protected] |
| 323 |
Description: Indicates the number of Read Buffers reserved for the use of |
| 324 |
engines in the group. See DSA spec v1.2 9.2.18 GRPCFG Read Buffers |
| 325 |
Reserved. |
| 326 |
It's not visible when the device does not support Read Buffer |
| 327 |
allocation control. |
| 328 |
|
| 329 |
What: /sys/bus/dsa/devices/group<m>.<n>/desc_progress_limit |
| 330 |
Date: Sept 14, 2022 |
| 331 |
KernelVersion: 6.0.0 |
| 332 |
Contact: [email protected] |
| 333 |
Description: Allows control of the number of work descriptors that can be |
| 334 |
concurrently processed by an engine in the group as a fraction |
| 335 |
of the Maximum Work Descriptors in Progress value specified in |
| 336 |
the ENGCAP register. The acceptable values are 0 (default), |
| 337 |
1 (1/2 of max value), 2 (1/4 of the max value), and 3 (1/8 of |
| 338 |
the max value). It's visible only on platforms that support |
| 339 |
the capability. |
| 340 |
|
| 341 |
What: /sys/bus/dsa/devices/group<m>.<n>/batch_progress_limit |
| 342 |
Date: Sept 14, 2022 |
| 343 |
KernelVersion: 6.0.0 |
| 344 |
Contact: [email protected] |
| 345 |
Description: Allows control of the number of batch descriptors that can be |
| 346 |
concurrently processed by an engine in the group as a fraction |
| 347 |
of the Maximum Batch Descriptors in Progress value specified in |
| 348 |
the ENGCAP register. The acceptable values are 0 (default), |
| 349 |
1 (1/2 of max value), 2 (1/4 of the max value), and 3 (1/8 of |
| 350 |
the max value). It's visible only on platforms that support |
| 351 |
the capability. |
| 352 |
|
| 353 |
What: /sys/bus/dsa/devices/wq<m>.<n>/dsa<x>\!wq<m>.<n>/file<y>/cr_faults |
| 354 |
Date: Sept 14, 2022 |
| 355 |
KernelVersion: 6.4.0 |
| 356 |
Contact: [email protected] |
| 357 |
Description: Show the number of Completion Record (CR) faults this application |
| 358 |
has caused. |
| 359 |
|
| 360 |
What: /sys/bus/dsa/devices/wq<m>.<n>/dsa<x>\!wq<m>.<n>/file<y>/cr_fault_failures |
| 361 |
Date: Sept 14, 2022 |
| 362 |
KernelVersion: 6.4.0 |
| 363 |
Contact: [email protected] |
| 364 |
Description: Show the number of Completion Record (CR) faults failures that this |
| 365 |
application has caused. The failure counter is incremented when the |
| 366 |
driver cannot fault in the address for the CR. Typically this is caused |
| 367 |
by a bad address programmed in the submitted descriptor or a malicious |
| 368 |
submitter is using bad CR address on purpose. |
| 369 |
|
| 370 |
What: /sys/bus/dsa/devices/wq<m>.<n>/dsa<x>\!wq<m>.<n>/file<y>/pid |
| 371 |
Date: Sept 14, 2022 |
| 372 |
KernelVersion: 6.4.0 |
| 373 |
Contact: [email protected] |
| 374 |
Description: Show the process id of the application that opened the file. This is |
| 375 |
helpful information for a monitor daemon that wants to kill the |
| 376 |
application that opened the file. |