[ovs-git] [openvswitch/ovs] 56e432: datapath: ether: add NSH ethertype

GitHub noreply at github.com
Thu Feb 8 16:49:33 UTC 2018


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 56e432df3ddd16d948cc79eaac1641175010fa0d
      https://github.com/openvswitch/ovs/commit/56e432df3ddd16d948cc79eaac1641175010fa0d
  Author: Yi Yang <yi.y.yang at intel.com>
  Date:   2018-02-08 (Thu, 08 Feb 2018)

  Changed paths:
    M datapath/linux/compat/include/linux/if_ether.h

  Log Message:
  -----------
  datapath: ether: add NSH ethertype

Upstream commit:
  commit 155e6f649757c902901e599c268f8b575ddac1f8
  Author: Jiri Benc <jbenc at redhat.com>
  Date:   Mon Aug 28 21:43:21 2017 +0200

    ether: add NSH ethertype

    The NSH draft says:
  An IEEE EtherType, 0x894F, has been allocated for NSH.

    Signed-off-by: Jiri Benc <jbenc at redhat.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

Signed-off-by: Yi Yang <yi.y.yang at intel.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Reviewed-by: Greg Rose <gvrose8192 at gmail.com>


  Commit: 2fd50461d1e7f4d4827bb9fea4db4442e1c28d91
      https://github.com/openvswitch/ovs/commit/2fd50461d1e7f4d4827bb9fea4db4442e1c28d91
  Author: Yi Yang <yi.y.yang at intel.com>
  Date:   2018-02-08 (Thu, 08 Feb 2018)

  Changed paths:
    M datapath/linux/Modules.mk
    A datapath/linux/compat/include/net/tun_proto.h
    M datapath/linux/compat/include/net/vxlan.h
    M datapath/linux/compat/vxlan.c

  Log Message:
  -----------
  datapath: vxlan: factor out VXLAN-GPE next protocol

Upstream commit:
  commit fa20e0e32cb3dfc1760b6254b64977f2fb5bd851
  Author: Jiri Benc <jbenc at redhat.com>
  Date:   Mon Aug 28 21:43:22 2017 +0200

    vxlan: factor out VXLAN-GPE next protocol

    The values are shared between VXLAN-GPE and NSH. Originally probably by
    coincidence but I notified both working groups about this last year and they
    seem to keep the values in sync since then.

    Hopefully they'll get a single IANA registry for the values, too. (I asked
    them for that.)

    Factor out the code to be shared by the NSH implementation.

    NSH and MPLS values are added in this patch, too. For MPLS, the drafts
    incorrectly assign only a single value, while we have two MPLS ethertypes.
    I raised the problem with both groups. For now, I assume the value is for
    unicast.

    Signed-off-by: Jiri Benc <jbenc at redhat.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

Signed-off-by: Yi Yang <yi.y.yang at intel.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Reviewed-by: Greg Rose <gvrose8192 at gmail.com>


  Commit: 56350a941302c01485751a81544d3fdd0e6897c2
      https://github.com/openvswitch/ovs/commit/56350a941302c01485751a81544d3fdd0e6897c2
  Author: Yi Yang <yi.y.yang at intel.com>
  Date:   2018-02-08 (Thu, 08 Feb 2018)

  Changed paths:
    M datapath/linux/Modules.mk
    A datapath/linux/compat/include/net/nsh.h

  Log Message:
  -----------
  datapath: net: add NSH header structures and helpers

Upstream commit:
  commit 1f0b7744c50573df464ca33d8e5275be509f852b
  Author: Yi Yang <yi.y.yang at intel.com>
  Date:   Mon Aug 28 21:43:23 2017 +0200

    net: add NSH header structures and helpers

    NSH (Network Service Header)[1] is a new protocol for service
    function chaining, it can be handled as a L3 protocol like
    IPv4 and IPv6, Eth + NSH + Inner packet or VxLAN-gpe + NSH +
    Inner packet are two typical use cases.

    This patch adds NSH header structures and helpers for NSH GSO
    support and Open vSwitch NSH support.

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

    [Jiri: added nsh_hdr() helper and renamed the header struct to "struct
    nshhdr" to match the usual pattern. Removed packet type defines, these are
    now shared with VXLAN-GPE.]

    Signed-off-by: Yi Yang <yi.y.yang at intel.com>
    Signed-off-by: Jiri Benc <jbenc at redhat.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

Signed-off-by: Yi Yang <yi.y.yang at intel.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Reviewed-by: Greg Rose <gvrose8192 at gmail.com>


  Commit: c0b6f594de86067860e1bbcd9612232ef777ce8d
      https://github.com/openvswitch/ovs/commit/c0b6f594de86067860e1bbcd9612232ef777ce8d
  Author: Yi Yang <yi.y.yang at intel.com>
  Date:   2018-02-08 (Thu, 08 Feb 2018)

  Changed paths:
    M datapath/Modules.mk
    M datapath/datapath.c
    M datapath/linux/compat/include/net/nsh.h

  Log Message:
  -----------
  datapath: nsh: add GSO support

Upstream commit:
  commit c411ed854584a71b0e86ac3019b60e4789d88086
  Author: Jiri Benc <jbenc at redhat.com>
  Date:   Mon Aug 28 21:43:24 2017 +0200

    nsh: add GSO support

    Add a new nsh/ directory. It currently holds only GSO functions but more
    will come: in particular, code shared by openvswitch and tc to manipulate
    NSH headers.

    For now, assume there's no hardware support for NSH segmentation. We can
    always introduce netdev->nsh_features later.

    Signed-off-by: Jiri Benc <jbenc at redhat.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

Signed-off-by: Yi Yang <yi.y.yang at intel.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Reviewed-by: Greg Rose <gvrose8192 at gmail.com>


  Commit: ca800314e8107177b1e9aa9e64718da563b4a622
      https://github.com/openvswitch/ovs/commit/ca800314e8107177b1e9aa9e64718da563b4a622
  Author: Yi Yang <yi.y.yang at intel.com>
  Date:   2018-02-08 (Thu, 08 Feb 2018)

  Changed paths:
    M NEWS
    M acinclude.m4
    M datapath/actions.c
    M datapath/flow.c
    M datapath/flow.h
    M datapath/flow_netlink.c
    M datapath/flow_netlink.h
    M datapath/linux/compat/include/linux/netdevice.h
    M datapath/linux/compat/include/linux/openvswitch.h
    M datapath/linux/compat/include/net/nsh.h
    A datapath/nsh.c

  Log Message:
  -----------
  datapath: enable NSH support

Upstream commit:
  commit b2d0f5d5dc53532e6f07bc546a476a55ebdfe0f3
  Author: Yi Yang <yi.y.yang at intel.com>
  Date:   Tue Nov 7 21:07:02 2017 +0800

    openvswitch: enable NSH support

    OVS master and 2.8 branch has merged NSH userspace
    patch series, this patch is to enable NSH support
    in kernel data path in order that OVS can support
    NSH in compat mode by porting this.

    Signed-off-by: Yi Yang <yi.y.yang at intel.com>
    Acked-by: Jiri Benc <jbenc at redhat.com>
    Acked-by: Eric Garver <e at erig.me>
    Acked-by: Pravin Shelar <pshelar at ovn.org>
    Signed-off-by: David S. Miller <davem at davemloft.net>

Signed-off-by: Yi Yang <yi.y.yang at intel.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Reviewed-by: Greg Rose <gvrose8192 at gmail.com>


Compare: https://github.com/openvswitch/ovs/compare/91eb0b1aab2f...ca800314e810


More information about the git mailing list