diff options
author | Ido Schimmel <idosch@mellanox.com> | 2017-03-16 09:08:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-16 10:18:34 -0700 |
commit | 57837885e3c74e42596a8d8c3e6831be1c0a7974 (patch) | |
tree | e3bead7b5d6642713089397224c68fdf0d0a89fd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fdeea7be88b12742bfd50d9e19a06c0d2e702400 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions