fix: turn on ethtool gso by default (#20753)

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
Jian Qiu
2024-07-08 21:30:01 +08:00
committed by GitHub
co-authored by Qiu Jian
parent 6c4f4cb53f
commit 70eea30d9e
+1 -1
View File
@@ -190,7 +190,7 @@ type SHostOptions struct {
AMDVgpuPFs []string `help:"amd vgpu pf pci addresses"`
NVIDIAVgpuPFs []string `help:"nvidia vgpu pf pci addresses"`
EthtoolEnableGso bool `help:"use ethtool to turn on or off GSO(generic segment offloading)" default:"false" json:"ethtool_enable_gso"`
EthtoolEnableGso bool `help:"use ethtool to turn on or off GSO(generic segment offloading)" default:"true" json:"ethtool_enable_gso"`
EthtoolEnableGsoInterfaces []string `help:"use ethtool to turn on GSO for the specific interfaces" json:"ethtool_enable_gso_interfaces"`
EthtoolDisableGsoInterfaces []string `help:"use ethtool to turn off GSO for the specific interfaces" json:"ethtool_disable_gso_interfaces"`