mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-27 03:55:36 +00:00
bc53ebd4a0
Add a new TS_EXPERIMENTAL_ENABLE_FORWARDING_OPTIMIZATIONS env var that can be set for tailscale/tailscale container running as a subnet router or exit node to enable UDP GRO forwarding for improved performance. See https://tailscale.com/kb/1320/performance-best-practices#linux-optimizations-for-subnet-routers-and-exit-nodes This is currently considered an experimental approach; the configuration support is partially to allow further experimentation with containerized environments to evaluate the performance improvements. Updates tailscale/tailscale#12295 Signed-off-by: Irbe Krumina <irbe@tailscale.com>
19 lines
539 B
Go
19 lines
539 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
//go:build !linux
|
|
|
|
package netkernelconf
|
|
|
|
// CheckUDPGROForwarding is unimplemented for non-Linux platforms. Refer to the
|
|
// docstring in _linux.go.
|
|
func CheckUDPGROForwarding(tunInterface, defaultRouteInterface string) (warn, err error) {
|
|
return nil, nil
|
|
}
|
|
|
|
// SetUDPGROForwarding is unimplemented for non-Linux platforms. Refer to the
|
|
// docstring in _linux.go.
|
|
func SetUDPGROForwarding(tunInterface, defaultRouteInterface string) error {
|
|
return nil
|
|
}
|