[ovs-dev] [PATCH v3 0/7] another try at closures

Ben Pfaff blp at ovn.org
Wed Feb 10 06:10:25 UTC 2016


This is the third revision of my "closures" patch.

The first version was:
http://openvswitch.org/pipermail/dev/2016-January/064607.html

The second version, unfortunately not marked v2, was:
https://patchwork.ozlabs.org/patch/574946/
and the v1->v2 changes were described at:
http://openvswitch.org/pipermail/dev/2016-January/064875.html

Changes v2->v3:
  - Patches 1 through 6 are new.
  - There's a terminology change starting in patch 6.  Now the process
    of pausing translation is called "freezing", and there are two users
    of freezing, which are recirculation and closures.
  - I added the ability to provide arbitrary user data on NXAST_PAUSE
    which is passed to the controller in a property on NXT_CLOSURE.
  - I made all the changes described in:
    http://openvswitch.org/pipermail/dev/2016-February/065984.html
  - I added a few more tests to ofp-print.at and ofp-actions.at.
  - Probably other refinements I've forgotten.

Ben Pfaff (7):
  dynamic-string: Make ds_chomp() return true if it removed a character.
  ofpbuf: Make ofpbuf_put_hex() accept period between hex bytes also.
  ofproto-dpif-xlate: Improve recirc_unroll_actions() interface.
  ofproto-dpif-xlate: New helper function ctx_cancel_recirculation().
  ofproto-dpif-xlate: Break recirculation actions out from action_set.
  ofproto-dpif-xlate: Distinguish "freezing" from "recirculation".
  Implement "closures".

 NEWS                          |   4 +
 include/openflow/nicira-ext.h | 100 ++++++++-
 lib/dynamic-string.c          |   7 +-
 lib/dynamic-string.h          |   4 +-
 lib/meta-flow.c               |   9 +-
 lib/meta-flow.h               |   3 +-
 lib/ofp-actions.c             | 174 ++++++++++++---
 lib/ofp-actions.h             |  13 +-
 lib/ofp-errors.h              |  15 +-
 lib/ofp-msgs.h                |   8 +
 lib/ofp-print.c               |  81 +++++++
 lib/ofp-util.c                | 362 +++++++++++++++++++++++++++++++
 lib/ofp-util.h                |  60 +++++-
 lib/ofpbuf.c                  |  12 +-
 lib/rconn.c                   |   4 +-
 ofproto/connmgr.c             |  70 ++++--
 ofproto/connmgr.h             |   3 +
 ofproto/ofproto-dpif-xlate.c  | 485 +++++++++++++++++++++++++-----------------
 ofproto/ofproto-dpif-xlate.h  |   4 +
 ofproto/ofproto-dpif.c        |  35 +++
 ofproto/ofproto-provider.h    |   3 +
 ofproto/ofproto.c             |  25 +++
 tests/ofp-actions.at          |  18 ++
 tests/ofp-print.at            |  34 +++
 tests/ofproto-dpif.at         | 174 +++++++++++++++
 tests/ofproto-macros.at       |  35 ++-
 tests/ofproto.at              |   2 +
 utilities/ovs-ofctl.8.in      |  32 ++-
 utilities/ovs-ofctl.c         | 111 +++++++---
 vswitchd/vswitch.xml          |  17 +-
 30 files changed, 1603 insertions(+), 301 deletions(-)

-- 
2.1.3




More information about the dev mailing list