summaryrefslogtreecommitdiffhomepage
path: root/wgengine/magicsock/debugknobs.go
diff options
context:
space:
mode:
authorJordan Whited <jordan@tailscale.com>2023-04-04 16:32:16 -0700
committerGitHub <noreply@github.com>2023-04-04 16:32:16 -0700
commitf475e5550cd92aee0cb81f96e808ae2f3b34ecbf (patch)
treec7560639add4cb079086233807b1196b887703aa /wgengine/magicsock/debugknobs.go
parent45138fcfbaaf35c9d8e9f39c524423adb471f7cf (diff)
downloadtailscale-f475e5550cd92aee0cb81f96e808ae2f3b34ecbf.tar.xz
tailscale-f475e5550cd92aee0cb81f96e808ae2f3b34ecbf.zip
net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791)
This commit implements UDP offloading for Linux. GSO size is passed to and from the kernel via socket control messages. Support is probed at runtime. UDP GSO is dependent on checksum offload support on the egress netdev. UDP GSO will be disabled in the event sendmmsg() returns EIO, which is a strong signal that the egress netdev does not support checksum offload. Updates tailscale/corp#8734 Signed-off-by: Jordan Whited <jordan@tailscale.com>
Diffstat (limited to 'wgengine/magicsock/debugknobs.go')
0 files changed, 0 insertions, 0 deletions