netlink: specs: devlink: fill in some details important for C
Python YNL is much more forgiving than the C code gen in terms of the spec completeness. Fill in a handful of devlink details to make the spec usable in C. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
449f6bc17a
commit
8947e50373
|
@ -9,6 +9,7 @@ doc: Partial family for Devlink.
|
||||||
attribute-sets:
|
attribute-sets:
|
||||||
-
|
-
|
||||||
name: devlink
|
name: devlink
|
||||||
|
name-prefix: devlink-attr-
|
||||||
attributes:
|
attributes:
|
||||||
-
|
-
|
||||||
name: bus-name
|
name: bus-name
|
||||||
|
@ -95,10 +96,12 @@ attribute-sets:
|
||||||
-
|
-
|
||||||
name: reload-action-info
|
name: reload-action-info
|
||||||
type: nest
|
type: nest
|
||||||
|
multi-attr: true
|
||||||
nested-attributes: dl-reload-act-info
|
nested-attributes: dl-reload-act-info
|
||||||
-
|
-
|
||||||
name: reload-action-stats
|
name: reload-action-stats
|
||||||
type: nest
|
type: nest
|
||||||
|
multi-attr: true
|
||||||
nested-attributes: dl-reload-act-stats
|
nested-attributes: dl-reload-act-stats
|
||||||
-
|
-
|
||||||
name: dl-dev-stats
|
name: dl-dev-stats
|
||||||
|
@ -196,3 +199,8 @@ operations:
|
||||||
attributes:
|
attributes:
|
||||||
- bus-name
|
- bus-name
|
||||||
- dev-name
|
- dev-name
|
||||||
|
- info-driver-name
|
||||||
|
- info-serial-number
|
||||||
|
- info-version-fixed
|
||||||
|
- info-version-running
|
||||||
|
- info-version-stored
|
||||||
|
|
Loading…
Reference in New Issue