[ovs-dev] [PATCH ovn] controller: do not mark bfd and ipv6_pd msgs as local-only

Lorenzo Bianconi lorenzo.bianconi at redhat.com
Fri Oct 8 14:54:18 UTC 2021


Do not mark BFD and IPv6 Prefix Delegation messages as local only since
they will be sent through a localnet port.

Fixes: 14c6dac51dc8 ("Suppress LOCAL_ONLY traffic for localnet ports")
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi at redhat.com>
---
 controller/pinctrl.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/controller/pinctrl.c b/controller/pinctrl.c
index cc3edaaf4..7d01b18a3 100644
--- a/controller/pinctrl.c
+++ b/controller/pinctrl.c
@@ -1108,7 +1108,6 @@ ipv6_prefixd_send(struct rconn *swconn, struct ipv6_prefixd_state *pfd)
     uint32_t port_key = pfd->port_key;
     put_load(dp_key, MFF_LOG_DATAPATH, 0, 64, &ofpacts);
     put_load(port_key, MFF_LOG_INPORT, 0, 32, &ofpacts);
-    put_load(1, MFF_LOG_FLAGS, MLF_LOCAL_ONLY_BIT, 1, &ofpacts);
     struct ofpact_resubmit *resubmit = ofpact_put_RESUBMIT(&ofpacts);
     resubmit->in_port = OFPP_CONTROLLER;
     resubmit->table_id = OFTABLE_LOG_INGRESS_PIPELINE;
@@ -6815,7 +6814,6 @@ pinctrl_send_bfd_tx_msg(struct rconn *swconn, struct bfd_entry *entry,
     uint32_t port_key = entry->port_key;
     put_load(dp_key, MFF_LOG_DATAPATH, 0, 64, &ofpacts);
     put_load(port_key, MFF_LOG_INPORT, 0, 32, &ofpacts);
-    put_load(1, MFF_LOG_FLAGS, MLF_LOCAL_ONLY_BIT, 1, &ofpacts);
     struct ofpact_resubmit *resubmit = ofpact_put_RESUBMIT(&ofpacts);
     resubmit->in_port = OFPP_CONTROLLER;
     resubmit->table_id = OFTABLE_LOG_INGRESS_PIPELINE;
-- 
2.31.1



More information about the dev mailing list