Commit 709d0c3b authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller
Browse files

netlink: specs: ethtool: untangle stats-get



Code gen for stats is a bit of a challenge, but from looking
at the attrs I think that the format isn't quite right.

Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 37c85222
Loading
Loading
Loading
Loading
+17 −4
Original line number Diff line number Diff line
@@ -793,16 +793,29 @@ attribute-sets:
        type: u32
      -
        name: stat
        type: nest
        nested-attributes: u64
        type: u64
        type-value: [ id ]
      -
        name: hist-rx
        type: nest
        nested-attributes: u64
        nested-attributes: stats-grp-hist
      -
        name: hist-tx
        type: nest
        nested-attributes: u64
        nested-attributes: stats-grp-hist
      -
        name: hist-bkt-low
        type: u32
      -
        name: hist-bkt-hi
        type: u32
      -
        name: hist-val
        type: u64
  -
    name: stats-grp-hist
    subset-of: stats-grp
    attributes:
      -
        name: hist-bkt-low
        type: u32