You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net/neterror
Jordan Whited f475e5550c
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>
2 years ago
..
neterror.go net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 2 years ago
neterror_linux.go net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 2 years ago
neterror_linux_test.go
neterror_windows.go