IB/mlx4: Increase max outstanding RDMA reads as target
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Tue, 17 Jul 2007 10:11:43 +0000 (13:11 +0300)
committerRoland Dreier <rolandd@cisco.com>
Wed, 18 Jul 2007 03:50:50 +0000 (20:50 -0700)
Change the maximum number of outstanding RDMA reads allowed as a
target from 4 to 16 to per QP.  This allows RDMA read operations to
pipeline better.

Pointed out by Dotan Barak and Sagi Rotem.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/net/mlx4/main.c

index e8f45e6aa95b855b4b0fe4589d1082cec48cdb8d..4dc9dc19b7167a22bc69e8750aaccec6ccb0417e 100644 (file)
@@ -78,7 +78,7 @@ static const char mlx4_version[] __devinitdata =
 static struct mlx4_profile default_profile = {
        .num_qp         = 1 << 16,
        .num_srq        = 1 << 16,
-       .rdmarc_per_qp  = 4,
+       .rdmarc_per_qp  = 1 << 4,
        .num_cq         = 1 << 16,
        .num_mcg        = 1 << 13,
        .num_mpt        = 1 << 17,