diff options
author | Ido Schimmel <idosch@mellanox.com> | 2018-11-28 20:07:02 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-30 17:06:29 -0800 |
commit | 48fde4660654d5bbaa09c2a38fa9ca7c72f1a95e (patch) | |
tree | 96723d02d78c661168a090c791417b8a052c5c17 /drivers/ssb/driver_chipcommon.c | |
parent | b03fa9e7e0cfe9ae5f3d294bbb60b5acd02dbfde (diff) | |
download | linux-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/ssb/driver_chipcommon.c')
0 files changed, 0 insertions, 0 deletions