Documentation
¶
Overview ¶
Package bigtcp provides helpers to probe and enable BIG TCP for the Linux datapath
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func SetGROGSOIPv4MaxSize ¶ added in v1.19.0
If an error is returned the caller is responsible for rolling back any partial changes.
Types ¶
type Config ¶
type Config interface {
Features
GetGROIPv6MaxSize() int
GetGSOIPv6MaxSize() int
GetGROIPv4MaxSize() int
GetGSOIPv4MaxSize() int
}
Config will never confuse anyone. After all, it is similar but not identical to bigtcp.Config.
type UserConfig ¶ added in v1.15.0
type UserConfig struct {
// EnableIPv6BIGTCP enables IPv6 BIG TCP (larger GSO/GRO limits) for the node including pods.
EnableIPv6BIGTCP bool
// EnableIPv4BIGTCP enables IPv4 BIG TCP (larger GSO/GRO limits) for the node including pods.
EnableIPv4BIGTCP bool
}
UserConfig are the configuration flags that the user can modify.
func (UserConfig) Flags ¶ added in v1.15.0
func (def UserConfig) Flags(flags *pflag.FlagSet)
func (UserConfig) IsIPv4Enabled ¶
func (def UserConfig) IsIPv4Enabled() bool
func (UserConfig) IsIPv6Enabled ¶
func (def UserConfig) IsIPv6Enabled() bool
Click to show internal directories.
Click to hide internal directories.