IB/mlx4: Fix device max capabilities check
authorEli Cohen <eli@dev.mellanox.co.il>
Thu, 31 Oct 2013 13:26:34 +0000 (15:26 +0200)
committerRoland Dreier <roland@purestorage.com>
Fri, 15 Nov 2013 22:36:36 +0000 (14:36 -0800)
commit79d3da9c51a5fef672b329b8d8583a089d147bef
tree6d19ba728b69f7a49a008abac9c0081c97ff5402
parent2b136d025348774633a2f6fc2a87f0cf409a3ab9
IB/mlx4: Fix device max capabilities check

Move the check on max supported CQEs after the final number of entries is
evaluated.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx4/cq.c