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/wgengine/magicsock
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>
1 year ago
..
debughttp.go all: update copyright and license headers 1 year ago
debugknobs.go derp, derphttp, magicsock: send new unknown peer frame when destination is unknown (#7552) 1 year ago
debugknobs_stubs.go derp, derphttp, magicsock: send new unknown peer frame when destination is unknown (#7552) 1 year ago
discopingpurpose_string.go all: update copyright and license headers 1 year ago
magicsock.go net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 1 year ago
magicsock_default.go net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 1 year ago
magicsock_linux.go net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 1 year ago
magicsock_test.go net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 1 year ago
magicsock_unix_test.go all: update copyright and license headers 1 year ago
pathfinder.go all: update copyright and license headers 1 year ago