[ovs-dev] [PATCH v2 0/5] Work toward better dependencies in ovn-controller.

Ben Pfaff blp at ovn.org
Mon Jun 11 22:14:33 UTC 2018


To make more efficient use of the CPU, ovn-controller needs to
incrementally compute its output.  To do that in a maintainable way, it
needs internally to be able to pass around data piecemeal.  This series is
one step in that direction.

v1->v2:
  - Applied and then dropped the first two patches.
  - Patch 1 (previously 3): improved some documentation.
  - The last two patches are new.

Ben Pfaff (5):
  ovsdb-idl: Redesign use of indexes.
  chassis-index: Use OVSDB index mechanism.
  ovn-controller: Use chassis_lookup_by_name() instead of get_chassis().
  ovn-controller: Drop ovs_idl, ovnsb_idl from controller_ctx.
  ovn-controller: Drop controller_ctx structure entirely.

 Documentation/topics/idl-compound-indexes.rst | 116 ++++-----
 lib/ovsdb-idl-provider.h                      |  57 ++---
 lib/ovsdb-idl.c                               | 330 +++++++++-----------------
 lib/ovsdb-idl.h                               |  86 +++----
 ovn/controller/bfd.c                          | 131 +++++-----
 ovn/controller/bfd.h                          |   8 +-
 ovn/controller/binding.c                      | 120 ++++++----
 ovn/controller/binding.h                      |  14 +-
 ovn/controller/chassis.c                      |  21 +-
 ovn/controller/chassis.h                      |  11 +-
 ovn/controller/encaps.c                       |  13 +-
 ovn/controller/encaps.h                       |   6 +-
 ovn/controller/gchassis.c                     |   6 +-
 ovn/controller/gchassis.h                     |   6 +-
 ovn/controller/lflow.c                        | 136 ++++++-----
 ovn/controller/lflow.h                        |   8 +-
 ovn/controller/lport.c                        | 165 ++++---------
 ovn/controller/lport.h                        |  29 +--
 ovn/controller/ofctrl.h                       |   1 -
 ovn/controller/ovn-controller.c               | 240 ++++++++-----------
 ovn/controller/ovn-controller.h               |  11 -
 ovn/controller/patch.c                        |  22 +-
 ovn/controller/patch.h                        |   4 +-
 ovn/controller/physical.c                     |  24 +-
 ovn/controller/physical.h                     |   8 +-
 ovn/controller/pinctrl.c                      | 199 +++++++++-------
 ovn/controller/pinctrl.h                      |  14 +-
 ovn/lib/chassis-index.c                       |  66 ++----
 ovn/lib/chassis-index.h                       |  22 +-
 ovn/northd/ovn-northd.c                       |  58 ++---
 ovsdb/ovsdb-idlc.in                           | 185 ++++++++-------
 tests/test-ovsdb.c                            | 179 ++++++--------
 32 files changed, 1037 insertions(+), 1259 deletions(-)

-- 
2.16.1



More information about the dev mailing list