v1->v2 - Rebase to current master - Fix comments By Joe and Jiri Benc This patch series implemented NSH (Network Service Header, https://www.ietf.org/id/draft-ietf-sfc-nsh-13.txt).
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/linux/compat/include/linux/openvswitch.h | 38 ++ 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 | 138 +++++ include/openvswitch/ofp-ed-props.h | 44 +- include/openvswitch/packets.h | 19 + lib/dpif-netdev.c | 2 + lib/dpif.c | 2 + lib/flow.c | 101 +++- 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 | 89 +++ lib/odp-util.c | 496 +++++++++++++++- lib/odp-util.h | 5 +- lib/ofp-actions.c | 5 + lib/ofp-ed-props.c | 179 ++++++ lib/ofp-util.c | 2 +- lib/packets.c | 82 +++ lib/packets.h | 7 + ofproto/ofproto-dpif-rid.h | 2 +- ofproto/ofproto-dpif-sflow.c | 3 + ofproto/ofproto-dpif-xlate.c | 181 +++++- tests/automake.mk | 3 +- tests/classifier.at | 20 +- tests/nsh.at | 676 ++++++++++++++++++++++ tests/ofproto-dpif.at | 20 +- tests/ofproto.at | 11 +- tests/testsuite.at | 1 + tests/tunnel.at | 18 +- 36 files changed, 2523 insertions(+), 78 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
