netlink: specs: rt_link: decode ip6tnl, vti and vti6 link attrs
authorJakub Kicinski <kuba@kernel.org>
Tue, 7 Jan 2025 02:28:20 +0000 (18:28 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 8 Jan 2025 02:07:53 +0000 (18:07 -0800)
commit6ffdbb93a59c60ee18bebd9acdbbca91e6bf0e64
treed553eab2fb333143f5108554d17491323c9145fc
parent7aae6505351e4c9fc2f3108d16fd06ce76f4b475
netlink: specs: rt_link: decode ip6tnl, vti and vti6 link attrs

Some of our tests load vti and ip6tnl so not being able to decode
the link attrs gets in the way of using Python YNL for testing.

Decode link attributes for ip6tnl, vti and vti6.

ip6tnl uses IFLA_IPTUN_FLAGS as u32, while ipv4 and sit expect
a u16 attribute, so we have a (first?) subset type override...

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250107022820.2087101-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/rt_link.yaml