ethtool: add tx aggregation parameters
authorDaniele Palmas <dnlplm@gmail.com>
Wed, 11 Jan 2023 13:05:18 +0000 (14:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Jan 2023 10:23:52 +0000 (10:23 +0000)
commit31de2842399ae68c4b2887ffeaedebb7934f343e
tree4724781a23083261837ba31f5a98e0cc8f84da05
parent9a06cce6e3118036e73efa8cef0005a1a94f9fe0
ethtool: add tx aggregation parameters

Add the following ethtool tx aggregation parameters:

ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES
Maximum size in bytes of a tx aggregated block of frames.

ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES
Maximum number of frames that can be aggregated into a block.

ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS
Time in usecs after the first packet arrival in an aggregated
block for the block to be sent.

Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ethtool-netlink.rst
include/linux/ethtool.h
include/uapi/linux/ethtool_netlink.h
net/ethtool/coalesce.c