Commit 7049fd5d authored by Jiri Pirko's avatar Jiri Pirko Committed by Jakub Kicinski
Browse files

netlink: specs: remove redundant type keys from attributes in subsets



No longer needed to define type for subset attributes. Remove those.

Signed-off-by: default avatarJiri Pirko <jiri@nvidia.com>
Reviewed-by: default avatarJakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20231006114436.1725425-3-jiri@resnulli.us


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent e18f3dc2
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -199,54 +199,44 @@ attribute-sets:
    attributes:
      -
        name: reload-stats
        type: nest
      -
        name: remote-reload-stats
        type: nest
  -
    name: dl-reload-stats
    subset-of: devlink
    attributes:
      -
        name: reload-action-info
        type: nest
  -
    name: dl-reload-act-info
    subset-of: devlink
    attributes:
      -
        name: reload-action
        type: u8
      -
        name: reload-action-stats
        type: nest
  -
    name: dl-reload-act-stats
    subset-of: devlink
    attributes:
      -
        name: reload-stats-entry
        type: nest
  -
    name: dl-reload-stats-entry
    subset-of: devlink
    attributes:
      -
        name: reload-stats-limit
        type: u8
      -
        name: reload-stats-value
        type: u32
  -
    name: dl-info-version
    subset-of: devlink
    attributes:
      -
        name: info-version-name
        type: string
      -
        name: info-version-value
        type: string

operations:
  enum-model: directional
+0 −8
Original line number Diff line number Diff line
@@ -278,36 +278,28 @@ attribute-sets:
    attributes:
      -
        name: parent-id
        type: u32
      -
        name: direction
        type: u32
      -
        name: prio
        type: u32
      -
        name: state
        type: u32
  -
    name: pin-parent-pin
    subset-of: pin
    attributes:
      -
        name: parent-id
        type: u32
      -
        name: state
        type: u32
  -
    name: frequency-range
    subset-of: pin
    attributes:
      -
        name: frequency-min
        type: u64
      -
        name: frequency-max
        type: u64

operations:
  enum-name: dpll_cmd
+0 −3
Original line number Diff line number Diff line
@@ -818,13 +818,10 @@ attribute-sets:
    attributes:
      -
        name: hist-bkt-low
        type: u32
      -
        name: hist-bkt-hi
        type: u32
      -
        name: hist-val
        type: u64
  -
    name: stats
    attributes: