diff --git a/loxilb-ebpf b/loxilb-ebpf index dc6cb12e8..696b6d18b 160000 --- a/loxilb-ebpf +++ b/loxilb-ebpf @@ -1 +1 @@ -Subproject commit dc6cb12e876c873241558f1bbb9cf3e353965bc5 +Subproject commit 696b6d18b29bca0a032f4353a814c8330ba89a8e diff --git a/options/options.go b/options/options.go index e334eb4a2..e139cec39 100644 --- a/options/options.go +++ b/options/options.go @@ -22,7 +22,7 @@ var Opts struct { LogLevel string `long:"loglevel" description:"One of debug,info,error,warning,notice,critical,emergency,alert" default:"debug"` CPUProfile string `long:"cpuprofile" description:"Enable cpu profiling and specify file to use" default:"none" env:"CPUPROF"` Prometheus bool `short:"p" long:"prometheus" description:"Run prometheus thread"` - CSumDisable bool `long:"disable-csum" description:"Disable checksum update(experimental)"` + CRC32SumDisable bool `long:"disable-crc32" description:"Disable crc32 checksum update(experimental)"` PassiveEPProbe bool `long:"passive-probe" description:"Enable passive liveness probes(experimental)"` RssEnable bool `long:"rss-enable" description:"Enable rss optimization(experimental)"` EgrHooks bool `long:"egr-hooks" description:"Enable eBPF egress hooks(experimental)"` diff --git a/pkg/loxinet/loxinet.go b/pkg/loxinet/loxinet.go index 65cb4586d..68386c64e 100644 --- a/pkg/loxinet/loxinet.go +++ b/pkg/loxinet/loxinet.go @@ -242,7 +242,7 @@ func loxiNetInit() { mh.self = opts.Opts.ClusterSelf mh.rssEn = opts.Opts.RssEnable mh.eHooks = opts.Opts.EgrHooks - mh.sumDis = opts.Opts.CSumDisable + mh.sumDis = opts.Opts.CRC32SumDisable mh.pProbe = opts.Opts.PassiveEPProbe mh.lSockPolicy = opts.Opts.LocalSockPolicy mh.sockMapEn = opts.Opts.SockMapSupport