ethtool: Add support for configuring tx_push_buf_len
authorShay Agroskin <shayagr@amazon.com>
Thu, 23 Mar 2023 16:36:05 +0000 (18:36 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 28 Mar 2023 02:49:58 +0000 (19:49 -0700)
commit233eb4e786b57ea686b51c13a04cc2839fd682fc
tree7775d4a7c08243c24b1afabe7f6254be88f6e3a3
parent3e4d5ba9a3f85f21f1ebdee5a5901bb43389abc5
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>
Documentation/netlink/specs/ethtool.yaml
Documentation/networking/ethtool-netlink.rst
include/linux/ethtool.h
include/uapi/linux/ethtool_netlink.h
net/ethtool/netlink.h
net/ethtool/rings.c