diff mbox series

[ovs-dev,v6,1/9] controller: remove tunnel interfaces from egress_ifaces sset

Message ID afbd7a4805881ff248dbd57c8c05cf3a97e517cb.1683728227.git.lorenzo.bianconi@redhat.com
State Changes Requested
Delegated to: Numan Siddique
Headers show
Series Configure OVN QoS thorugh OvS db | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test fail github build: failed
ovsrobot/github-robot-_ovn-kubernetes fail github build: failed

Commit Message

Lorenzo Bianconi May 10, 2023, 2:21 p.m. UTC
Remove tunnel interfaces from egress list in order to not shape them.

Acked-By: Ihar Hrachyshka <ihrachys@redhat.com>
Tested-by: Rodolfo Alonso <ralonsoh@redhat.com>
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
---
 controller/binding.c | 9 ---------
 1 file changed, 9 deletions(-)
diff mbox series

Patch

diff --git a/controller/binding.c b/controller/binding.c
index bd810f669..a0fbacc97 100644
--- a/controller/binding.c
+++ b/controller/binding.c
@@ -1938,15 +1938,6 @@  build_local_bindings(struct binding_ctx_in *b_ctx_in,
                 smap_replace(b_ctx_out->local_iface_ids, iface_rec->name,
                              iface_id);
             }
-
-            /* Check if this is a tunnel interface. */
-            if (smap_get(&iface_rec->options, "remote_ip")) {
-                const char *tunnel_iface
-                    = smap_get(&iface_rec->status, "tunnel_egress_iface");
-                if (tunnel_iface) {
-                    sset_add(b_ctx_out->egress_ifaces, tunnel_iface);
-                }
-            }
         }
     }
 }