summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-04-14 14:18:50 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-25 10:50:55 +0200
commitf9e6bff87eb06dd3706ba42bf0224d4fa33d5f41 (patch)
treee1d9dee358df67f6a3b968f0e9ea013f19fa5def /Documentation
parentff24b6cd97a05e561ee92c4d52aa8d6d60c40e72 (diff)
downloadlinux-f9e6bff87eb06dd3706ba42bf0224d4fa33d5f41.tar.gz
linux-f9e6bff87eb06dd3706ba42bf0224d4fa33d5f41.tar.bz2
linux-f9e6bff87eb06dd3706ba42bf0224d4fa33d5f41.zip
netlink: specs: rt-link: adjust mctp attribute naming
[ Upstream commit beb3c5ad8829b52057f48a776a9d9558b98c157f ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/netlink/specs/rt_link.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/netlink/specs/rt_link.yaml b/Documentation/netlink/specs/rt_link.yaml
index 9f0ca05df0b9..78d3bec72f0e 100644
--- a/Documentation/netlink/specs/rt_link.yaml
+++ b/Documentation/netlink/specs/rt_link.yaml
@@ -2166,9 +2166,10 @@ attribute-sets:
type: u32
-
name: mctp-attrs
+ name-prefix: ifla-mctp-
attributes:
-
- name: mctp-net
+ name: net
type: u32
-
name: phys-binding