Searched refs:num_mtt (Results 1 - 8 of 8) sorted by relevance

/drivers/infiniband/hw/mthca/
H A Dmthca_profile.h47 int num_mtt; member in struct:mthca_profile
H A Dmthca_main.c96 .num_mtt = MTHCA_DEFAULT_NUM_MTT,
118 module_param_named(num_mtt, hca_profile.num_mtt, int, 0444);
119 MODULE_PARM_DESC(num_mtt,
1233 mthca_check_profile_val(num_mtt, MTHCA_DEFAULT_NUM_MTT);
1237 if (hca_profile.fmr_reserved_mtts >= hca_profile.num_mtt) {
1240 printk(KERN_WARNING PFX "(Must be smaller than num_mtt %d)\n",
1241 hca_profile.num_mtt);
1242 hca_profile.fmr_reserved_mtts = hca_profile.num_mtt / 2;
H A Dmthca_cmd.h288 int num_mtt);
H A Dmthca_profile.c110 profile[MTHCA_RES_MTT].num = request->num_mtt;
H A Dmthca_cmd.c1616 int num_mtt)
1618 return mthca_cmd(dev, mailbox->dma, num_mtt, 0, CMD_WRITE_MTT,
1615 mthca_WRITE_MTT(struct mthca_dev *dev, struct mthca_mailbox *mailbox, int num_mtt) argument
/drivers/net/ethernet/mellanox/mlx4/
H A Dprofile.c106 request->num_mtt =
107 roundup_pow_of_two(max_t(unsigned, request->num_mtt,
132 profile[MLX4_RES_MTT].num = request->num_mtt * (1 << log_mtts_per_seg);
H A Dmlx4.h406 unsigned num_mtt; member in struct:mlx4_profile
H A Dmain.c111 .num_mtt = 1 << 20, /* It is really num mtt segements */

Completed in 76 milliseconds