Searched refs:reserved_mtts (Results 1 – 11 of 11) sorted by relevance
/drivers/net/ethernet/mellanox/mlx4/ |
D | mr.c | 936 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()
|
D | fw.h | 80 int reserved_mtts; member
|
D | main.c | 386 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()
|
D | resource_tracker.c | 427 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()
|
D | mlx4.h | 900 int reserved_mtts; member
|
D | fw.c | 761 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/ |
D | mthca_main.c | 231 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()
|
D | mthca_cmd.h | 135 int reserved_mtts; member
|
D | mthca_mr.c | 915 if (dev->limits.reserved_mtts) { in mthca_init_mr_table() 916 i = fls(dev->limits.reserved_mtts - 1); in mthca_init_mr_table()
|
D | mthca_cmd.c | 1094 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()
|
D | mthca_dev.h | 163 int reserved_mtts; member
|