summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2018-11-28 20:07:02 +0000
committerDavid S. Miller <davem@davemloft.net>2018-11-30 17:06:29 -0800
commit48fde4660654d5bbaa09c2a38fa9ca7c72f1a95e (patch)
tree96723d02d78c661168a090c791417b8a052c5c17 /drivers/usb
parentb03fa9e7e0cfe9ae5f3d294bbb60b5acd02dbfde (diff)
downloadlinux-48fde4660654d5bbaa09c2a38fa9ca7c72f1a95e.tar.bz2
mlxsw: spectrum_switchdev: Prepare function for VLAN-aware bridges
The vxlan_join() function resolves the FID on which the VNI should be set and then sets the VNI. Currently, the FID is simply resolved according to the ifindex of the bridge device to which the VxLAN device is enslaved. This works because only VLAN-unaware bridges are supported. With VLAN-aware bridges the FID would need to be resolved based on the VLAN to which the VNI is mapped to. Add the VLAN ID to the argument list of the function. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions