Home
last modified time | relevance | path

Searched refs:reserved_mtts (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dmr.c932 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()
Dfw.h82 int reserved_mtts; member
Dmain.c523 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()
Dresource_tracker.c435 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()
Dmlx4.h919 int reserved_mtts; member
Dfw.c868 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()
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_main.c230 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()
Dmthca_cmd.h135 int reserved_mtts; member
Dmthca_mr.c652 if (dev->limits.reserved_mtts) { in mthca_init_mr_table()
653 i = fls(dev->limits.reserved_mtts - 1); in mthca_init_mr_table()
Dmthca_cmd.c1096 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()
Dmthca_dev.h163 int reserved_mtts; member
/linux-6.1.9/include/linux/mlx4/
Ddevice.h577 int reserved_mtts; member