Home
last modified time | relevance | path

Searched refs:max_pages_per_mr (Results 1 – 4 of 4) sorted by relevance

/drivers/infiniband/ulp/rtrs/
Drtrs-clt.c1386 clt_path->max_pages_per_mr); in alloc_path_reqs()
1391 clt_path->max_pages_per_mr); in alloc_path_reqs()
1454 u64 max_pages_per_mr; in query_fast_reg_mode() local
1465 max_pages_per_mr = ib_dev->attrs.max_mr_size; in query_fast_reg_mode()
1466 do_div(max_pages_per_mr, (1ull << mr_page_shift)); in query_fast_reg_mode()
1467 clt_path->max_pages_per_mr = in query_fast_reg_mode()
1468 min3(clt_path->max_pages_per_mr, (u32)max_pages_per_mr, in query_fast_reg_mode()
1471 min(clt_path->max_pages_per_mr, clt_path->clt->max_segments); in query_fast_reg_mode()
1569 clt_path->max_pages_per_mr = RTRS_MAX_SEGMENTS; in alloc_path()
Drtrs-clt.h145 u32 max_pages_per_mr; member
/drivers/infiniband/ulp/srp/
Dib_srp.c502 dev->max_pages_per_mr); in srp_alloc_fr_pool()
3768 max_sectors_per_mr = srp_dev->max_pages_per_mr << in add_target_store()
3790 srp_dev->max_pages_per_mr - 1) / in add_target_store()
3791 srp_dev->max_pages_per_mr; in add_target_store()
3794 target->scsi_host->max_sectors, srp_dev->max_pages_per_mr, srp_dev->mr_page_size, in add_target_store()
4007 u64 max_pages_per_mr; in srp_add_one() local
4022 max_pages_per_mr = attr->max_mr_size; in srp_add_one()
4023 do_div(max_pages_per_mr, srp_dev->mr_page_size); in srp_add_one()
4026 max_pages_per_mr, SRP_MAX_PAGES_PER_MR); in srp_add_one()
4027 srp_dev->max_pages_per_mr = min_t(u64, SRP_MAX_PAGES_PER_MR, in srp_add_one()
[all …]
Dib_srp.h112 int max_pages_per_mr; member