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

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
...@@ -793,16 +793,29 @@ attribute-sets: ...@@ -793,16 +793,29 @@ attribute-sets:
type: u32 type: u32
- -
name: stat name: stat
type: nest type: u64
nested-attributes: u64 type-value: [ id ]
- -
name: hist-rx name: hist-rx
type: nest type: nest
nested-attributes: u64 nested-attributes: stats-grp-hist
- -
name: hist-tx name: hist-tx
type: nest 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 name: hist-bkt-low
type: u32 type: u32
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment