aboutsummaryrefslogtreecommitdiff
path: root/Documentation/netlink
diff options
context:
space:
mode:
authorGravatar Shay Agroskin <shayagr@amazon.com> 2023-03-23 18:36:05 +0200
committerGravatar Jakub Kicinski <kuba@kernel.org> 2023-03-27 19:49:58 -0700
commit233eb4e786b57ea686b51c13a04cc2839fd682fc (patch)
tree7775d4a7c08243c24b1afabe7f6254be88f6e3a3 /Documentation/netlink
parentnetlink: Add a macro to set policy message with format string (diff)
downloadlinux-233eb4e786b57ea686b51c13a04cc2839fd682fc.tar.gz
linux-233eb4e786b57ea686b51c13a04cc2839fd682fc.tar.bz2
linux-233eb4e786b57ea686b51c13a04cc2839fd682fc.zip
ethtool: Add support for configuring tx_push_buf_len
This attribute, which is part of ethtool's ring param configuration allows the user to specify the maximum number of the packet's payload that can be written directly to the device. Example usage: # ethtool -G [interface] tx-push-buf-len [number of bytes] Co-developed-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Shay Agroskin <shayagr@amazon.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/netlink')
-rw-r--r--Documentation/netlink/specs/ethtool.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/netlink/specs/ethtool.yaml b/Documentation/netlink/specs/ethtool.yaml
index 4727c067e2ba..6d8ae3d9a680 100644
--- a/Documentation/netlink/specs/ethtool.yaml
+++ b/Documentation/netlink/specs/ethtool.yaml
@@ -165,6 +165,12 @@ attribute-sets:
-
name: rx-push
type: u8
+ -
+ name: tx-push-buf-len
+ type: u32
+ -
+ name: tx-push-buf-len-max
+ type: u32
-
name: mm-stat
@@ -311,6 +317,8 @@ operations:
- cqe-size
- tx-push
- rx-push
+ - tx-push-buf-len
+ - tx-push-buf-len-max
dump: *ring-get-op
-
name: rings-set