diff options
| author | Ido Schimmel <idosch@mellanox.com> | 2017-03-16 11:08:16 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-03-16 20:18:34 +0300 |
| commit | 57837885e3c74e42596a8d8c3e6831be1c0a7974 (patch) | |
| tree | e3bead7b5d6642713089397224c68fdf0d0a89fd /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | fdeea7be88b12742bfd50d9e19a06c0d2e702400 (diff) | |
| download | linux-57837885e3c74e42596a8d8c3e6831be1c0a7974.tar.xz | |
mlxsw: spectrum_router: Associate RIFs with correct VR
When a router interface (RIF) is created due to a netdev being enslaved
to a VRF master, then it should be associated with the appropriate
virtual router (VR) and not the default one.
If netdev is a VRF slave, lookup the VR based on the VRF's table ID.
Otherwise default to the MAIN table.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
