Searched refs:reserved_mtts (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | mr.c | 932 if (dev->caps.reserved_mtts) { in mlx4_init_mr_table() 933 priv->reserved_mtts = in mlx4_init_mr_table() 935 fls(dev->caps.reserved_mtts - 1)); in mlx4_init_mr_table() 936 if (priv->reserved_mtts < 0) { in mlx4_init_mr_table() 962 if (priv->reserved_mtts >= 0) in mlx4_cleanup_mr_table() 963 mlx4_free_mtt_range(dev, priv->reserved_mtts, in mlx4_cleanup_mr_table() 964 fls(dev->caps.reserved_mtts - 1)); in mlx4_cleanup_mr_table()
|
D | fw.h | 82 int reserved_mtts; member
|
D | main.c | 523 dev->caps.reserved_mtts = dev_cap->reserved_mtts; in mlx4_dev_cap() 1696 dev->caps.reserved_mtts = in mlx4_init_icm() 1697 ALIGN(dev->caps.reserved_mtts * dev->caps.mtt_entry_sz, in mlx4_init_icm() 1704 dev->caps.reserved_mtts, 1, 0); in mlx4_init_icm()
|
D | resource_tracker.c | 435 res_alloc->res_free += dev->caps.reserved_mtts; in initialize_res_quotas() 436 res_alloc->guaranteed[vf] += dev->caps.reserved_mtts; in initialize_res_quotas() 437 res_alloc->quota[vf] += dev->caps.reserved_mtts; in initialize_res_quotas() 456 dev->quotas.mtt = dev->caps.num_mtts - dev->caps.reserved_mtts; in mlx4_init_quotas() 580 dev->caps.reserved_mtts); in mlx4_init_resource_tracker()
|
D | mlx4.h | 918 int reserved_mtts; member
|
D | fw.c | 868 dev_cap->reserved_mtts = 1 << (field >> 4); in mlx4_QUERY_DEV_CAP() 1152 dev_cap->reserved_mrws, dev_cap->reserved_mtts); in mlx4_dev_cap_dump()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_main.c | 230 mdev->limits.reserved_mtts = dev_lim->reserved_mtts; in mthca_dev_lim() 418 mdev->limits.reserved_mtts = ALIGN(mdev->limits.reserved_mtts * mdev->limits.mtt_seg_size, in mthca_init_icm() 424 mdev->limits.reserved_mtts, in mthca_init_icm()
|
D | mthca_cmd.h | 135 int reserved_mtts; member
|
D | mthca_mr.c | 655 if (dev->limits.reserved_mtts) { in mthca_init_mr_table() 656 i = fls(dev->limits.reserved_mtts - 1); in mthca_init_mr_table()
|
D | mthca_cmd.c | 1096 dev_lim->reserved_mtts = ALIGN((1 << (field >> 4)) * sizeof(u64), in mthca_QUERY_DEV_LIM() 1099 dev_lim->reserved_mtts = 1 << (field >> 4); in mthca_QUERY_DEV_LIM() 1225 dev_lim->reserved_mrws, dev_lim->reserved_mtts); in mthca_QUERY_DEV_LIM()
|
D | mthca_dev.h | 163 int reserved_mtts; member
|
/kernel/linux/linux-5.10/include/linux/mlx4/ |
D | device.h | 578 int reserved_mtts; member
|