netlink: specs: rt-link: adjust mctp attribute naming
authorJakub Kicinski <kuba@kernel.org>
Mon, 14 Apr 2025 21:18:50 +0000 (14:18 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Apr 2025 01:09:42 +0000 (18:09 -0700)
commitbeb3c5ad8829b52057f48a776a9d9558b98c157f
treef92b26c373bd7928674de852c7fd7d3555847f7b
parent540201c0ef7e8e7b169f68a238ade931a81a31a6
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: b2f63d904e72 ("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>
Documentation/netlink/specs/rt_link.yaml