diff options
| author | Kamal Heib <kamalh@mellanox.com> | 2017-01-18 15:10:32 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-02-14 18:14:25 +0300 |
| commit | 45bded2c216da6010184ac5ebe88c27f73439009 (patch) | |
| tree | 7910d9250962b3a1ad704702c28129c1fffeb0b8 /tools/perf/scripts/python/futex-contention.py | |
| parent | 12bbf1ea7e3b35892dbb8636b978160bc9576b61 (diff) | |
| download | linux-45bded2c216da6010184ac5ebe88c27f73439009.tar.xz | |
IB/mlx5: Verify that Q counters are supported
Make sure that the Q counters are supported by the FW before trying
to allocate/deallocte them, this will avoid driver load failure when
they aren't supported by the FW.
Fixes: 0837e86a7a34 ('IB/mlx5: Add per port counters')
Cc: <stable@vger.kernel.org> # v4.7+
Signed-off-by: Kamal Heib <kamalh@mellanox.com>
Reviewed-by: Mark Bloch <markb@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/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
