Home
last modified time | relevance | path

Searched refs:fmr_attr (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_rdma.c277 ibt_fmr_pool_attr_t fmr_attr; in rdsv3_ib_create_mr_pool() local
292 fmr_attr.fmr_max_pages_per_fmr = (IB_FMR_MAX_BUF_SIZE / h_page_sz) + 2; in rdsv3_ib_create_mr_pool()
293 fmr_attr.fmr_pool_size = RDSV3_FMR_POOL_SIZE; in rdsv3_ib_create_mr_pool()
294 fmr_attr.fmr_dirty_watermark = 128; in rdsv3_ib_create_mr_pool()
295 fmr_attr.fmr_cache = B_FALSE; in rdsv3_ib_create_mr_pool()
296 fmr_attr.fmr_flags = IBT_MR_NOSLEEP | IBT_MR_ENABLE_LOCAL_WRITE | in rdsv3_ib_create_mr_pool()
298 fmr_attr.fmr_page_sz = h_page_sz; in rdsv3_ib_create_mr_pool()
299 fmr_attr.fmr_func_hdlr = NULL; in rdsv3_ib_create_mr_pool()
300 fmr_attr.fmr_func_arg = (void *) NULL; in rdsv3_ib_create_mr_pool()
304 rds_ibdev->pd->ibt_pd, &fmr_attr, &rds_ibdev->fmr_pool_hdl); in rdsv3_ib_create_mr_pool()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_misc.c2551 ibt_fmr_pool_attr_t *fmr_attr, hermon_fmrhdl_t *fmrpoolp) in hermon_create_fmr_pool() argument
2560 sleep = (fmr_attr->fmr_flags & IBT_MR_SLEEP) ? HERMON_SLEEP : in hermon_create_fmr_pool()
2582 fmrpool->fmr_flush_function = fmr_attr->fmr_func_hdlr; in hermon_create_fmr_pool()
2583 fmrpool->fmr_flush_arg = fmr_attr->fmr_func_arg; in hermon_create_fmr_pool()
2585 fmrpool->fmr_max_pages = fmr_attr->fmr_max_pages_per_fmr; in hermon_create_fmr_pool()
2586 fmrpool->fmr_page_sz = fmr_attr->fmr_page_sz; in hermon_create_fmr_pool()
2587 fmrpool->fmr_dirty_watermark = fmr_attr->fmr_pool_size / 4; in hermon_create_fmr_pool()
2589 fmrpool->fmr_remap_watermark = fmr_attr->fmr_pool_size / 32; in hermon_create_fmr_pool()
2591 fmrpool->fmr_flags = fmr_attr->fmr_flags; in hermon_create_fmr_pool()
2602 fmr_attr->fmr_pool_size; in hermon_create_fmr_pool()
[all …]