1ACCEL-CONFIG-LIST(1)             accfg Manual             ACCEL-CONFIG-LIST(1)
2
3
4

NAME

6       accel-config-list - display the platform accfg device(s) topology and
7       attributes in json format
8

SYNOPSIS

10       accel-config list [<options>]
11
12       List all the active DSA devices discovered by the driver and the driver
13       exported attributes.
14
15       Options can be specified to limit the output to devices of a certain
16       grouping where the grouping are devices, groups, work queues and
17       engines. By default, accel-config list with no options is equivalent
18       to:
19
20       accel-config list --devices --engines --groups --workqueues
21

EXAMPLE

23           .ft C
24           # accel-config list
25           [
26             {
27               "dev":"dsa0",
28               "read_buffer_limit":0,
29               "max_groups":4,
30               "max_work_queues":8,
31               "max_engines":4,
32               "work_queue_size":64,
33               "numa_node":-1,
34               "op_cap":"00000000,00000000,00000000,00000000,00000000,00000000,00fc00ff,003f03ff",
35               "gen_cap":"0x1833f215f",
36               "version":"0x100",
37               "state":"enabled",
38               "max_read_buffers":64,
39               "max_batch_size":512,
40               "max_transfer_size":2147483648,
41               "configurable":1,
42               "pasid_enabled":1,
43               "cdev_major":511,
44               "clients":0,
45               "groups":[
46                 {
47                   "dev":"group0.0",
48                   "read_buffers_reserved":0,
49                   "use_read_buffer_limit":0,
50                   "read_buffers_allowed":8,
51                   "traffic_class_a":0,
52                   "traffic_class_b":1,
53                   "grouped_workqueues":[
54                     {
55                       "dev":"wq0.0",
56                       "mode":"dedicated",
57                       "size":16,
58                       "group_id":0,
59                       "priority":10,
60                       "block_on_fault":1,
61                       "max_batch_size":32,
62                       "max_transfer_size":2097152,
63                       "cdev_minor":1,
64                       "type":"user",
65                       "name":"app1",
66                       "threshold":0,
67                       "ats_disable":0,
68                       "op_config":"00000000,00000000,00000000,00000000,00000000,00000000,00fc00ff,003f03ff",
69                       "state":"enabled",
70                       "clients":0
71                     }
72                   ],
73                   "grouped_engines":[
74                     {
75                       "dev":"engine0.0",
76                       "group_id":0
77                     },
78                     {
79                       "dev":"engine0.1",
80                       "group_id":0
81                     }
82                   ]
83                 },
84                 {
85                   "dev":"group0.1",
86                   "read_buffers_reserved":0,
87                   "use_read_buffer_limit":0,
88                   "read_buffers_allowed":8,
89                   "traffic_class_a":0,
90                   "traffic_class_b":1,
91                   "grouped_workqueues":[
92                     {
93                       "dev":"wq0.1",
94                       "mode":"dedicated",
95                       "size":16,
96                       "group_id":1,
97                       "priority":10,
98                       "block_on_fault":1,
99                       "max_batch_size":16,
100                       "max_transfer_size":65536,
101                       "cdev_minor":0,
102                       "type":"user",
103                       "name":"app2",
104                       "threshold":0,
105                       "ats_disable":0,
106                       "op_config":"00000000,00000000,00000000,00000000,00000000,00000000,00fc00ff,003f03ff",
107                       "state":"enabled",
108                       "clients":0
109                     }
110                   ],
111                   "grouped_engines":[
112                     {
113                       "dev":"engine0.2",
114                       "group_id":1
115                     },
116                     {
117                       "dev":"engine0.3",
118                       "group_id":1
119                     }
120                   ]
121                 },
122                 {
123                   "dev":"group0.2",
124                   "read_buffers_reserved":0,
125                   "use_read_buffer_limit":0,
126                   "read_buffers_allowed":8,
127                   "traffic_class_a":0,
128                   "traffic_class_b":1
129                 },
130                 {
131                   "dev":"group0.3",
132                   "read_buffers_reserved":0,
133                   "use_read_buffer_limit":0,
134                   "read_buffers_allowed":8,
135                   "traffic_class_a":0,
136                   "traffic_class_b":1
137                 }
138               ]
139             }
140           ]
141           .ft
142
143

OPTIONS

145       -d, --device=
146           listing by devices that reference the given device.
147
148       -g, --group=
149           An groupX.Y group name, or device id plus group id tuple X.Y. Limit
150           the group list to the single identified device if present.
151
152       -q, --workqueue=
153           An wqX.Y workqueue name, or device id plus workqueue id tuple X.Y.
154           Limit the workqueue list to the single identified device if
155           present.
156
157       -e, --engine=
158           An engineX.Y engine name, or device id plus engine id tuple X.Y.
159           Limit the engine list to the single identified device if present.
160
161       -D, --devices
162           Include device info in the listing
163
164       -G, --regions
165           Include group info in the listing
166
167       -Q, --workqueues
168           Include active workqueue info in the listing
169
170       -E, --engines
171           Include active engine info in the listing
172
173       -i, --idle
174           Include both idle (not enabled) and active devices in the listing
175
177       Copyright (c) 2016 - 2019, Intel Corporation. License GPLv2: GNU GPL
178       version 2 http://gnu.org/licenses/gpl.html. This is free software: you
179       are free to change and redistribute it. There is NO WARRANTY, to the
180       extent permitted by law.
181
182
183
184accfg 4.0                         07/19/2023              ACCEL-CONFIG-LIST(1)
Impressum