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>
This commit is contained in:
committed by
David S. Miller
parent
37c8522227
commit
709d0c3b3d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user