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 <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 540201c commit beb3c5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)