forked from ovn-org/ovn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When traffic arrives over an ECMP route, there is no guarantee that the reply traffic will egress over the same route. Sometimes, the nature of the traffic (or the intervening equipment) means that it is important for reply traffic to go out the same route it came in. This commit introduces optional ECMP symmetric reply behavior. If configured, then traffic to or from the ECMP route will be sent to conntrack. New incoming traffic over the route will have the source MAC address and incoming port saved in the ct_label. Reply traffic then uses this saved information to send the packet back out the same way it came in. To facilitate this, a new table was added to the ingress logical router pipeline. The ECMP_STATEFUL table is responsible for committing to conntrack and setting the ct_label when it detects new incoming traffic from the route. Since ingress pipeline logic on the logical router depends on ct state of a particular hypervisor, this feature is only usable on gateway routers. Signed-off-by: Mark Michelson <mmichels@redhat.com> Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1849683 Acked-by: Numan Siddique <numans@ovn.org>
- Loading branch information
Showing
10 changed files
with
496 additions
and
54 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
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
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
Oops, something went wrong.