mirror of
https://git.zx2c4.com/wireguard-go
synced 2024-11-15 01:05:15 +01:00
6a84778f2c
StdNetBind probes for UDP GSO and GRO support 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.
The iperf3 results below demonstrate the effect of this commit between
two Linux computers with i5-12400 CPUs. There is roughly ~13us of round
trip latency between them.
The first result is from commit
|
||
---|---|---|
.. | ||
bindtest | ||
winrio | ||
bind_std_test.go | ||
bind_std.go | ||
bind_windows.go | ||
boundif_android.go | ||
conn_test.go | ||
conn.go | ||
control_default.go | ||
control_linux_test.go | ||
control_linux.go | ||
controlfns_linux.go | ||
controlfns_unix.go | ||
controlfns_windows.go | ||
controlfns.go | ||
default.go | ||
errors_default.go | ||
errors_linux.go | ||
features_default.go | ||
features_linux.go | ||
mark_default.go | ||
mark_unix.go |