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 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/ I have double confirmed from one of its authors, this is a final version which will be approved as IETF RFC, the NSH header format won't be change anymore. Yi Yang (3): nsh: fix an implicit bug in nsh_hdr_len nsh: add new flow key 'ttl' nsh: add dec_nsh_ttl action datapath/linux/compat/include/linux/openvswitch.h | 17 +- include/openvswitch/flow.h | 6 +- include/openvswitch/meta-flow.h | 31 +- include/openvswitch/nsh.h | 326 ++++++++++++++++++++-- include/openvswitch/ofp-actions.h | 1 + include/openvswitch/packets.h | 18 +- lib/flow.c | 64 ++--- lib/flow.h | 2 +- lib/match.c | 12 +- lib/meta-flow.c | 56 +++- lib/meta-flow.xml | 6 +- lib/nx-match.c | 16 +- lib/odp-execute.c | 29 +- lib/odp-util.c | 152 +++++----- lib/ofp-actions.c | 49 ++++ lib/packets.c | 5 +- ofproto/ofproto-dpif-xlate.c | 42 ++- tests/nsh.at | 61 ++-- utilities/ovs-ofctl.8.in | 13 +- 19 files changed, 656 insertions(+), 250 deletions(-) -- 2.1.0 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev