Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
northd: Optimize ct nat for load balancer traffic.
For a load balancer traffic destined to VIP, we do the below actions related to conntrack in the ingress logical switch pipeline. 1. Send the packet to conntrack - ct() 2a. if ct.new then ct_lb(backends) 2b. if ct.est then ct(nat) The step 2b is unnecessary and can be removed to avoid another recirculation. This patch improves this by doing the below. For a load balancer traffic destined to VIP, we will now do 1. ct(nat) 2a. if ct.new - ct_lb(backends) 2b. if ct.est, no further action related to conntrack. For non load balancer connection traffic, we will now do 1. ct(nat) 2a. if ct.new then ct(commit) 2b if ct.est, no further action related to conntrack. The same improvement is done for the egress logical switch pipeline. The stages - ls_in_lb and ls_out_lb are removed since these stages are no longer needed. Acked-by: Mark D. Gray <mark.d.gray@redhat.com> Acked-by: Han Zhou <hzhou@ovn.org> Signed-off-by: Numan Siddique <numans@ovn.org>
- Loading branch information
1 parent
6849fa0
commit 0038579
Showing
6 changed files
with
503 additions
and
445 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
Oops, something went wrong.