[ovs-dev] [RFC 0/3] ovn-controller: applications of IDL index feature

Lance Richardson lrichard at redhat.com
Mon Jun 26 15:54:41 UTC 2017


This RFC series demonstrates how the IDL index feature patch series could
be applied to simplify ovn-controller logic and potentially elimiante the
overhead of creating/destroying existing indexing data structures
during each iteration of the main IDL loop. Note that there are other
possible applications in ovn-controller, as well as in ovn-northd.

This series is intended to be applied on top of the IDL index series, which
can be found here:

    https://patchwork.ozlabs.org/patch/780407/
    https://patchwork.ozlabs.org/patch/780408/
    https://patchwork.ozlabs.org/patch/780409/
    https://patchwork.ozlabs.org/patch/780410/

Lance Richardson (3):
  ovn-controller: use idl index for multicast group table
  ovn-controller: use idl indexes for logical port table
  ovn-controller: use idl indexes for logical datapath

 ovn/controller/binding.c        |  49 ++++---
 ovn/controller/binding.h        |   6 +-
 ovn/controller/lflow.c          |  43 +++---
 ovn/controller/lflow.h          |   4 -
 ovn/controller/lport.c          | 302 +++++++++++++++-------------------------
 ovn/controller/lport.h          |  59 +-------
 ovn/controller/ovn-controller.c |  66 ++++++---
 ovn/controller/physical.c       |  14 +-
 ovn/controller/physical.h       |   2 +-
 ovn/controller/pinctrl.c        |  87 +++++++-----
 ovn/controller/pinctrl.h        |   2 +-
 11 files changed, 272 insertions(+), 362 deletions(-)

-- 
2.9.4



More information about the dev mailing list