[ovs-dev] [PATCH v4 0/5] Generic Encap & Decap based NSH implementation

Ben Pfaff blp at ovn.org
Mon Aug 7 18:34:08 UTC 2017


Thanks.  I applied this series to master and branch-2.8.

I'd appreciate it if you'd follow up with a patch that adds an
appropriate item to NEWS.

On Sat, Aug 05, 2017 at 01:41:07PM +0800, Yi Yang wrote:
> v3->v4
>  - Merge Ben's incrmental patches
>  - Rebase to current master
>  - Fix two compiling warnings
>  - Resize metedata to 16 bytes in struct ovs_action_encap_nsh
>  - Fix aligned cast errors
>  - Folded patch 2 in v3 to patch 1
>  - Move some changes in patch 5 in v3 to patch 1
> 
> v2->v3
>  - Rebase to current master
>  - Fix warnings reported by checkpatch
>  - Correct commit log with right encap syntax
> 
> 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 (5):
>   userspace: Add support for NSH MD1 match 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-odp-netlink-h                   |   6 +-
>  build-aux/extract-ofp-fields                      |   2 +
>  datapath/linux/compat/include/linux/openvswitch.h |  33 ++
>  include/openvswitch/automake.mk                   |   3 +-
>  include/openvswitch/flow.h                        |   8 +-
>  include/openvswitch/match.h                       |  12 +
>  include/openvswitch/meta-flow.h                   |  95 +++
>  include/openvswitch/nsh.h                         | 135 +++++
>  include/openvswitch/ofp-ed-props.h                |  44 +-
>  include/openvswitch/packets.h                     |  16 +
>  lib/dpif-netdev.c                                 |   2 +
>  lib/dpif.c                                        |   2 +
>  lib/flow.c                                        | 103 +++-
>  lib/flow.h                                        |   3 +-
>  lib/match.c                                       |  59 +-
>  lib/meta-flow.c                                   | 154 +++++
>  lib/meta-flow.xml                                 |  67 ++-
>  lib/netdev-native-tnl.c                           |   6 +
>  lib/nx-match.c                                    |  17 +-
>  lib/odp-execute.c                                 |  81 +++
>  lib/odp-util.c                                    | 497 +++++++++++++++-
>  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-ipfix.c                      |   2 +
>  ofproto/ofproto-dpif-rid.h                        |   2 +-
>  ofproto/ofproto-dpif-sflow.c                      |   3 +
>  ofproto/ofproto-dpif-xlate.c                      | 182 +++++-
>  tests/automake.mk                                 |   3 +-
>  tests/classifier.at                               |  20 +-
>  tests/nsh.at                                      | 676 ++++++++++++++++++++++
>  tests/ofproto-dpif.at                             |  22 +-
>  tests/ofproto.at                                  |  11 +-
>  tests/testsuite.at                                |   1 +
>  tests/tunnel.at                                   |  18 +-
>  38 files changed, 2480 insertions(+), 85 deletions(-)
>  create mode 100644 include/openvswitch/nsh.h
>  create mode 100644 tests/nsh.at
> 
> -- 
> 2.1.0
> 


More information about the dev mailing list