[ofa-general] [PATCH] mlx4_core: increase max number of qp's and of srq's to 128K

Jack Morgenstein jackm at dev.mellanox.co.il
Tue Nov 20 07:44:15 PST 2007


mlx4_core: increase max QPs/SRQs to 128K.

Signed-off-by: Jack Morgenstein <jackm at dev.mellanox.co.il>

---
Roland,
With the advent large clusters which utilize multicore hosts,
64K qp's is not enough.

We want to increase the default maxima for QPs and SRQs to 128K.

diff --git a/drivers/net/mlx4/main.c b/drivers/net/mlx4/main.c
index 89b3f0b..7d2064c 100644
--- a/drivers/net/mlx4/main.c
+++ b/drivers/net/mlx4/main.c
@@ -76,8 +76,8 @@ static const char mlx4_version[] __devinitdata =
 	DRV_VERSION " (" DRV_RELDATE ")\n";
 
 static struct mlx4_profile default_profile = {
-	.num_qp		= 1 << 16,
-	.num_srq	= 1 << 16,
+	.num_qp		= 1 << 17,
+	.num_srq	= 1 << 17,
 	.rdmarc_per_qp	= 1 << 4,
 	.num_cq		= 1 << 16,
 	.num_mcg	= 1 << 13,



More information about the general mailing list