diff options
author | Jakub Sitnicki <[email protected]> | 2024-08-08 11:56:21 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-08-09 21:58:08 -0700 |
commit | 2b2bc3bab158b7e036508742b16cd8a3c2f59a12 (patch) | |
tree | bae0e4315685c859399c6c7c6d77b7c096c8bc9a /tools/perf/scripts/python/netdev-times.py | |
parent | 3a3be7ff9224f424e485287b54be00d2c6bd9c40 (diff) |
net: Make USO depend on CSUM offload
UDP segmentation offload inherently depends on checksum offload. It should
not be possible to disable checksum offload while leaving USO enabled.
Enforce this dependency in code.
There is a single tx-udp-segmentation feature flag to indicate support for
both IPv4/6, hence the devices wishing to support USO must offer checksum
offload for both IP versions.
Fixes: 10154dbded6d ("udp: Allow GSO transmit from devices with no checksum offload")
Suggested-by: Willem de Bruijn <[email protected]>
Signed-off-by: Jakub Sitnicki <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Link: https://patch.msgid.link/20240808-udp-gso-egress-from-tunnel-v4-1-f5c5b4149ab9@cloudflare.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions