diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-06-09 14:43:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-12 11:01:03 +0100 |
commit | 709d0c3b3d4c385793fd12cc57e400c8e036e744 (patch) | |
tree | 38e58ac6063a02bdd59cff4eb947eac51f32c24a /Documentation | |
parent | 37c852222712e1968da858961709a179150acd41 (diff) | |
download | linux-stable-709d0c3b3d4c385793fd12cc57e400c8e036e744.tar.gz linux-stable-709d0c3b3d4c385793fd12cc57e400c8e036e744.tar.bz2 linux-stable-709d0c3b3d4c385793fd12cc57e400c8e036e744.zip |
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: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/netlink/specs/ethtool.yaml | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/Documentation/netlink/specs/ethtool.yaml b/Documentation/netlink/specs/ethtool.yaml index 17b7b5028e2b..00c1ab04b857 100644 --- a/Documentation/netlink/specs/ethtool.yaml +++ b/Documentation/netlink/specs/ethtool.yaml @@ -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 |