diff mbox series

[ovs-dev,10/15] Tag all packets that arrived from a tunnel as LOCAL_ONLY

Message ID 20220215035737.1820679-11-ihrachys@redhat.com
State Superseded, archived
Headers show
Series Support additional-chassis for ports | 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

Ihar Hrachyshka Feb. 15, 2022, 3:57 a.m. UTC
A next patch may need to clone packets to another chassis as part of
"port migration" procedure, but only if they haven't originated at
another chassis. This LOCAL_ONLY tag will enforce the requirement.

Signed-off-by: Ihar Hrachyshka <ihrachys@redhat.com>
---
 controller/physical.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/controller/physical.c b/controller/physical.c
index 0f9dd91e5..bc4f7c4f0 100644
--- a/controller/physical.c
+++ b/controller/physical.c
@@ -1727,6 +1727,7 @@  physical_run(struct physical_ctx *p_ctx,
             OVS_NOT_REACHED();
         }
 
+        put_load(1, MFF_LOG_FLAGS, MLF_LOCAL_ONLY_BIT, 1, &ofpacts);
         put_resubmit(OFTABLE_LOCAL_OUTPUT, &ofpacts);
 
         ofctrl_add_flow(flow_table, OFTABLE_PHY_TO_LOG, 100, 0, &match,