[ovs-git] [openvswitch/ovs] cbac29: NSH: Minor bugfixes

GitHub noreply at github.com
Wed Nov 8 20:43:05 UTC 2017


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: cbac293e36f4ff114a4c70dfccb31438cc3105db
      https://github.com/openvswitch/ovs/commit/cbac293e36f4ff114a4c70dfccb31438cc3105db
  Author: Jan Scheurich <jan.scheurich at ericsson.com>
  Date:   2017-11-08 (Wed, 08 Nov 2017)

  Changed paths:
    M datapath/linux/compat/include/linux/openvswitch.h
    M lib/flow.c
    M lib/odp-util.c
    M lib/packets.c

  Log Message:
  -----------
  NSH: Minor bugfixes

- Fix 2 incorrect length checks
- Remove unnecessary limit of MD length to 16 bytes
- Remove incorrect comments stating MD2 was not supported
- Pad metadata in encap_nsh with zeroes if not multiple of 4 bytes

Signed-off-by: Jan Scheurich <jan.scheurich at ericsson.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 885bce9188b5019e5ae20013a4c9492fe4029523
      https://github.com/openvswitch/ovs/commit/885bce9188b5019e5ae20013a4c9492fe4029523
  Author: Jan Scheurich <jan.scheurich at ericsson.com>
  Date:   2017-11-08 (Wed, 08 Nov 2017)

  Changed paths:
    M NEWS
    M include/openvswitch/nsh.h
    M lib/flow.c
    M lib/odp-execute.c
    M lib/packets.c

  Log Message:
  -----------
  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 at ericsson.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/7985a1709b24...885bce9188b5


More information about the git mailing list