[ovs-dev] [PATCH v2 0/3] Support for layer 3 ports
Lorand Jakab
lojakab at cisco.com
Tue Dec 24 14:02:33 UTC 2013
This series implements support for layer 3 ports, of which we have one example
so far, the LISP vport. LISP support has been implemented with a hack, by
adding/removing the Ethernet header within the datapath/vport-lisp.c file. By
removing the assumption that all packets/flows have Ethernet header, this
series adds generic support for layer 3 ports in OVS, and thus it is expected
that the user/kernel space API for LISP support will not change. This allows
the upstreaming of the LISP vport, resulting in a decreased delta against the
Linux kernel module, which is the main goal that started this work.
The third patch in this series is a rebased version of patch # 2099 in
Patchwork, which can now be deleted.
Changes from the first version:
* Addressed all comments from Ben's review
* Fixed all failing unit tests
Lorand Jakab (3):
userspace: add support for pop_eth and push_eth actions
userspace: add layer 3 flow and switching support
datapath: add layer 3 flow/port support
datapath/actions.c | 32 +++++++++++++++++
datapath/datapath.h | 1 +
datapath/flow.c | 43 ++++++++++++----------
datapath/flow.h | 1 +
datapath/flow_netlink.c | 20 +++++++++--
datapath/vport-gre.c | 1 +
datapath/vport-lisp.c | 17 ++-------
datapath/vport-netdev.c | 1 +
datapath/vport-vxlan.c | 1 +
include/linux/openvswitch.h | 12 +++++++
lib/bfd.c | 1 +
lib/dpif-linux.c | 9 +++++
lib/dpif.c | 6 ++--
lib/flow.c | 85 ++++++++++++++++++++++++++++----------------
lib/flow.h | 15 ++++++--
lib/match.c | 11 +++---
lib/meta-flow.c | 9 +++--
lib/meta-flow.h | 1 +
lib/netdev.c | 7 ++++
lib/nx-match.c | 2 +-
lib/odp-execute.c | 12 +++++++
lib/odp-util.c | 77 ++++++++++++++++++++++++++++++++++++---
lib/odp-util.h | 6 ++++
lib/ofp-print.c | 15 +++++---
lib/ofp-print.h | 3 +-
lib/ofp-util.c | 2 +-
lib/packets.c | 27 ++++++++++++++
lib/packets.h | 4 +++
lib/pcap-file.c | 1 +
ofproto/ofproto-dpif-xlate.c | 19 ++++++++--
ofproto/ofproto-dpif-xlate.h | 3 +-
ofproto/ofproto-dpif.c | 3 +-
ofproto/ofproto.c | 1 +
tests/ofproto-dpif.at | 6 ++--
tests/vlan-splinters.at | 4 +--
35 files changed, 360 insertions(+), 98 deletions(-)
--
1.8.3.4 (Apple Git-47)
More information about the dev
mailing list