Skip to contentSkip to conversation

netlink: specs: add phys-binding attr to rt_link spec

PATCH Applied Donald Hunter 3 participants 3 messages Dec 13, 2024 – Dec 17, 2024

Subsystems (3)
lore
Share & tools
lore

Donald Hunter

author maintainer
#0 lore raw

PATCH 1/1 netlink: specs: add phys-binding attr to rt_link spec

Add the missing phys-binding attr to the mctp-attrs in the rt_link spec. This fixes commit 580db513b4a9 ("net: mctp: Expose transport binding identifier via IFLA attribute").

Note that enum mctp_phys_binding is not currently uapi, but perhaps it should be?

---
 Documentation/netlink/specs/rt_link.yaml | 3 +++
 1 file changed, 3 insertions(+)
Documentation/netlink/specs/rt_link.yaml +3 -0
index 9ffa13b77dcf..96465376d6fe 100644
@@ -2086,6 +2086,9 @@ attribute-sets:
       -
         name: mctp-net
         type: u32
+      -
+        name: phys-binding
+        type: u8
   -
     name: stats-attrs
     name-prefix: ifla-stats-
Signature · 1 line
2.47.1
#1 lore raw
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Fri, 13 Dec 2024 11:25:50 +0000 you wrote:

Add the missing phys-binding attr to the mctp-attrs in the rt_link spec. This fixes commit 580db513b4a9 ("net: mctp: Expose transport binding identifier via IFLA attribute").

Note that enum mctp_phys_binding is not currently uapi, but perhaps it should be?

[...]

Here is the summary with links:
- [net-next,v1] netlink: specs: add phys-binding attr to rt_link spec

    https://git.kernel.org/netdev/net-next/c/4fe205539c46

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
maintainer
#2 lore raw
In reply to Donald Hunter
Quoted 2 lines · On Fri, 13 Dec 2024 11:25:50 +0000 Donald Hunter wrote:

Note that enum mctp_phys_binding is not currently uapi, but perhaps it should be?

FWIW I think the values are defined by a DMTF standard, but we could list them. No strong preference.