Skip to contentSkip to conversation

netlink-specs: add rx-push to ethtool family

PATCH Applied Jakub Kicinski 3 participants 3 messages Feb 14, 2023 – Feb 15, 2023

Subsystems (4)
lore
Share & tools
lore

Jakub Kicinski

author maintainer
#0 lore raw

PATCH 1/1 netlink-specs: add rx-push to ethtool family

Commit 5b4e9a7a71ab ("net: ethtool: extend ringparam set/get APIs for rx_push") added a new attr for configuring rx-push, right after tx-push.
Add it to the spec, the ring param operation is covered by
the otherwise sparse ethtool spec.

---
Cc: Shannon Nelson <[email protected]>

---
 Documentation/netlink/specs/ethtool.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/netlink/specs/ethtool.yaml +5 -0
index 82f4e6f8ddd3..08b776908d15 100644
@@ -171,6 +171,9 @@ doc: Partial family for Ethtool Netlink.
       -
         name: tx-push
         type: u8
+      -
+        name: rx-push
+        type: u8
 
   -
     name: mm-stat
@@ -320,6 +323,7 @@ doc: Partial family for Ethtool Netlink.
             - tcp-data-split
             - cqe-size
             - tx-push
+            - rx-push
       dump: *ring-get-op
     -
       name: rings-set
@@ -339,6 +343,7 @@ doc: Partial family for Ethtool Netlink.
             - tcp-data-split
             - cqe-size
             - tx-push
+            - rx-push
     -
       name: rings-ntf
       doc: Notification for change in ring params.
Signature · 1 line
2.39.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Jakub Kicinski

Commit 5b4e9a7a71ab ("net: ethtool: extend ringparam set/get APIs for rx_push") added a new attr for configuring rx-push, right after tx-push.
Add it to the spec, the ring param operation is covered by
the otherwise sparse ethtool spec.

Thanks for catching that

Quoted 41 lines

---
Cc: Shannon Nelson <[email protected]>

---
  Documentation/netlink/specs/ethtool.yaml | 5 +++++
  1 file changed, 5 insertions(+)
Documentation/netlink/specs/ethtool.yaml +5 -1
index 82f4e6f8ddd3..08b776908d15 100644
@@ -171,6 +171,9 @@ doc: Partial family for Ethtool Netlink.
        -
          name: tx-push
          type: u8
+      -
+        name: rx-push
+        type: u8
 
    -
      name: mm-stat
@@ -320,6 +323,7 @@ doc: Partial family for Ethtool Netlink.
              - tcp-data-split
              - cqe-size
              - tx-push
+            - rx-push
        dump: *ring-get-op
      -
        name: rings-set
@@ -339,6 +343,7 @@ doc: Partial family for Ethtool Netlink.
              - tcp-data-split
              - cqe-size
              - tx-push
+            - rx-push
      -
        name: rings-ntf
        doc: Notification for change in ring params.
--

2.39.1

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

Hello:

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

Quoted 8 lines · On Mon, 13 Feb 2023 20:32:46 -0800 you wrote:

Commit 5b4e9a7a71ab ("net: ethtool: extend ringparam set/get APIs for rx_push") added a new attr for configuring rx-push, right after tx-push.
Add it to the spec, the ring param operation is covered by
the otherwise sparse ethtool spec.

[...]

Here is the summary with links:
- [net-next] netlink-specs: add rx-push to ethtool family

    https://git.kernel.org/netdev/net-next/c/1ed32ad4a3cb

You are awesome, thank you!

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