mbox series

[ovs-dev,0/5] ovn-northd: Optimize logical flow generation for reject ACLs.

Message ID 20201005174829.4169091-1-numans@ovn.org
Headers show
Series ovn-northd: Optimize logical flow generation for reject ACLs. | expand

Message

Numan Siddique Oct. 5, 2020, 5:48 p.m. UTC
From: Numan Siddique <numans@ovn.org>

This patch series improves the reject ACL logical flow generation by
reducing the number of logical flows for the reject ACL. A new OVN
action - reject is added for this. Now only 1 lflow is added per each
reject ACL.

Patch 1 and 2 are bug fix patches and they need to be backported to
branch 20.09 and 20.06.

This patch series overrides the earlier attempt to address the lflow
reduction for reject ACLs - https://mail.openvswitch.org/pipermail/ovs-dev/2020-September/375528.html

Numan Siddique (5):
  northd: Use 'enum ovn_stage' for the table value in the 'next' OVN
    action.
  ovn-trace: Don't assert for next(stage=ingress,..).
  actions: Add a new OVN action - reject {}.
  actions: Add new OVN logical fields 'ip.src' and ip.dst'.
  ovn-northd: Optimize logical flow generation for reject ACLs.

 controller/pinctrl.c         |  66 +++++++++++++++++
 include/ovn/actions.h        |  13 +++-
 include/ovn/logical-fields.h |  18 +++++
 lib/actions.c                | 137 +++++++++++++++++++++++++++++++++++
 lib/logical-fields.c         |  10 +++
 northd/ovn-northd.c          |  78 +++++---------------
 ovn-sb.xml                   |  47 ++++++++++++
 tests/ovn-northd.at          | 101 ++++++++++++++++++++++++++
 tests/ovn.at                 |  39 ++++++++++
 tests/system-ovn.at          |  46 +++++++++++-
 utilities/ovn-trace.c        |  63 ++++++++++++++--
 11 files changed, 550 insertions(+), 68 deletions(-)