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

Jack Morgenstein jackm at dev.mellanox.co.il
Wed Nov 28 00:08:10 PST 2007


mlx4_core: increase max QPs to 128K.

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

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

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

Index: ofa_1_3_dev_kernel/drivers/net/mlx4/main.c
===================================================================
--- ofa_1_3_dev_kernel.orig/drivers/net/mlx4/main.c	2007-11-21 17:51:56.000000000 +0200
+++ ofa_1_3_dev_kernel/drivers/net/mlx4/main.c	2007-11-22 10:26:04.000000000 +0200
@@ -76,7 +76,7 @@ static const char mlx4_version[] __devin
 	DRV_VERSION " (" DRV_RELDATE ")\n";
 
 static struct mlx4_profile default_profile = {
-	.num_qp		= 1 << 16,
+	.num_qp		= 1 << 17,
 	.num_srq	= 1 << 16,
 	.rdmarc_per_qp	= 1 << 4,
 	.num_cq		= 1 << 16,



More information about the general mailing list