]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit69c5df66ddef45dc8d5735e195e25554ded9fa1d
treec684b2430b72958a76885c1f6f21fc67c389c57d
parent454cea00efb59c9bd98db1c560261cbb37e91f5d
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