mbox series

[ovs-dev,v4,0/2] Drop packets destined to own IPs and refactor SNAT processing.

Message ID 20200928100802.25333.36491.stgit@dceara.remote.csb
Headers show
Series Drop packets destined to own IPs and refactor SNAT processing. | expand

Message

Dumitru Ceara Sept. 28, 2020, 10:08 a.m. UTC
The series refactors logical flow processing for SNAT trying to make it a bit
more efficient while reducing code duplication.

CC: Numan Siddique <numans@ovn.org>
CC: Han Zhou <hzhou@ovn.org>
Signed-off-by: Dumitru Ceara <dceara@redhat.com>

Dumitru Ceara (2):
      ovn-northd: Refactor parsing of *_force_snat_ip.
      ovn-northd: Refactor processing of SNAT IPs.


 lib/ovn-util.c      |    6 +
 lib/ovn-util.h      |    2 
 northd/ovn-northd.c |  375 +++++++++++++++++++++++++++------------------------
 tests/ovn-northd.at |   19 +++
 4 files changed, 225 insertions(+), 177 deletions(-)


---
V4:
- dropped first two patches because they were already applied.
- addressed Han's and Numan's comments.
- added Han's acks.
V3:
- turned the patch in a series (bug fix + refactoring)
- patch1:
  - implement Numan's suggestion to avoid redundant flows in lr_in_arp_resolve.
V2:
- rebased changes.