aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mthca/mthca_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_main.c')
-rw-r--r--drivers/infiniband/hw/mthca/mthca_main.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_main.c b/drivers/infiniband/hw/mthca/mthca_main.c
index 7912b262a4cf..fdfc2b788e64 100644
--- a/drivers/infiniband/hw/mthca/mthca_main.c
+++ b/drivers/infiniband/hw/mthca/mthca_main.c
@@ -73,14 +73,15 @@ static const char mthca_version[] __devinitdata =
73 DRV_VERSION " (" DRV_RELDATE ")\n"; 73 DRV_VERSION " (" DRV_RELDATE ")\n";
74 74
75static struct mthca_profile default_profile = { 75static struct mthca_profile default_profile = {
76 .num_qp = 1 << 16, 76 .num_qp = 1 << 16,
77 .rdb_per_qp = 4, 77 .rdb_per_qp = 4,
78 .num_cq = 1 << 16, 78 .num_cq = 1 << 16,
79 .num_mcg = 1 << 13, 79 .num_mcg = 1 << 13,
80 .num_mpt = 1 << 17, 80 .num_mpt = 1 << 17,
81 .num_mtt = 1 << 20, 81 .num_mtt = 1 << 20,
82 .num_udav = 1 << 15, /* Tavor only */ 82 .num_udav = 1 << 15, /* Tavor only */
83 .uarc_size = 1 << 18, /* Arbel only */ 83 .fmr_reserved_mtts = 1 << 18, /* Tavor only */
84 .uarc_size = 1 << 18, /* Arbel only */
84}; 85};
85 86
86static int __devinit mthca_tune_pci(struct mthca_dev *mdev) 87static int __devinit mthca_tune_pci(struct mthca_dev *mdev)