[ovs-dev] [PATCH 0/5] Support OpenFlow 1.5 packet-out

Yi-Hung Wei yihung.wei at gmail.com
Mon May 15 17:04:54 UTC 2017


This patch series add support to OpenFlow 1.5 packet-out messages that
enable setting pipeline fields.

v2:
  - Add support for tunnel and register pipeline fields.
  - Pull out common part of patch 2 in v1 and [1].
  - Use 'struct match' instead of 'struct flow' for flow metadata in
    'struct ofputil_packet_out' in order to support tun_metadata.
    This approach also avoids to convert back and forth between 'match' and
    'flow' when encoding/decoding packet-out message.

[1] https://mail.openvswitch.org/pipermail/ovs-dev/2017-April/331032.html

Jean Tourrilhesa, Zoltan Balogh, Jan Scheurich, Yi-Hung Wei (1):
  ofp-util: Add OpenFlow 1.5 packet-out support

Yi-Hung Wei (4):
  ofp-util: Add flow metadata to ofputil_packet_out
  ofproto: Add pipeline fields support for OF 1.5 packet-out
  ofp-parse: Parse pipeline fields in OF1.5 packet-out
  ofp-util: Fix tun_metadata processing in pakcet-out

 NEWS                             |  1 +
 include/openflow/openflow-1.5.h  | 18 ++++++++
 include/openvswitch/meta-flow.h  |  1 +
 include/openvswitch/ofp-errors.h |  3 ++
 include/openvswitch/ofp-msgs.h   |  7 +++-
 include/openvswitch/ofp-util.h   |  3 +-
 lib/learning-switch.c            |  3 +-
 lib/meta-flow.c                  | 90 +++++++++++++++++++++++++++++++++++++++
 lib/nx-match.c                   | 54 ++++++++++++++----------
 lib/nx-match.h                   | 14 ++++---
 lib/ofp-parse.c                  | 28 ++++++++++---
 lib/ofp-print.c                  |  6 +--
 lib/ofp-util.c                   | 91 +++++++++++++++++++++++++++++-----------
 ofproto/ofproto.c                | 24 +++++++----
 ovn/controller/ofctrl.c          |  2 +-
 ovn/controller/pinctrl.c         |  6 +--
 tests/ofp-print.at               | 59 ++++++++++++++++++++++++++
 tests/ofproto-dpif.at            | 50 ++++++++++++++++++++++
 tests/ofproto.at                 | 29 +++++++++++++
 utilities/ovs-ofctl.8.in         |  5 +++
 utilities/ovs-ofctl.c            | 21 ++++++----
 21 files changed, 431 insertions(+), 84 deletions(-)

-- 
2.7.4



More information about the dev mailing list