v8->v9
  - Add ttl and dec_nsh_ttl information to NEWS
  - Fix several unit tests failures
  - Add NSH introduction in ovs-fields.7

v7->v8
  - Ths first patch in v7 series has been merged
  - Use assignment instead of memcpy
  - Fix sparse warnings
  - Keep nsh fields number in meta-flow.inc to be compatible with v 2.8

v6->v7
  - Fix comments for v6 from Ben Pfaff
  - Fix checkpatch warnings
  - Fix static code analysis warnings

v5->v6
  - Rebase v5 to master
  - Refactor netlink message format to align to NSH kernel
    implementation
  - Add dec_nsh_ttl unit test into tests/nsh.at
  - Fix unit test unstable issue

v4->v5
  - Remove fix patch 1 in v4 because it is merged
  - Fix several comments by Jan Scheurich

v3->v4
  - Add new action dec_nsh_ttl
  - Remove encap_nsh and decap_nsh changes
  - Remove netlink rework to adapt to OVS 2.8
  - Dynamically allocate struct ovs_action_encap_nsh and put
    appropriate size for ENCAP_NSH netlink message.

v2->v3
  - Fix several comments Jan Scheurich

v1->v2
  - Rework per kernel datapath review comments
  - Add new NSH key ttl
  - Add many helpers in nsh.h and replace much code
    with these helpers
  - nsh.h includes the lasted NSH spec
  - bits of flags and mdtype have a change

This patch refactored NSH netlink keys, push_nsh action
 and netlink message format to align to NSH kernel
implementation. It also adds new NSH key 'ttl' and a new
action dec_nsh_ttl to follow the lasted IETF NSH draft:

https://datatracker.ietf.org/doc/draft-ietf-sfc-nsh/

Yi Yang (3):
  nsh: add new flow key 'ttl'
  nsh: fix nested mask for OVS_KEY_ATTR_NSH
  nsh: add dec_nsh_ttl action

 NEWS                                              |   2 +
 datapath/linux/compat/include/linux/openvswitch.h |   2 +-
 include/openvswitch/flow.h                        |   6 +-
 include/openvswitch/meta-flow.h                   |  14 ++
 include/openvswitch/nsh.h                         | 102 +++++++++
 include/openvswitch/ofp-actions.h                 |   1 +
 include/openvswitch/packets.h                     |  12 +-
 lib/flow.c                                        |  23 +-
 lib/flow.h                                        |   2 +-
 lib/match.c                                       |  12 +-
 lib/meta-flow.c                                   |  56 ++++-
 lib/meta-flow.xml                                 | 139 ++++++++++--
 lib/nx-match.c                                    |  16 +-
 lib/odp-execute.c                                 |  76 +++----
 lib/odp-util.c                                    | 261 +++++++++++++---------
 lib/odp-util.h                                    |   5 +-
 lib/ofp-actions.c                                 |  49 ++++
 ofproto/ofproto-dpif-xlate.c                      |  38 +++-
 tests/nsh.at                                      |  47 ++--
 tests/ofproto.at                                  |   3 +-
 utilities/ovs-ofctl.8.in                          |  13 +-
 21 files changed, 633 insertions(+), 246 deletions(-)

-- 
2.1.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to