]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: uapi: add per vlan tunnel info
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Wed, 1 Feb 2017 06:59:53 +0000 (22:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2017 20:21:21 +0000 (15:21 -0500)
commit893594423ac9af646e56db59bf0fe339b0d996c5
treea9f3fc900d30dc8629d43ee601f10b8c030b5459
parente9bfeb58a0ab33485f073867c3a34e037da95da0
bridge: uapi: add per vlan tunnel info

New nested netlink attribute to associate tunnel info per vlan.
This is used by bridge driver to send tunnel metadata to
bridge ports in vlan tunnel mode. This patch also adds new per
port flag IFLA_BRPORT_VLAN_TUNNEL to enable vlan tunnel mode.
off by default.

One example use for this is a vxlan bridging gateway or vtep
which maps vlans to vn-segments (or vnis). User can configure
per-vlan tunnel information which the bridge driver can use
to bridge vlan into the corresponding vn-segment.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_bridge.h
include/uapi/linux/if_bridge.h
include/uapi/linux/if_link.h