diff options
author | 2016-09-12 19:16:22 +0300 | |
---|---|---|
committer | 2016-09-16 14:14:08 -0400 | |
commit | 69d269d38910e697e461ec5677368f57d2046cbe (patch) | |
tree | ad2395cd655aa43b89f146e6c4ed4259fd7f2d89 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IB/mlx4: Use correct subnet-prefix in QP1 mads under SR-IOV (diff) | |
download | linux-dev-69d269d38910e697e461ec5677368f57d2046cbe.tar.xz linux-dev-69d269d38910e697e461ec5677368f57d2046cbe.zip |
IB/mlx4: Diagnostic HW counters are not supported in slave mode
Modify the mlx4_ib_diag_counters() to avoid the following error in the
hypervisor when the slave tries to query the hardware counters in SR-IOV
mode.
mlx4_core 0000:81:00.0: Unknown command:0x30 accepted from slave:1
Fixes: 3f85f2aaabf7 ("IB/mlx4: Add diagnostic hardware counters")
Signed-off-by: Kamal Heib <kamalh@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions