Skip to content

Commit

Permalink
Add the comment for gress
Browse files Browse the repository at this point in the history
Signed-off-by: dolibali <[email protected]>
  • Loading branch information
dolibali authored and zbb88888 committed Jan 7, 2025
1 parent a0d895d commit d20a1c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/daemon/controller_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ func (c *Controller) handlePod(key string) error {
}

// set default nic bandwidth
// ovsIngress and ovsEgress are derived from the pod's egress and ingress rate annotations respectively, their roles are reversed from the OVS interface perspective.
ifaceID := ovs.PodNameToPortName(podName, pod.Namespace, util.OvnProvider)
ovsIngress := pod.Annotations[util.EgressRateAnnotation]
ovsEgress := pod.Annotations[util.IngressRateAnnotation]
Expand Down

0 comments on commit d20a1c2

Please sign in to comment.