IB/rxe: Increase max number of completions to 32k
authorYonatan Cohen <yonatanc@mellanox.com>
Wed, 16 Nov 2016 08:39:16 +0000 (10:39 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 13 Dec 2016 18:33:24 +0000 (13:33 -0500)
Increase limit of max CQE from 8K to 32K to allow demanding
applications to work over SoftRoCE with same configuration
as most RoCEv2 HW vendors have.

Fixes: 8700e3e7c485 ("Soft RoCE driver")
Signed-off-by: Yonatan Cohen <yonatanc@mellanox.com>
Reviewed-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_param.h

index f459c43a77c8334e2572f92d553c197bf3ed9229..13ed2cc6eaa2ac743877cf06b6687907baa40cf9 100644 (file)
@@ -82,7 +82,7 @@ enum rxe_device_param {
        RXE_MAX_SGE                     = 32,
        RXE_MAX_SGE_RD                  = 32,
        RXE_MAX_CQ                      = 16384,
-       RXE_MAX_LOG_CQE                 = 13,
+       RXE_MAX_LOG_CQE                 = 15,
        RXE_MAX_MR                      = 2 * 1024,
        RXE_MAX_PD                      = 0x7ffc,
        RXE_MAX_QP_RD_ATOM              = 128,