Searched refs:num_mtt (Results 1 - 16 of 16) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
H A D | mthca_profile.h | 47 int num_mtt; member
|
H A D | mthca_main.c | 95 .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 D | mthca_profile.c | 109 profile[MTHCA_RES_MTT].num = request->num_mtt; in mthca_make_profile()
|
H A D | mthca_cmd.h | 288 int num_mtt);
|
H A D | mthca_cmd.c | 1618 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 D | mthca_profile.h | 47 int num_mtt; member
|
H A D | mthca_main.c | 95 .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 D | mthca_cmd.h | 288 int num_mtt);
|
H A D | mthca_profile.c | 107 profile[MTHCA_RES_MTT].num = request->num_mtt; in mthca_make_profile()
|
H A D | mthca_cmd.c | 1618 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 D | profile.c | 105 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 D | mlx4.h | 425 unsigned num_mtt; member
|
H A D | main.c | 133 .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 D | profile.c | 105 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 D | mlx4.h | 427 unsigned num_mtt; member
|
H A D | main.c | 132 .num_mtt = 1 << 20, /* It is really num mtt segements */ 142 .num_mtt = 1 << 7,
|
Completed in 28 milliseconds