Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mthca/
Dmthca_main.c95 .num_mtt = MTHCA_DEFAULT_NUM_MTT,
117 module_param_named(num_mtt, hca_profile.num_mtt, int, 0444);
118 MODULE_PARM_DESC(num_mtt,
1210 mthca_check_profile_val(num_mtt, MTHCA_DEFAULT_NUM_MTT); in mthca_validate_profile()
1214 if (hca_profile.fmr_reserved_mtts >= hca_profile.num_mtt) { in mthca_validate_profile()
1218 hca_profile.num_mtt); in mthca_validate_profile()
1219 hca_profile.fmr_reserved_mtts = hca_profile.num_mtt / 2; in mthca_validate_profile()
Dmthca_profile.h47 int num_mtt; member
Dmthca_cmd.h288 int num_mtt);
Dmthca_profile.c107 profile[MTHCA_RES_MTT].num = request->num_mtt; in mthca_make_profile()
Dmthca_cmd.c1618 int num_mtt) in mthca_WRITE_MTT() argument
1620 return mthca_cmd(dev, mailbox->dma, num_mtt, 0, CMD_WRITE_MTT, in mthca_WRITE_MTT()
/drivers/net/ethernet/mellanox/mlx4/
Dprofile.c105 request->num_mtt = in mlx4_make_profile()
106 roundup_pow_of_two(max_t(unsigned, request->num_mtt, in mlx4_make_profile()
133 profile[MLX4_RES_MTT].num = request->num_mtt * (1 << log_mtts_per_seg); in mlx4_make_profile()
Dmlx4.h425 unsigned num_mtt; member
Dmain.c133 .num_mtt = 1 << 20, /* It is really num mtt segements */
143 .num_mtt = 1 << 7,