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

Yi-Hung Wei yihung.wei at gmail.com
Thu May 4 23:12:17 UTC 2017


This patch series add support to OpenFlow 1.5 packet-out message that
enables setting pipeline fields. While there are six pipeline match
fields as listed in OpenFlow spec 1.5.1, this patch series implements
three of them (OXM_OF_IN_PORT, OXM_OF_METADATA, and OXM_OF_TUNNEL_ID),
since the rest of them (OXM_OF_IN_PHY_PORT, OXM_OF_ACTSET_OUTPUT, and
OXM_OF_PACKET_TYPE) does not fit into the ovs. 

Yi-Hung Wei (3):
  ofp-util: Add flow metadata to ofputil_packet_out
  ofproto: Add OpenFlow 1.5 packet-out support
  ofp-parse: Parse pipeline fields in OF1.5 packet-out

 NEWS                             |  1 +
 include/openflow/openflow-1.5.h  | 18 ++++++++
 include/openvswitch/ofp-errors.h |  3 ++
 include/openvswitch/ofp-msgs.h   |  7 ++-
 include/openvswitch/ofp-util.h   |  2 +-
 lib/learning-switch.c            |  3 +-
 lib/ofp-parse.c                  | 35 ++++++++++++---
 lib/ofp-print.c                  |  4 +-
 lib/ofp-util.c                   | 96 ++++++++++++++++++++++++++++++++++------
 ofproto/ofproto.c                | 10 +++--
 ovn/controller/ofctrl.c          |  2 +-
 ovn/controller/pinctrl.c         |  6 +--
 tests/ofp-print.at               | 50 +++++++++++++++++++++
 tests/ofproto-dpif.at            | 36 +++++++++++++++
 tests/ofproto.at                 | 29 ++++++++++++
 utilities/ovs-ofctl.8.in         | 13 ++++++
 utilities/ovs-ofctl.c            |  4 +-
 17 files changed, 284 insertions(+), 35 deletions(-)

-- 
2.7.4



More information about the dev mailing list