diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-06-09 23:43:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-12 12:01:03 +0200 |
commit | 709d0c3b3d4c385793fd12cc57e400c8e036e744 (patch) | |
tree | 38e58ac6063a02bdd59cff4eb947eac51f32c24a /Documentation/netlink/specs | |
parent | netlink: specs: ethtool: untangle UDP tunnels and cable test a bit (diff) | |
download | linux-709d0c3b3d4c385793fd12cc57e400c8e036e744.tar.xz linux-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/netlink/specs')
-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 |