Skip to contentSkip to conversation

netlink: specs: devlink: fix reply command values

PATCH Applied Jiri Pirko 3 participants 4 messages Oct 12, 2023 – Oct 17, 2023

Subsystems (3)
lore
Share & tools
lore

Jiri Pirko

author
#0 lore raw

PATCH 1/1 netlink: specs: devlink: fix reply command values

From: Jiri Pirko <[email protected]>

Make sure that the command values used for replies are correct. This is only affecting generated userspace helpers, no change on kernel code.

Fixes 7199c86247e9 ("netlink: specs: devlink: add commands that do per-instance dump")
---
 Documentation/netlink/specs/devlink.yaml | 18 ++++----
 tools/net/ynl/generated/devlink-user.c   | 54 ++++++++++++------------
 2 files changed, 36 insertions(+), 36 deletions(-)
Documentation/netlink/specs/devlink.yaml +9 -9
index d1ebcd927149..065661acb878 100644
@@ -323,7 +323,7 @@ operations:
             - dev-name
             - sb-index
         reply: &sb-get-reply
-          value: 11
+          value: 13
           attributes: *sb-id-attrs
       dump:
         request:
@@ -350,7 +350,7 @@ operations:
             - sb-index
             - sb-pool-index
         reply: &sb-pool-get-reply
-          value: 15
+          value: 17
           attributes: *sb-pool-id-attrs
       dump:
         request:
@@ -378,7 +378,7 @@ operations:
             - sb-index
             - sb-pool-index
         reply: &sb-port-pool-get-reply
-          value: 19
+          value: 21
           attributes: *sb-port-pool-id-attrs
       dump:
         request:
@@ -407,7 +407,7 @@ operations:
             - sb-pool-type
             - sb-tc-index
         reply: &sb-tc-pool-bind-get-reply
-          value: 23
+          value: 25
           attributes: *sb-tc-pool-bind-id-attrs
       dump:
         request:
@@ -538,7 +538,7 @@ operations:
             - dev-name
             - trap-name
         reply: &trap-get-reply
-          value: 61
+          value: 63
           attributes: *trap-id-attrs
       dump:
         request:
@@ -564,7 +564,7 @@ operations:
             - dev-name
             - trap-group-name
         reply: &trap-group-get-reply
-          value: 65
+          value: 67
           attributes: *trap-group-id-attrs
       dump:
         request:
@@ -590,7 +590,7 @@ operations:
             - dev-name
             - trap-policer-id
         reply: &trap-policer-get-reply
-          value: 69
+          value: 71
           attributes: *trap-policer-id-attrs
       dump:
         request:
@@ -617,7 +617,7 @@ operations:
             - port-index
             - rate-node-name
         reply: &rate-get-reply
-          value: 74
+          value: 76
           attributes: *rate-id-attrs
       dump:
         request:
@@ -643,7 +643,7 @@ operations:
             - dev-name
             - linecard-index
         reply: &linecard-get-reply
-          value: 78
+          value: 80
           attributes: *linecard-id-attrs
       dump:
         request:
tools/net/ynl/generated/devlink-user.c +27 -27

172 lines not on this page · raw message

Signature · 1 line
2.41.0
#1 lore raw
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 9 lines · On Thu, 12 Oct 2023 13:58:11 +0200 you wrote:

From: Jiri Pirko <[email protected]>

Make sure that the command values used for replies are correct. This is only affecting generated userspace helpers, no change on kernel code.

Fixes 7199c86247e9 ("netlink: specs: devlink: add commands that do per-instance dump")

[...]

Here is the summary with links:
- [net] netlink: specs: devlink: fix reply command values

    https://git.kernel.org/netdev/net/c/0f4d44f6ee04

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
maintainer
#3 lore raw
Quoted 1 line · On Tue, 17 Oct 2023 09:15:14 +0200 Jiri Pirko wrote:

Guys, when do you plan to merge net into net-next?

Thursday night (your time).