diff options
| author | David S. Miller <davem@davemloft.net> | 2022-01-28 14:43:48 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2022-01-28 14:43:48 +0000 |
| commit | 960b00336bab06498c7f24cbb62b1f1b8a0acca0 (patch) | |
| tree | 19447349db0684df3a1b665c17c0f272c01b8e58 /include/linux | |
| parent | 1a918a32cd1fbb3789e80d0d801533d1b9516b24 (diff) | |
| parent | b370517e5233c42925911d1ac805e512c47dbc01 (diff) | |
| download | cachepc-linux-960b00336bab06498c7f24cbb62b1f1b8a0acca0.tar.gz cachepc-linux-960b00336bab06498c7f24cbb62b1f1b8a0acca0.zip | |
Merge branch 'ethtool-hdrsplit'
Jakub Kicinski says:
====================
ethtool: add header/data split indication
TCP ZC Rx requires data to be placed neatly into pages, separate
from the networking headers. This is not supported by most devices
so to make deployment easy this set adds a way for the driver to
report support for this feature thru ethtool.
The larger scope of configuring splitting headers and data, or DMA
scatter seems dauntingly broad, so this set focuses specifically
on the question "is this device usable with TCP ZC Rx?".
The aim is to avoid a litany of conditions on HW platforms, features,
and firmware versions in orchestration systems when the drivers can
easily tell their SG config.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ethtool.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index 11efc45de66a..e0853f48b75e 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h @@ -70,9 +70,11 @@ enum { /** * struct kernel_ethtool_ringparam - RX/TX ring configuration * @rx_buf_len: Current length of buffers on the rx ring. + * @tcp_data_split: Scatter packet headers and data to separate buffers */ struct kernel_ethtool_ringparam { u32 rx_buf_len; + u8 tcp_data_split; }; /** |
