[ovs-dev] [PATCH v3 0/2] basic encap/decap

Zoltán Balogh zoltan.balogh.eth at gmail.com
Fri Jul 21 17:08:24 UTC 2017


From: Zoltan Balogh <zoltan.balogh at ericsson.com>

This series is a continuation of other patch series initiated by Jan Scheurich 
before. These were already applied to the master branch:
 - userspace: Support for L3 tunneling
   https://mail.openvswitch.org/pipermail/ovs-dev/2017-June/333387.html
 - Packet type aware pipeline
   https://mail.openvswitch.org/pipermail/ovs-dev/2017-June/334512.html

The main purpose of this series is to add support for the OpenFlow actions 
generic encap and decap (ONF EXT-382) to the OVS control plane. It implements
a skeleton for translation of generic encap and decap actions in ofproto-dpif
and provides support to encap and decap an Ethernet header. 

v2->v3
 - NEWS updated.
 - fix: drop VLAN tagged packet trying to decap it.
 - New unit tests for the fix.
 - Some tests were updated due to change in recirculation on master branch.

v1->v2
 - Squash 1/4 and 2/4 commits of v1.
 - Put unit tests in a separate commit.
 - Use aligned cast.
 - Nicira extension numbers for encap/decap action numbers and error codes.
 - Small fixes according to comments.

Jan Scheurich (1):
  OF support and translation of generic encap and decap

Zoltan Balogh (1):
  tests: Extend PTAP unit tests with decap action

 NEWS                               |   6 +
 include/openflow/openflow-common.h |   1 +
 include/openvswitch/automake.mk    |   1 +
 include/openvswitch/ofp-actions.h  |  31 +++
 include/openvswitch/ofp-ed-props.h |  69 +++++++
 include/openvswitch/ofp-errors.h   |   9 +
 lib/automake.mk                    |   1 +
 lib/odp-util.c                     |  84 +++++---
 lib/odp-util.h                     |   3 +-
 lib/ofp-actions.c                  | 378 +++++++++++++++++++++++++++++++++-
 lib/ofp-ed-props.c                 | 150 ++++++++++++++
 lib/packets.h                      |   3 +-
 ofproto/ofproto-dpif-xlate.c       | 116 ++++++++++-
 tests/packet-type-aware.at         | 405 +++++++++++++++++++++++++++++++++++++
 14 files changed, 1215 insertions(+), 42 deletions(-)
 create mode 100644 include/openvswitch/ofp-ed-props.h
 create mode 100644 lib/ofp-ed-props.c

-- 
1.9.1



More information about the dev mailing list