diff options
author | Ido Schimmel <[email protected]> | 2016-06-20 23:04:16 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-06-21 05:02:50 -0400 |
commit | 6381b3a85feba85bba671a2f1299550e43a7abb1 (patch) | |
tree | 79dd8947d37919c052b120b7b6f93148d8618c80 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 14d39461b3f4f0f827db64a2f1fc7bc44c452684 (diff) |
mlxsw: spectrum: Check if port is vPort using its VID
When L3 interfaces will be introduced a vPort won't necessarily have a
FID assigned to it. This can happen if it's not member in a bridge (in
which case it's assigned a vFID) or doesn't have an IP address (in which
case it's assigned an rFID).
Therefore, instead check the VID parameter to test whether a port is a
vPort or not.
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions