diff options
author | Petr Machata <[email protected]> | 2018-06-25 10:48:14 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-06-26 18:05:21 +0900 |
commit | e6f1960ae6c736b7bb65a012809eb7c3654b42d7 (patch) | |
tree | 243380b69cb48f1d7b968566c889cdb60e53eb28 /lib/test_overflow.c | |
parent | 5f15e257e1e2bd17830fdf32ac715ca4a29a504f (diff) |
mlxsw: spectrum_router: Allocate FID according to PVID
For bridge netdevices, instead of assuming that the router traffic is on
VLAN 1, look at the bridge PVID.
This patch assumes that the PVID doesn't change after the router
interface is created (i.e. after the IP address is assigned).
Signed-off-by: Petr Machata <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions