vxlan: combine VXLAN_FLOWBASED into VXLAN_COLLECT_METADATA
authorAlexei Starovoitov <ast@plumgrid.com>
Wed, 5 Aug 2015 05:51:07 +0000 (22:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2015 18:46:34 +0000 (11:46 -0700)
commitda8b43c0e1dcea3bcac5f37ea59934ddaa137aed
treec684b2430b72958a76885c1f6f21fc67c389c57d
parente03c512841aa60363a6a5dcfb1e6fc19f35ec22d
vxlan: combine VXLAN_FLOWBASED into VXLAN_COLLECT_METADATA

IFLA_VXLAN_FLOWBASED is useless without IFLA_VXLAN_COLLECT_METADATA,
so combine them into single IFLA_VXLAN_COLLECT_METADATA flag.
'flowbased' doesn't convey real meaning of the vxlan tunnel mode.
This mode can be used by routing, tc+bpf and ovs.
Only ovs is strictly flow based, so 'collect metadata' is a better
name for this tunnel mode.

Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c
include/net/vxlan.h
include/uapi/linux/if_link.h
net/openvswitch/vport-vxlan.c