From: Jakub Kicinski Date: Wed, 7 Jun 2023 20:23:53 +0000 (-0700) Subject: netlink: specs: devlink: fill in some details important for C X-Git-Tag: v6.5-rc1~163^2~149^2~10 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8947e503737138ff92323f99637d921451fe398a;p=tomoyo%2Ftomoyo-test1.git 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 --- diff --git a/Documentation/netlink/specs/devlink.yaml b/Documentation/netlink/specs/devlink.yaml index 90641668232e..5d46ca966979 100644 --- a/Documentation/netlink/specs/devlink.yaml +++ b/Documentation/netlink/specs/devlink.yaml @@ -9,6 +9,7 @@ doc: Partial family for Devlink. attribute-sets: - name: devlink + name-prefix: devlink-attr- attributes: - name: bus-name @@ -95,10 +96,12 @@ attribute-sets: - name: reload-action-info type: nest + multi-attr: true nested-attributes: dl-reload-act-info - name: reload-action-stats type: nest + multi-attr: true nested-attributes: dl-reload-act-stats - name: dl-dev-stats @@ -196,3 +199,8 @@ operations: attributes: - bus-name - dev-name + - info-driver-name + - info-serial-number + - info-version-fixed + - info-version-running + - info-version-stored