Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
H A Dmthca_profile.h47 int num_mtt; member
H A 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,
1225 mthca_check_profile_val(num_mtt, MTHCA_DEFAULT_NUM_MTT); in mthca_validate_profile()
1229 if (hca_profile.fmr_reserved_mtts >= hca_profile.num_mtt) { in mthca_validate_profile()
1232 printk(KERN_WARNING PFX "(Must be smaller than num_mtt %d)\n", in mthca_validate_profile()
1233 hca_profile.num_mtt); in mthca_validate_profile()
1234 hca_profile.fmr_reserved_mtts = hca_profile.num_mtt / 2; in mthca_validate_profile()
H A Dmthca_profile.c109 profile[MTHCA_RES_MTT].num = request->num_mtt; in mthca_make_profile()
H A Dmthca_cmd.h288 int num_mtt);
H A Dmthca_cmd.c1618 int num_mtt) in mthca_WRITE_MTT()
1620 return mthca_cmd(dev, mailbox->dma, num_mtt, 0, CMD_WRITE_MTT, in mthca_WRITE_MTT()
1617 mthca_WRITE_MTT(struct mthca_dev *dev, struct mthca_mailbox *mailbox, int num_mtt) mthca_WRITE_MTT() argument
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/
H A Dmthca_profile.h47 int num_mtt; member
H A 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()
1217 printk(KERN_WARNING PFX "(Must be smaller than num_mtt %d)\n", 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()
H A Dmthca_cmd.h288 int num_mtt);
H A Dmthca_profile.c107 profile[MTHCA_RES_MTT].num = request->num_mtt; in mthca_make_profile()
H A Dmthca_cmd.c1618 int num_mtt) in mthca_WRITE_MTT()
1620 return mthca_cmd(dev, mailbox->dma, num_mtt, 0, CMD_WRITE_MTT, in mthca_WRITE_MTT()
1617 mthca_WRITE_MTT(struct mthca_dev *dev, struct mthca_mailbox *mailbox, int num_mtt) mthca_WRITE_MTT() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A 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()
H A Dmlx4.h425 unsigned num_mtt; member
H A Dmain.c133 .num_mtt = 1 << 20, /* It is really num mtt segements */
143 .num_mtt = 1 << 7,
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A 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()
H A Dmlx4.h427 unsigned num_mtt; member
H A Dmain.c132 .num_mtt = 1 << 20, /* It is really num mtt segements */
142 .num_mtt = 1 << 7,

Completed in 28 milliseconds