linux/drivers/infiniband/hw
Kamal Heib c818669952 IB/mlx5: Verify that Q counters are supported
commit 45bded2c21 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: 0837e86a7a ('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>
History 2017-03-18 19:14:35 +08:00
..
cxgb3 IB/cxgb3: Move user vendor structures 2016-10-07 16:54:35 -04:00
cxgb4 iw_cxgb4: set correct FetchBurstMax for QPs 2017-02-09 08:08:31 +01:00
hfi1 IB/hfi1: Remove incorrect IS_ERR check 2016-11-15 16:18:57 -05:00
hns IB/hns: Fix for removal of redundant code 2016-10-03 11:43:15 -04:00
i40iw i40iw: Use correct src address in memcpy to rdma stats counters 2017-01-09 08:32:24 +01:00
mlx4 IB/mlx4: Check if GRH is available before using it 2017-01-26 08:24:35 +01:00
mlx5 IB/mlx5: Verify that Q counters are supported 2017-03-18 19:14:35 +08:00
mthca mm: replace get_user_pages() write/force parameters with gup_flags 2016-10-19 08:11:43 -07:00
nes IB/nes: Move user vendor structures 2016-10-07 16:54:37 -04:00
ocrdma Merge of primary rdma-core code for 4.9 2016-10-09 17:04:33 -07:00
qedr Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-10-29 20:33:20 -07:00
qib mm: replace get_user_pages() write/force parameters with gup_flags 2016-10-19 08:11:43 -07:00
usnic mm: replace get_user_pages() write/force parameters with gup_flags 2016-10-19 08:11:43 -07:00
Makefile qedr: Add RoCE driver framework 2016-10-14 15:00:10 -04:00