forked from ovn-org/ovn
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
physical: Don't reset encap ID across pipelines.
The MFF_LOG_ENCAP_ID register was defined to save the encap ID and avoid changing across pipelines, but in the function load_logical_ingress_metadata it was reset unconditionally. Because of this, the encap selection doesn't work when traffic traverses L3 boundaries. This patch fixes it by ensuring the register is loaded only in the flows of table 0, which is where packets from VIFs enter the pipeline for the first time. Fixes: 17b6a12 ("ovn-controller: Support VIF-based local encap IPs selection.") Signed-off-by: Han Zhou <[email protected]> Acked-by: Numan Siddique <[email protected]>
- Loading branch information
Showing
2 changed files
with
98 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters