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

Dumitru Ceara dceara at redhat.com
Thu Sep 17 12:50:31 UTC 2020


The first patch of the series is a bug fix for:
https://bugzilla.redhat.com/1876174

If accepted, the first patch should also be backported to stable branches.

The following three patches are a series of refactoring to make logical flow
processing for SNAT a bit more efficient while reducing code duplication.

CC: Numan Siddique <numans at ovn.org>
Signed-off-by: Dumitru Ceara <dceara at redhat.com>

Dumitru Ceara (4):
      ovn-northd: Drop IP packets destined to router owned IPs (after NAT).
      ovn-northd: Move NAT ARP/ND resolution to separate functions.
      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.8.xml |   24 ++
 northd/ovn-northd.c     |  547 +++++++++++++++++++++++++++--------------------
 tests/ovn.at            |   88 ++++++++
 5 files changed, 428 insertions(+), 239 deletions(-)


---
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