Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Dmr.c936 if (dev->caps.reserved_mtts) { in mlx4_init_mr_table()
937 priv->reserved_mtts = in mlx4_init_mr_table()
939 fls(dev->caps.reserved_mtts - 1)); in mlx4_init_mr_table()
940 if (priv->reserved_mtts < 0) { in mlx4_init_mr_table()
966 if (priv->reserved_mtts >= 0) in mlx4_cleanup_mr_table()
967 mlx4_free_mtt_range(dev, priv->reserved_mtts, in mlx4_cleanup_mr_table()
968 fls(dev->caps.reserved_mtts - 1)); in mlx4_cleanup_mr_table()
Dfw.h80 int reserved_mtts; member
Dmain.c386 dev->caps.reserved_mtts = dev_cap->reserved_mtts; in mlx4_dev_cap()
1454 dev->caps.reserved_mtts = in mlx4_init_icm()
1455 ALIGN(dev->caps.reserved_mtts * dev->caps.mtt_entry_sz, in mlx4_init_icm()
1462 dev->caps.reserved_mtts, 1, 0); in mlx4_init_icm()
Dresource_tracker.c427 res_alloc->res_free += dev->caps.reserved_mtts; in initialize_res_quotas()
428 res_alloc->guaranteed[vf] += dev->caps.reserved_mtts; in initialize_res_quotas()
429 res_alloc->quota[vf] += dev->caps.reserved_mtts; in initialize_res_quotas()
448 dev->quotas.mtt = dev->caps.num_mtts - dev->caps.reserved_mtts; in mlx4_init_quotas()
570 dev->caps.reserved_mtts); in mlx4_init_resource_tracker()
Dmlx4.h900 int reserved_mtts; member
Dfw.c761 dev_cap->reserved_mtts = 1 << (field >> 4); in mlx4_QUERY_DEV_CAP()
1023 dev_cap->reserved_mrws, dev_cap->reserved_mtts); in mlx4_dev_cap_dump()
/drivers/infiniband/hw/mthca/
Dmthca_main.c231 mdev->limits.reserved_mtts = dev_lim->reserved_mtts; in mthca_dev_lim()
419 mdev->limits.reserved_mtts = ALIGN(mdev->limits.reserved_mtts * mdev->limits.mtt_seg_size, in mthca_init_icm()
425 mdev->limits.reserved_mtts, in mthca_init_icm()
Dmthca_cmd.h135 int reserved_mtts; member
Dmthca_mr.c915 if (dev->limits.reserved_mtts) { in mthca_init_mr_table()
916 i = fls(dev->limits.reserved_mtts - 1); in mthca_init_mr_table()
Dmthca_cmd.c1094 dev_lim->reserved_mtts = ALIGN((1 << (field >> 4)) * sizeof(u64), in mthca_QUERY_DEV_LIM()
1097 dev_lim->reserved_mtts = 1 << (field >> 4); in mthca_QUERY_DEV_LIM()
1223 dev_lim->reserved_mrws, dev_lim->reserved_mtts); in mthca_QUERY_DEV_LIM()
Dmthca_dev.h163 int reserved_mtts; member