From d20a1c2f57d43d837e1c23dbc99ba0f6ef331721 Mon Sep 17 00:00:00 2001 From: dolibali Date: Mon, 6 Jan 2025 02:51:48 +0000 Subject: [PATCH] Add the comment for gress Signed-off-by: dolibali --- pkg/daemon/controller_linux.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/daemon/controller_linux.go b/pkg/daemon/controller_linux.go index e238fc527e2..3576d7ace0a 100644 --- a/pkg/daemon/controller_linux.go +++ b/pkg/daemon/controller_linux.go @@ -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]