Browse Source

mlx4_core: Increase max number of QPs to 128K

With the advent large clusters which utilize multicore hosts, 64K QPs
is not enough.  We should increase the default maximum for QPs to 128K.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Jack Morgenstein 17 năm trước cách đây
mục cha
commit
9b1f38515c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/net/mlx4/main.c

+ 1 - 1
drivers/net/mlx4/main.c

@@ -76,7 +76,7 @@ static char mlx4_version[] __devinitdata =
 	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,