netlink: specs: rt-link: decode ip6gre
authorJakub Kicinski <kuba@kernel.org>
Tue, 3 Jun 2025 13:53:57 +0000 (06:53 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 5 Jun 2025 10:50:10 +0000 (12:50 +0200)
commit8af7a919c52f02514a145f995cbdf0deadb8075a
treeb208fb108436e3a4eea310df5a759e79d47eb3aa
parentde92258e3b22bd4ce920715cc91f09d788e5badf
netlink: specs: rt-link: decode ip6gre

Driver tests now require GRE tunnels, while we don't configure
them with YNL, YNL will complain when it sees link types it
doesn't recognize. Teach it decoding ip6gre tunnels. The attrs
are largely the same as IPv4 GRE.

Correct the type of encap-limit, but note that this attr is
only used in ip6gre, so the mistake didn't matter until now.

Fixes: 0d0f4174f6c8 ("selftests: drv-net: add a simple TSO test")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250603135357.502626-3-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Documentation/netlink/specs/rt-link.yaml