Skip to contentSkip to conversation

doc/netlink/specs: Add missing attr in rt_link spec

PATCH Applied Donald Hunter 3 participants 3 messages Feb 1, 2024

Subsystems (3)
lore
Share & tools
lore

Donald Hunter

author maintainer
#0 lore raw

PATCH 1/1 doc/netlink/specs: Add missing attr in rt_link spec

IFLA_DPLL_PIN was added to rt_link messages but not to the spec, which breaks ynl. Add the missing definitions to the rt_link ynl spec.

Fixes 5f1842692880 ("netdev: expose DPLL pin handle for netdevice")
---
 Documentation/netlink/specs/rt_link.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)
Documentation/netlink/specs/rt_link.yaml +10 -0
index 1ad01d52a863..8e4d19adee8c 100644
@@ -942,6 +942,10 @@ attribute-sets:
       -
         name: gro-ipv4-max-size
         type: u32
+      -
+        name: dpll-pin
+        type: nest
+        nested-attributes: link-dpll-pin-attrs
   -
     name: af-spec-attrs
     attributes:
@@ -1627,6 +1631,12 @@ attribute-sets:
       -
         name: used
         type: u8
+  -
+    name: link-dpll-pin-attrs
+    attributes:
+      -
+        name: id
+        type: u32
 
 sub-messages:
   -
Signature · 1 line
2.42.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Thu, Feb 01, 2024 at 12:38:53PM CET, [email protected] wrote:

IFLA_DPLL_PIN was added to rt_link messages but not to the spec, which breaks ynl. Add the missing definitions to the rt_link ynl spec.

Fixes 5f1842692880 ("netdev: expose DPLL pin handle for netdevice")

Ah, sorry about this. I wonder how could we avoid this in the future.

#2 lore raw
In reply to Donald Hunter
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

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

Quoted 8 lines · On Thu, 1 Feb 2024 11:38:53 +0000 you wrote:

IFLA_DPLL_PIN was added to rt_link messages but not to the spec, which breaks ynl. Add the missing definitions to the rt_link ynl spec.

Fixes 5f1842692880 ("netdev: expose DPLL pin handle for netdevice")
---
 Documentation/netlink/specs/rt_link.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)

Here is the summary with links:
- [net,v1] doc/netlink/specs: Add missing attr in rt_link spec

    https://git.kernel.org/netdev/net/c/069a6ed2992d

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html