Skip to content

Commit

Permalink
Merge pull request #811 from TrekkieCoder/main
Browse files Browse the repository at this point in the history
PR: enhancements for handling crc32
  • Loading branch information
UltraInstinct14 authored Sep 26, 2024
2 parents d6a4bba + 0a40530 commit 6016f53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion loxilb-ebpf
2 changes: 1 addition & 1 deletion options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)"`
Expand Down
2 changes: 1 addition & 1 deletion pkg/loxinet/loxinet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6016f53

Please sign in to comment.