This patch series implemented NSH (Network Service Header, https://www.ietf.org/id/draft-ietf-sfc-nsh-13.txt) based on the merged L3 patch series and PTAP patch series as well as [ovs-dev] [PATCH 0/4] basic encap/decap Zoltan posted https://mail.openvswitch.org/pipermail/ovs-dev/2017-June/334783.html
It also includes unit tests which can verify Eth+NSH and VxLAN-gpe+NSH very well. I also verified it on my local Eth+NSH and VxLAN-gpe+NSH hybrid mode service function chaining environment. This work is collectively done by Ericsson (Jan Scheurich, Zoltán Balogh, etc.) and Intel (Yi Yang, etc.) Jan Scheurich (6): userspace: Add support for NSH MD1 match fields userspace: enable set_field support for nsh fields Adding nsh.at for NSH unit tests userspace: add NSH support to vxlan-gpe tunnels Generic encap and decap support for NSH NSH unit test cases using encap and decap actions build-aux/extract-ofp-fields | 2 + datapath/flow_netlink.c | 5 +- datapath/linux/compat/include/linux/openvswitch.h | 36 ++ include/openvswitch/automake.mk | 3 +- include/openvswitch/flow.h | 8 +- include/openvswitch/match.h | 12 + include/openvswitch/meta-flow.h | 132 +++++ include/openvswitch/nsh.h | 130 +++++ include/openvswitch/ofp-ed-props.h | 38 ++ include/openvswitch/packets.h | 19 + lib/dpif-netdev.c | 2 + lib/dpif.c | 2 + lib/flow.c | 100 +++- lib/flow.h | 3 +- lib/match.c | 69 ++- lib/meta-flow.c | 181 +++++++ lib/meta-flow.xml | 21 + lib/netdev-native-tnl.c | 6 + lib/nx-match.c | 20 +- lib/odp-execute.c | 84 ++++ lib/odp-util.c | 460 +++++++++++++++++- lib/odp-util.h | 2 +- lib/ofp-actions.c | 9 +- lib/ofp-ed-props.c | 178 ++++++- lib/ofp-util.c | 2 +- lib/packets.c | 71 +++ lib/packets.h | 7 + ofproto/ofproto-dpif-rid.h | 2 +- ofproto/ofproto-dpif-sflow.c | 3 + ofproto/ofproto-dpif-xlate.c | 134 +++++- tests/automake.mk | 3 +- tests/classifier.at | 20 +- tests/nsh.at | 556 ++++++++++++++++++++++ tests/ofproto-dpif.at | 20 +- tests/ofproto.at | 11 +- tests/testsuite.at | 1 + tests/tunnel.at | 18 +- 37 files changed, 2303 insertions(+), 67 deletions(-) create mode 100644 include/openvswitch/nsh.h create mode 100644 tests/nsh.at -- 2.1.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
