1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 protocol: genetlink-legacy
7 doc: Partial family for Devlink.
12 name-prefix: devlink-attr-
25 # TODO: fill in the attributes in between
28 name: info-driver-name
32 name: info-serial-number
35 name: info-version-fixed
38 nested-attributes: dl-info-version
40 name: info-version-running
43 nested-attributes: dl-info-version
45 name: info-version-stored
48 nested-attributes: dl-info-version
50 name: info-version-name
53 name: info-version-value
56 # TODO: fill in the attributes in between
63 # TODO: fill in the attributes in between
70 # TODO: fill in the attributes in between
76 nested-attributes: dl-dev-stats
80 nested-attributes: dl-reload-stats
82 name: reload-stats-entry
85 nested-attributes: dl-reload-stats-entry
87 name: reload-stats-limit
90 name: reload-stats-value
93 name: remote-reload-stats
95 nested-attributes: dl-reload-stats
97 name: reload-action-info
100 nested-attributes: dl-reload-act-info
102 name: reload-action-stats
105 nested-attributes: dl-reload-act-stats
114 name: remote-reload-stats
117 name: dl-reload-stats
121 name: reload-action-info
124 name: dl-reload-act-info
131 name: reload-action-stats
134 name: dl-reload-act-stats
138 name: reload-stats-entry
141 name: dl-reload-stats-entry
145 name: reload-stats-limit
148 name: reload-stats-value
151 name: dl-info-version
155 name: info-version-name
158 name: info-version-value
162 enum-model: directional
166 doc: Get devlink instances.
167 attribute-set: devlink
172 attributes: &dev-id-attrs
186 # TODO: fill in the operations in between
190 doc: Get device information, like driver name, hardware and firmware versions etc.
191 attribute-set: devlink
196 attributes: *dev-id-attrs
197 reply: &info-get-reply
205 - info-version-running
206 - info-version-stored
208 reply: *info-get-reply