summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-01-27 17:20:25 +0300
committerDavid S. Miller <davem@davemloft.net>2016-01-29 02:55:32 +0300
commit3f47f867814cdb08cd43d4b82f95bfde4a9ae579 (patch)
tree0ae9a28c0252e48ee0df1ae7ed9f30462253bd41 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent304f51584f4591789539c0d37fc359bc129a4ff0 (diff)
downloadlinux-3f47f867814cdb08cd43d4b82f95bfde4a9ae579.tar.xz
mlxsw: spectrum: Compare local ports instead of pointers
When dumping the FDB we can't compare the actual pointers of the ports structs, as it's possible the struct represents a vPort instead of the underlying physical port. Solve this by comparing the local port number instead, as it's shared between the physical ports and all the vPorts on top of him. Fixes: 54a732018d8e ("mlxsw: spectrum: Adjust switchdev ops for VLAN devices") 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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions