[ovs-git] [openvswitch/ovs] 0c7930: datapath: Support VXLAN Group Policy extension

GitHub noreply at github.com
Fri Feb 6 20:11:45 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 0c7930a3651e6cd7479cd24852018cfa7819dd5c
      https://github.com/openvswitch/ovs/commit/0c7930a3651e6cd7479cd24852018cfa7819dd5c
  Author: Thomas Graf <tgraf at noironetworks.com>
  Date:   2015-02-06 (Fri, 06 Feb 2015)

  Changed paths:
    M datapath/Modules.mk
    M datapath/flow_netlink.c
    M datapath/linux/compat/include/linux/openvswitch.h
    M datapath/linux/compat/include/net/ip_tunnels.h
    M datapath/vport-geneve.c
    M datapath/vport-vxlan.c
    A datapath/vport-vxlan.h

  Log Message:
  -----------
  datapath: Support VXLAN Group Policy extension

Upstream commit:
    openvswitch: Support VXLAN Group Policy extension

    Introduces support for the group policy extension to the VXLAN virtual
    port. The extension is disabled by default and only enabled if the user
    has provided the respective configuration.

      ovs-vsctl add-port br0 vxlan0 -- \
   set Interface vxlan0 type=vxlan options:exts=gbp

    The configuration interface to enable the extension is based on a new
    attribute OVS_VXLAN_EXT_GBP nested inside OVS_TUNNEL_ATTR_EXTENSION
    which can carry additional extensions as needed in the future.

    The group policy metadata is stored as binary blob (struct ovs_vxlan_opts)
    internally just like Geneve options but transported as nested Netlink
    attributes to user space.

    Renames the existing TUNNEL_OPTIONS_PRESENT to TUNNEL_GENEVE_OPT with the
    binary value kept intact, a new flag TUNNEL_VXLAN_OPT is introduced.

    The attributes OVS_TUNNEL_KEY_ATTR_VXLAN_OPTS and existing
    OVS_TUNNEL_KEY_ATTR_GENEVE_OPTS are implemented mutually exclusive.

    Signed-off-by: Thomas Graf <tgraf at suug.ch>
    Signed-off-by: David S. Miller <davem at davemloft.net>

Upstream: 1dd144 ("openvswitch: Support VXLAN Group Policy extension")
Signed-off-by: Thomas Graf <tgraf at noironetworks.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


  Commit: 44e1f2a897b8b0fd31846f212aadcf04cef01047
      https://github.com/openvswitch/ovs/commit/44e1f2a897b8b0fd31846f212aadcf04cef01047
  Author: Thomas Graf <tgraf at noironetworks.com>
  Date:   2015-02-06 (Fri, 06 Feb 2015)

  Changed paths:
    M datapath/linux/compat/include/net/vxlan.h
    M datapath/linux/compat/vxlan.c
    M datapath/vport-vxlan.c

  Log Message:
  -----------
  datapath: Account for "vxlan: Eliminate dependency on UDP socket in transmit path"

Excludes VXLAN_F_REMCSUM_TX bits as OVS currently doesn't support it.

Upstream commit:
    vxlan: Eliminate dependency on UDP socket in transmit path

    In the vxlan transmit path there is no need to reference the socket
    for a tunnel which is needed for the receive side. We do, however,
    need the vxlan_dev flags. This patch eliminate references
    to the socket in the transmit path, and changes VXLAN_F_UNSHAREABLE
    to be VXLAN_F_RCV_FLAGS. This mask is used to store the flags
    applicable to receive (GBP, CSUM6_RX, and REMCSUM_RX) in the
    vxlan_sock flags.

    Signed-off-by: Tom Herbert <therbert at google.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

Upstream: af33c1adae1e ("vxlan: Eliminate dependency on UDP socket in transmit path")
Signed-off-by: Thomas Graf <tgraf at noironetworks.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


  Commit: adfaaeacedb705eb482bf642c54d539088ab5542
      https://github.com/openvswitch/ovs/commit/adfaaeacedb705eb482bf642c54d539088ab5542
  Author: Thomas Graf <tgraf at noironetworks.com>
  Date:   2015-02-06 (Fri, 06 Feb 2015)

  Changed paths:
    M FAQ.md
    M NEWS
    M acinclude.m4

  Log Message:
  -----------
  datapath: Allow building against 3.19.x

Signed-off-by: Thomas Graf <tgraf at noironetworks.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


  Commit: 526df7d8543f7f651059338e42f409f04bb9970b
      https://github.com/openvswitch/ovs/commit/526df7d8543f7f651059338e42f409f04bb9970b
  Author: Thomas Graf <tgraf at noironetworks.com>
  Date:   2015-02-06 (Fri, 06 Feb 2015)

  Changed paths:
    M lib/dpif-netlink.c
    M lib/netdev-vport.c
    M lib/netdev.h
    M vswitchd/vswitch.xml

  Log Message:
  -----------
  tunnel: Provide framework for tunnel extensions for VXLAN-GBP and others

Supports a new "exts" field in the tunnel configuration which takes a
comma separated list of enabled extensions.

The only extension supported so far is GBP but this can be used to
enable RCO and possibly others as soon as the OVS datapath supports
them.

Signed-off-by: Thomas Graf <tgraf at noironetworks.com>
Acked-by: Ben Pfaff <blp at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/274231631a1a...526df7d8543f


More information about the git mailing list