diff options
author | 2023-12-12 15:27:51 +0100 | |
---|---|---|
committer | 2023-12-13 18:22:02 -0800 | |
commit | 50d73710715de7d1a2c88194562f520816af9c2a (patch) | |
tree | 1f1bf08821e86081e954cd1cd41e80ca44dba2c1 /rust/kernel/net.rs | |
parent | docs: networking: timestamping: mention MSG_EOR flag (diff) | |
download | linux-rng-50d73710715de7d1a2c88194562f520816af9c2a.tar.xz linux-rng-50d73710715de7d1a2c88194562f520816af9c2a.zip |
ethtool: add SET for TCP_DATA_SPLIT ringparam
Follow up commit 9690ae604290 ("ethtool: add header/data split
indication") and add the set part of Ethtool's header split, i.e.
ability to enable/disable header split via the Ethtool Netlink
interface. This might be helpful to optimize the setup for particular
workloads, for example, to avoid XDP frags, and so on.
A driver should advertise ``ETHTOOL_RING_USE_TCP_DATA_SPLIT`` in its
ops->supported_ring_params to allow doing that. "Unknown" passed from
the userspace when the header split is supported means the driver is
free to choose the preferred state.
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Link: https://lore.kernel.org/r/20231212142752.935000-2-aleksander.lobakin@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/kernel/net.rs')
0 files changed, 0 insertions, 0 deletions