diff options
author | Shay Agroskin <shayagr@amazon.com> | 2023-03-23 19:36:05 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-03-28 05:49:58 +0300 |
commit | 233eb4e786b57ea686b51c13a04cc2839fd682fc (patch) | |
tree | 7775d4a7c08243c24b1afabe7f6254be88f6e3a3 /Documentation/netlink | |
parent | 3e4d5ba9a3f85f21f1ebdee5a5901bb43389abc5 (diff) | |
download | linux-233eb4e786b57ea686b51c13a04cc2839fd682fc.tar.xz |
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.yaml | 8 |
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 |