IB/mlx5: Expose correct maximum number of CQE capacity
authorLeon Romanovsky <leonro@mellanox.com>
Thu, 14 Jan 2016 06:11:40 +0000 (08:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Mar 2016 23:07:25 +0000 (15:07 -0800)
commit2f59395e47008b7a6fafbf56b657222c57b1a92a
tree4b54f90400515e30d5d34b262f4db43785fe7f06
parente759d3185f48fbeb6e4e3f741120c7689741decd
IB/mlx5: Expose correct maximum number of CQE capacity

commit 9f17768611ebf81dfac69948dd12622b6f2e45fc upstream.

Maximum number of EQE capacity per CQ was mistakenly exposed
as CQE. Fix that.

Fixes: 938fe83c8dcb ("net/mlx5_core: New device capabilities handling")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/mlx5/main.c