]> git.proxmox.com Git - ovs.git/commit - lib/odp-execute.c
NSH: Adjust NSH wire format to the latest IETF draft
authorJan Scheurich <jan.scheurich@ericsson.com>
Mon, 6 Nov 2017 23:40:21 +0000 (00:40 +0100)
committerBen Pfaff <blp@ovn.org>
Wed, 8 Nov 2017 20:33:45 +0000 (12:33 -0800)
commit9a180f2c002adf73951e0ee9990c44e5e5cd4a0f
tree0260f361e23e940481cb10ebb79e9ce0181e8f06
parent7edef47b4896135b2c4ca62e4458fb9a5f3fff44
NSH: Adjust NSH wire format to the latest IETF draft

This commit adjusts the NSH user space implementation in OVS to
the latest wire format defined in draft-ietf-sfc-nsh-28 (November 3
2017). The NSH_MDTYPE field was reduced from 8 to 4 bits. The FLAGS
field is reduced from 8 to 2 bits. A new 6 bit TTL header field is
added. The TTL field is set to 63 at encap(nsh).

Match and set_field support for the newly introduced TTL header field
and a corresponding dec_nsh_ttl action is not yet included and will be
implemented in a future patch.

Signed-off-by: Jan Scheurich <jan.scheurich@ericsson.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
NEWS
include/openvswitch/nsh.h
lib/flow.c
lib/odp-execute.c
lib/packets.c