diff options
author | 2014-12-14 16:18:05 +0200 | |
---|---|---|
committer | 2014-12-15 11:34:54 -0500 | |
commit | c78e25edbf3ed87b23709c9b0732be5fa00d5f9f (patch) | |
tree | d585c494c1abfbc156da51e5872930542128667a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net/mlx4_core: Fixed memory leak and incorrect refcount in mlx4_load_one (diff) | |
download | wireguard-linux-c78e25edbf3ed87b23709c9b0732be5fa00d5f9f.tar.xz wireguard-linux-c78e25edbf3ed87b23709c9b0732be5fa00d5f9f.zip |
net/mlx4_core: Avoid double dumping of the PF device capabilities
To support asymmetric EQ allocations, we should query the device
capabilities prior to enabling SRIOV. As a side effect of adding that,
we are dumping the PF device capabilities twice. Avoid that by moving
the printing into a helper function which is called once.
Fixes: 7ae0e400cd93 ('net/mlx4_core: Flexible (asymmetric) allocation of
EQs and MSI-X vectors for PF/VFs')
Signed-off-by: Or Gerlitz <ogerlitz@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