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)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:24:53 +0000 (15:24 -0500)
commit9f17768611ebf81dfac69948dd12622b6f2e45fc
tree9678020ef86b7b6bbab95a27764822eb7d450436
parent28de1f74374da4f0f628b14bbccb07e5637d00b1
IB/mlx5: Expose correct maximum number of CQE capacity

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>
Cc: <stable@vger.kernel.org>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c