From: Jakub Kicinski Date: Fri, 9 Jun 2023 21:43:43 +0000 (-0700) Subject: netlink: specs: ethtool: untangle stats-get X-Git-Tag: v6.6.17~4555^2~112^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=709d0c3b3d4c385793fd12cc57e400c8e036e744;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: David S. Miller --- diff --git a/Documentation/netlink/specs/ethtool.yaml b/Documentation/netlink/specs/ethtool.yaml index 17b7b50..00c1ab0 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