summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorKamal Heib <kamalh@mellanox.com>2017-01-18 14:10:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-18 19:18:44 +0800
commit42b16fffb79bb925f579d2b4e1835835088682f8 (patch)
tree3d191ecc8bd081bf56ed4361e9a72428d493f0b5 /lib/mpi/mpiutil.c
parentdc37bb8db47b16395dfa05b59ee2e6fb9cbd6d07 (diff)
IB/mlx5: Verify that Q counters are supported
commit 45bded2c216da6010184ac5ebe88c27f73439009 upstream. 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') 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions