mlx4_core: Increase max number of QPs to 128K
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Thu, 17 Apr 2008 04:09:32 +0000 (21:09 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 17 Apr 2008 04:09:32 +0000 (21:09 -0700)
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>
drivers/net/mlx4/main.c

index 7cfbe75114d1de19f2cf214d53f86cac1f6a53a4..bbeb52ed128518d154415252bf5adce36206bd90 100644 (file)
@@ -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,