Skip to content

Commit 7049fd5

Browse files
Jiri Pirkokuba-moo
authored andcommitted
netlink: specs: remove redundant type keys from attributes in subsets
No longer needed to define type for subset attributes. Remove those. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20231006114436.1725425-3-jiri@resnulli.us Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent e18f3dc commit 7049fd5

File tree

3 files changed

+0
-21
lines changed

3 files changed

+0
-21
lines changed

Documentation/netlink/specs/devlink.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -199,54 +199,44 @@ attribute-sets:
199199
attributes:
200200
-
201201
name: reload-stats
202-
type: nest
203202
-
204203
name: remote-reload-stats
205-
type: nest
206204
-
207205
name: dl-reload-stats
208206
subset-of: devlink
209207
attributes:
210208
-
211209
name: reload-action-info
212-
type: nest
213210
-
214211
name: dl-reload-act-info
215212
subset-of: devlink
216213
attributes:
217214
-
218215
name: reload-action
219-
type: u8
220216
-
221217
name: reload-action-stats
222-
type: nest
223218
-
224219
name: dl-reload-act-stats
225220
subset-of: devlink
226221
attributes:
227222
-
228223
name: reload-stats-entry
229-
type: nest
230224
-
231225
name: dl-reload-stats-entry
232226
subset-of: devlink
233227
attributes:
234228
-
235229
name: reload-stats-limit
236-
type: u8
237230
-
238231
name: reload-stats-value
239-
type: u32
240232
-
241233
name: dl-info-version
242234
subset-of: devlink
243235
attributes:
244236
-
245237
name: info-version-name
246-
type: string
247238
-
248239
name: info-version-value
249-
type: string
250240

251241
operations:
252242
enum-model: directional

Documentation/netlink/specs/dpll.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -278,36 +278,28 @@ attribute-sets:
278278
attributes:
279279
-
280280
name: parent-id
281-
type: u32
282281
-
283282
name: direction
284-
type: u32
285283
-
286284
name: prio
287-
type: u32
288285
-
289286
name: state
290-
type: u32
291287
-
292288
name: pin-parent-pin
293289
subset-of: pin
294290
attributes:
295291
-
296292
name: parent-id
297-
type: u32
298293
-
299294
name: state
300-
type: u32
301295
-
302296
name: frequency-range
303297
subset-of: pin
304298
attributes:
305299
-
306300
name: frequency-min
307-
type: u64
308301
-
309302
name: frequency-max
310-
type: u64
311303

312304
operations:
313305
enum-name: dpll_cmd

Documentation/netlink/specs/ethtool.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -818,13 +818,10 @@ attribute-sets:
818818
attributes:
819819
-
820820
name: hist-bkt-low
821-
type: u32
822821
-
823822
name: hist-bkt-hi
824-
type: u32
825823
-
826824
name: hist-val
827-
type: u64
828825
-
829826
name: stats
830827
attributes:

0 commit comments

Comments
 (0)