]> www.infradead.org Git - users/jedix/linux-maple.git/commit
netlink: specs: rt-link: remove implicit structs from devconf
authorJakub Kicinski <kuba@kernel.org>
Tue, 6 May 2025 19:41:00 +0000 (12:41 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 May 2025 01:21:50 +0000 (18:21 -0700)
commit720447bd0b24d2f0904eb4055e559fa9a8fe42ac
treeb620298bf6720d94f7e7ce476043f2421b92b6e2
parentab91c140bea9c2c23ee34ae831e06806e044a80e
netlink: specs: rt-link: remove implicit structs from devconf

devconf is even odder than SNMP. On input it reports an array of u32s
which seem to be indexed by the enum values - 1. On output kernel
expects a nest where each attr has the enum type as the nla type.

sub-type: u32 is probably best we can do right now.

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250506194101.696272-5-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/rt-link.yaml