]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitb3c7ef0adadc5768e0baa786213c6bd1ce521a77
treea9f3fc900d30dc8629d43ee601f10b8c030b5459
parent3ad7a4b141ebd6091494913672d7166d5c2764e4
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