1ACCEL-CONFIG-LIST(1) accfg Manual ACCEL-CONFIG-LIST(1)
2
3
4
6 accel-config-list - display the platform accfg device(s) topology and
7 attributes in json format
8
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
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":"0x1003f03ff",
35 "state":"enabled",
36 "max_read_buffers":64,
37 "max_batch_size":512,
38 "ims_size":256,
39 "max_transfer_size":2147483648,
40 "configurable":1,
41 "pasid_enabled":1,
42 "cdev_major":247,
43 "clients":2,
44 "groups":[
45 {
46 "dev":"group0.0",
47 "read_buffers_reserved":0,
48 "use_read_buffer_limit":0,
49 "read_buffers_allowed":0,
50 "traffic_class_a":-1,
51 "traffic_class_b":-1,
52 "grouped_workqueues":[
53 {
54 "dev":"wq0.0",
55 "mode":"shared",
56 "size":16,
57 "group_id":0,
58 "priority":10,
59 "block_on_fault":1,
60 "cdev_minor":0,
61 "type":"user",
62 "name":"app1",
63 "threshold":15,
64 "state":"enabled",
65 "clients":1
66 }
67 ],
68 "grouped_engines":[
69 {
70 "dev":"engine0.0",
71 "group_id":0
72 },
73 {
74 "dev":"engine0.1",
75 "group_id":0
76 }
77 ]
78 },
79 {
80 "dev":"group0.1",
81 "read_buffers_reserved":0,
82 "use_read_buffer_limit":0,
83 "read_buffers_allowed":0,
84 "traffic_class_a":-1,
85 "traffic_class_b":-1,
86 "grouped_workqueues":[
87 {
88 "dev":"wq0.1",
89 "mode":"dedicated",
90 "size":16,
91 "group_id":1,
92 "priority":10,
93 "block_on_fault":1,
94 "cdev_minor":1,
95 "type":"user",
96 "name":"app2",
97 "threshold":0,
98 "state":"enabled",
99 "clients":1
100 }
101 ],
102 "grouped_engines":[
103 {
104 "dev":"engine0.2",
105 "group_id":1
106 },
107 {
108 "dev":"engine0.3",
109 "group_id":1
110 }
111 ]
112 },
113 {
114 "dev":"group0.2",
115 "read_buffers_reserved":0,
116 "use_read_buffer_limit":0,
117 "read_buffers_allowed":0,
118 "traffic_class_a":-1,
119 "traffic_class_b":-1
120 },
121 {
122 "dev":"group0.3",
123 "read_buffers_reserved":0,
124 "use_read_buffer_limit":0,
125 "read_buffers_allowed":0,
126 "traffic_class_a":-1,
127 "traffic_class_b":-1
128 }
129 ]
130 }
131 ]
132 .ft
133
134
136 -d, --device=
137 listing by devices that reference the given device.
138
139 -g, --group=
140 An groupX.Y group name, or device id plus group id tuple X.Y. Limit
141 the group list to the single identified device if present.
142
143 -q, --workqueue=
144 An wqX.Y workqueue name, or device id plus workqueue id tuple X.Y.
145 Limit the workqueue list to the single identified device if
146 present.
147
148 -e, --engine=
149 An engineX.Y engine name, or device id plus engine id tuple X.Y.
150 Limit the engine list to the single identified device if present.
151
152 -D, --devices
153 Include device info in the listing
154
155 -G, --regions
156 Include group info in the listing
157
158 -Q, --workqueues
159 Include active workqueue info in the listing
160
161 -E, --engines
162 Include active engine info in the listing
163
164 TO BE CHANGED -i:: --idle:: Include both idle (not enabled) and active
165 devices in the listing
166
168 Copyright (c) 2016 - 2019, Intel Corporation. License GPLv2: GNU GPL
169 version 2 http://gnu.org/licenses/gpl.html. This is free software: you
170 are free to change and redistribute it. There is NO WARRANTY, to the
171 extent permitted by law.
172
173
174
175accfg 3.4.6.4 07/20/2022 ACCEL-CONFIG-LIST(1)