This patchset adds NSH userspace support, it just covers
parse, match and set_field NSH fields, actions encap_nsh
and decap_nsh will be included in the following patchset.

This patchset is based on top of Zoltan's 

[PATCH 0/10] userspace: Packet type-aware pipeline
https://mail.openvswitch.org/pipermail/ovs-dev/2017-April/331023.html

[PATCH v3 0/8] userspace: Support for L3 tunnelin
https://mail.openvswitch.org/pipermail/ovs-dev/2017-April/330488.html

Yi Yang (5):
  userspace: Add NSH keys to struct flow
  userspace: add meta flow keys and match fields for NSH
  userspace: add netlink keys for NSH
  userspace: enable set_field support for nsh keys
  userspace: add NSH support to vxlangpe

 build-aux/extract-ofp-fields                      |   1 +
 datapath/linux/compat/include/linux/openvswitch.h |  16 ++
 include/openvswitch/automake.mk                   |   3 +-
 include/openvswitch/flow.h                        |  10 +-
 include/openvswitch/match.h                       |  12 +
 include/openvswitch/meta-flow.h                   | 131 ++++++++++
 include/openvswitch/nsh.h                         | 150 +++++++++++
 include/openvswitch/packets.h                     |  19 ++
 lib/flow.c                                        |  89 ++++++-
 lib/flow.h                                        |   3 +-
 lib/match.c                                       |  49 +++-
 lib/meta-flow.c                                   | 170 ++++++++++++
 lib/meta-flow.xml                                 |  21 ++
 lib/netdev-native-tnl.c                           |   6 +
 lib/nx-match.c                                    |  20 +-
 lib/odp-execute.c                                 |  22 ++
 lib/odp-util.c                                    | 305 ++++++++++++++++++++++
 lib/odp-util.h                                    |   5 +-
 lib/ofp-util.c                                    |   2 +-
 lib/packets.c                                     |  37 +++
 lib/packets.h                                     |   4 +
 ofproto/ofproto-dpif-rid.h                        |   2 +-
 ofproto/ofproto-dpif-sflow.c                      |   1 +
 ofproto/ofproto-dpif-xlate.c                      |   2 +-
 24 files changed, 1060 insertions(+), 20 deletions(-)
 create mode 100644 include/openvswitch/nsh.h

-- 
2.1.0

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to