The series adds support for userspace erspan implementation. Currently it supports both ipv4 and ipv6 erspan v1/v2. The kernel support is disabled in this series and will add it later in separate patch series.
Tested-at: https://travis-ci.org/williamtu/ovs-travis/jobs/351420224 William Tu (5): system-common-macros: add tunnel-args support. userspace: return correct ipv6 header len. netdev-native-tnl: refactor the tunnel push header. userspace: add gre sequence number support. userspace: add erspan tunnel support. datapath/linux/compat/include/linux/openvswitch.h | 2 + include/openvswitch/flow.h | 4 +- include/openvswitch/match.h | 12 ++ include/openvswitch/meta-flow.h | 56 +++++++ include/openvswitch/packets.h | 6 +- lib/dpif-netlink-rtnl.c | 8 + lib/dpif-netlink.c | 6 + lib/flow.c | 32 +++- lib/flow.h | 2 +- lib/match.c | 69 +++++++- lib/meta-flow.c | 77 +++++++++ lib/meta-flow.xml | 86 ++++++++++ lib/netdev-native-tnl.c | 196 +++++++++++++++++++++- lib/netdev-native-tnl.h | 18 +- lib/netdev-provider.h | 3 +- lib/netdev-vport.c | 65 ++++++- lib/netdev.c | 2 +- lib/netdev.h | 7 + lib/nx-match.c | 13 +- lib/odp-util.c | 83 ++++++++- lib/odp-util.h | 2 +- lib/ofp-match.c | 2 +- lib/packets.h | 126 ++++++++++++++ lib/tnl-ports.c | 3 +- ofproto/ofproto-dpif-rid.h | 2 +- ofproto/ofproto-dpif-xlate.c | 4 +- ofproto/tunnel.c | 13 ++ tests/ofproto.at | 6 +- tests/system-common-macros.at | 5 +- tests/tunnel-push-pop-ipv6.at | 118 +++++++++++++ tests/tunnel-push-pop.at | 145 +++++++++++++++- tests/tunnel.at | 12 ++ vswitchd/vswitch.xml | 41 +++++ 33 files changed, 1190 insertions(+), 36 deletions(-) -- 2.7.4 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
