Skip to content

Commit

Permalink
fix: eni slot counting
Browse files Browse the repository at this point in the history
Signed-off-by: l1b0k <[email protected]>
  • Loading branch information
l1b0k committed Jan 16, 2025
1 parent 4745a95 commit 9c2bf6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -1097,6 +1097,7 @@ func newNetworkService(ctx context.Context, configFilePath, daemonMode string) (
serviceLog.V(5).Info("found attached eni", "eni", ni)
if config.EnableENITrunking && ni.Trunk && trunkENIID == ni.ID {
lo := eni.NewLocal(ni, "trunk", factory, poolConfig)
normalENICount++
eniList = append(eniList, eni.NewTrunk(netSrv.k8s.GetClient(), lo))
} else if config.EnableERDMA && ni.ERdma {
erdmaENICount++
Expand Down

0 comments on commit 9c2bf6c

Please sign in to comment.