Skip to content
  • Roopa Prabhu's avatar
    bridge: uapi: add per vlan tunnel info · b3c7ef0a
    Roopa Prabhu authored
    
    
    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: default avatarRoopa Prabhu <roopa@cumulusnetworks.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    b3c7ef0a