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

Dumitru Ceara dceara at redhat.com
Mon Sep 28 10:08:03 UTC 2020


The series refactors logical flow processing for SNAT trying to make it a bit
more efficient while reducing code duplication.

CC: Numan Siddique <numans at ovn.org>
CC: Han Zhou <hzhou at ovn.org>
Signed-off-by: Dumitru Ceara <dceara at 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.



More information about the dev mailing list