Commit 0684f29a authored by Jakub Kicinski's avatar Jakub Kicinski

netlink: specs: correct types of legacy arrays

ethtool has some attrs which dump multiple scalars into
an attribute. The spec currently expects one attr per entry.

Fixes: a353318e ("tools: ynl: populate most of the ethtool spec")
Acked-by: default avatarStanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/r/20230526220653.65538-1-kuba@kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 36936a56
...@@ -60,22 +60,6 @@ attribute-sets: ...@@ -60,22 +60,6 @@ attribute-sets:
type: nest type: nest
nested-attributes: bitset-bits nested-attributes: bitset-bits
-
name: u64-array
attributes:
-
name: u64
type: nest
multi-attr: true
nested-attributes: u64
-
name: s32-array
attributes:
-
name: s32
type: nest
multi-attr: true
nested-attributes: s32
- -
name: string name: string
attributes: attributes:
...@@ -705,16 +689,16 @@ attribute-sets: ...@@ -705,16 +689,16 @@ attribute-sets:
type: u8 type: u8
- -
name: corrected name: corrected
type: nest type: binary
nested-attributes: u64-array sub-type: u64
- -
name: uncorr name: uncorr
type: nest type: binary
nested-attributes: u64-array sub-type: u64
- -
name: corr-bits name: corr-bits
type: nest type: binary
nested-attributes: u64-array sub-type: u64
- -
name: fec name: fec
attributes: attributes:
...@@ -827,8 +811,8 @@ attribute-sets: ...@@ -827,8 +811,8 @@ attribute-sets:
type: u32 type: u32
- -
name: index name: index
type: nest type: binary
nested-attributes: s32-array sub-type: s32
- -
name: module name: module
attributes: attributes:
......
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