Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mthca/
Dmthca_mr.c492 key & (dev->limits.num_mpts - 1)); in mthca_mr_alloc()
559 (dev->limits.num_mpts - 1)); in mthca_free_mr()
593 idx = key & (dev->limits.num_mpts - 1); in mthca_fmr_alloc()
655 key & (dev->limits.num_mpts - 1)); in mthca_fmr_alloc()
733 key += dev->limits.num_mpts; in mthca_tavor_map_phys_fmr()
776 key += dev->limits.num_mpts; in mthca_arbel_map_phys_fmr()
833 dev->limits.num_mpts, in mthca_init_mr_table()
867 mpts = dev->limits.num_mpts; in mthca_init_mr_table()
Dmthca_profile.c226 dev->limits.num_mpts = profile[i].num; in mthca_make_profile()
Dmthca_dev.h160 int num_mpts; member
Dmthca_provider.c99 props->max_mr = mdev->limits.num_mpts - mdev->limits.reserved_mrws; in mthca_query_device()
124 (1 << (32 - ilog2(mdev->limits.num_mpts))) - 1; in mthca_query_device()
Dmthca_main.c435 mdev->limits.num_mpts, in mthca_init_icm()
/drivers/net/ethernet/mellanox/mlx4/
Dmr.c443 (dev->caps.num_mpts - 1)); in mlx4_mr_free_reserved()
509 key_to_hw_index(mr->key) & (dev->caps.num_mpts - 1)); in mlx4_mr_enable()
657 if (!is_power_of_2(dev->caps.num_mpts)) in mlx4_init_mr_table()
665 err = mlx4_bitmap_init(&mr_table->mpt_bitmap, dev->caps.num_mpts, in mlx4_init_mr_table()
753 key += dev->caps.num_mpts; in mlx4_map_phys_fmr()
872 (dev->caps.num_mpts - 1)); in mlx4_fmr_unmap()
Dprofile.c223 dev->caps.num_mpts = profile[i].num; in mlx4_make_profile()
Dmain.c480 dev->caps.num_mpts = func_cap.mpt_quota; in mlx4_slave_cap()
910 dev->caps.num_mpts, in mlx4_init_icm()
1229 dev->caps.max_fmr_maps = (1 << (32 - ilog2(dev->caps.num_mpts))) - 1; in mlx4_init_hca()
Dfw.c205 size = dev->caps.num_mpts; in mlx4_QUERY_FUNC_CAP_wrapper()
Dresource_tracker.c284 return dev->caps.num_mpts - 1; in mpt_mask()
/drivers/infiniband/hw/mlx4/
Dmain.c148 props->max_mr = dev->dev->caps.num_mpts - dev->dev->caps.reserved_mrws; in mlx4_ib_query_device()