]> www.infradead.org Git - users/dwmw2/linux.git/commit
ynl: rename array-nest to indexed-array
authorHangbin Liu <liuhangbin@gmail.com>
Thu, 4 Apr 2024 06:31:12 +0000 (14:31 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 6 Apr 2024 05:32:49 +0000 (22:32 -0700)
commitaa6485d813ad6d884d23e1e9cf3913be29a1f229
tree673695b5e1b1500a49b331b4476d23c81fb6a77f
parentf410cbea9f3d2675b4c8e52af1d1985b11b387d1
ynl: rename array-nest to indexed-array

Some implementations, like bonding, has nest array with same attr type.
To support all kinds of entries under one nest array. As discussed[1],
let's rename array-nest to indexed-array, and assuming the value is
a nest by passing the type via sub-type.

[1] https://lore.kernel.org/netdev/20240312100105.16a59086@kernel.org/

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://lore.kernel.org/r/20240404063114.1221532-2-liuhangbin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/genetlink-c.yaml
Documentation/netlink/genetlink-legacy.yaml
Documentation/netlink/genetlink.yaml
Documentation/netlink/netlink-raw.yaml
Documentation/netlink/specs/nlctrl.yaml
Documentation/netlink/specs/rt_link.yaml
Documentation/netlink/specs/tc.yaml
Documentation/userspace-api/netlink/genetlink-legacy.rst
tools/net/ynl/lib/ynl.py
tools/net/ynl/ynl-gen-c.py