diff mbox

mlx4_core: Modify default value of log_rdmarc_per_qp to be consistent with HW capability

Message ID 1418060758-22411-1-git-send-email-yuval.shaia@oracle.com (mailing list archive)
State Rejected
Headers show

Commit Message

Yuval Shaia Dec. 8, 2014, 5:45 p.m. UTC
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.wang@oracle.com>
Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
---
 drivers/net/ethernet/mellanox/mlx4/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Or Gerlitz Dec. 9, 2014, 5:45 p.m. UTC | #1
On Mon, Dec 8, 2014 at 7:45 PM, Yuval Shaia <yuval.shaia@oracle.com> wrote:
> 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.

Do you have any performance data to support this change?
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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,