1. 29 1月, 2015 1 次提交
  2. 15 1月, 2015 2 次提交
    • T
      openvswitch: Support VXLAN Group Policy extension · 1dd144cf
      Thomas Graf 提交于
      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: NThomas Graf <tgraf@suug.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1dd144cf
    • F
      openvswitch: Introduce ovs_tunnel_route_lookup · 3f4c1d87
      Fan Du 提交于
      Introduce ovs_tunnel_route_lookup to consolidate route lookup
      shared by vxlan, gre, and geneve ports.
      Signed-off-by: NFan Du <fan.du@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3f4c1d87
  3. 14 1月, 2015 1 次提交
  4. 24 12月, 2014 1 次提交
  5. 10 11月, 2014 2 次提交
  6. 29 10月, 2014 1 次提交
  7. 16 10月, 2014 1 次提交
  8. 07 10月, 2014 1 次提交
    • A
      openvswitch: fix a sparse warning · 0a5d1c55
      Andy Zhou 提交于
      Fix a sparse warning introduced by commit:
      f5796684 (openvswitch: Add support for
      Geneve tunneling.) caught by kbuild test robot:
      
      reproduce:
        # apt-get install sparse
        #   git checkout f5796684
        #     make ARCH=x86_64 allmodconfig
        #       make C=1 CF=-D__CHECK_ENDIAN__
        #
        #
        #       sparse warnings: (new ones prefixed by >>)
        #
        #       >> net/openvswitch/vport-geneve.c:109:15: sparse: incorrect type in assignment (different base types)
        #          net/openvswitch/vport-geneve.c:109:15:    expected restricted __be16 [usertype] sport
        #             net/openvswitch/vport-geneve.c:109:15:    got int
        #             >> net/openvswitch/vport-geneve.c:110:56: sparse: incorrect type in argument 3 (different base types)
        #                net/openvswitch/vport-geneve.c:110:56:    expected unsigned short [unsigned] [usertype] value
        #                   net/openvswitch/vport-geneve.c:110:56:    got restricted __be16 [usertype] sport
      Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: NAndy Zhou <azhou@nicira.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0a5d1c55
  9. 06 10月, 2014 1 次提交