[ovs-dev] [PATCH v2 0/3] basic encap/decap
Zoltán Balogh
zoltan.balogh.eth at gmail.com
Fri Jul 14 19:24:28 UTC 2017
From: Zoltán 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.
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
Zoltán Balogh (2):
ofproto-dpif-xlate: drop L3 packets on L2 legacy port
tests: Extend PTAP unit tests with decap action
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 | 131 +++++++++++-
tests/packet-type-aware.at | 397 ++++++++++++++++++++++++++++++++++++-
13 files changed, 1206 insertions(+), 52 deletions(-)
create mode 100644 include/openvswitch/ofp-ed-props.h
create mode 100644 lib/ofp-ed-props.c
--
2.11.0
More information about the dev
mailing list