Skip to content

Commit beb3c5a

Browse files
committed
netlink: specs: rt-link: adjust mctp attribute naming
MCTP attribute naming is inconsistent. In C we have: IFLA_MCTP_NET, IFLA_MCTP_PHYS_BINDING, ^^^^ but in YAML: - mctp-net - phys-binding ^ no "mctp" It's unclear whether the "mctp" part of the name is supposed to be a prefix or part of attribute name. Make it a prefix, seems cleaner, even tho technically phys-binding was added later. Fixes: b2f63d9 ("doc/netlink: Add spec for rt link messages") Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://patch.msgid.link/20250414211851.602096-8-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 540201c commit beb3c5a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Documentation/netlink/specs/rt_link.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2185,9 +2185,10 @@ attribute-sets:
21852185
type: u32
21862186
-
21872187
name: mctp-attrs
2188+
name-prefix: ifla-mctp-
21882189
attributes:
21892190
-
2190-
name: mctp-net
2191+
name: net
21912192
type: u32
21922193
-
21932194
name: phys-binding

0 commit comments

Comments
 (0)