This value is used to calculate max_qp_dest_rdma.
Default value of 4 brings us to 16 while HW supports 128 (max_requester_per_qp).
Although this value can be changed by module param it is best that default be 
optimized.

Acked-by: Wengang Wang <wen.gang.w...@oracle.com>
Signed-off-by: Yuval Shaia <yuval.sh...@oracle.com>
---
 drivers/net/ethernet/mellanox/mlx4/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ethernet/mellanox/mlx4/main.c 
b/drivers/net/ethernet/mellanox/mlx4/main.c
index 90de6e1..f076689 100644
--- a/drivers/net/ethernet/mellanox/mlx4/main.c
+++ b/drivers/net/ethernet/mellanox/mlx4/main.c
@@ -114,7 +114,7 @@ static char mlx4_version[] =
 static struct mlx4_profile default_profile = {
        .num_qp         = 1 << 18,
        .num_srq        = 1 << 16,
-       .rdmarc_per_qp  = 1 << 4,
+       .rdmarc_per_qp  = 1 << 7,
        .num_cq         = 1 << 16,
        .num_mcg        = 1 << 13,
        .num_mpt        = 1 << 19,
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to