Home
last modified time | relevance | path

Searched refs:frmr (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/net/rds/
Dib_frmr.c40 struct rds_ib_frmr *frmr; in rds_ib_alloc_frmr() local
59 frmr = &ibmr->u.frmr; in rds_ib_alloc_frmr()
60 frmr->mr = ib_alloc_mr(rds_ibdev->pd, IB_MR_TYPE_MEM_REG, in rds_ib_alloc_frmr()
62 if (IS_ERR(frmr->mr)) { in rds_ib_alloc_frmr()
64 err = PTR_ERR(frmr->mr); in rds_ib_alloc_frmr()
77 frmr->fr_state = FRMR_IS_FREE; in rds_ib_alloc_frmr()
105 struct rds_ib_frmr *frmr = &ibmr->u.frmr; in rds_ib_post_reg_frmr() local
114 ret = ib_map_mr_sg_zbva(frmr->mr, ibmr->sg, ibmr->sg_len, in rds_ib_post_reg_frmr()
124 ib_update_fast_reg_key(frmr->mr, ibmr->remap_count++); in rds_ib_post_reg_frmr()
125 frmr->fr_state = FRMR_IS_INUSE; in rds_ib_post_reg_frmr()
[all …]
Dib_mr.h83 struct rds_ib_frmr frmr; member
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c1697 sqe->access_cntl = wqe->frmr.access_cntl | in bnxt_qplib_post_send()
1700 (wqe->frmr.pg_sz_log & SQ_FR_PMR_PAGE_SIZE_LOG_MASK) << in bnxt_qplib_post_send()
1702 (wqe->frmr.zero_based ? SQ_FR_PMR_ZERO_BASED : 0); in bnxt_qplib_post_send()
1703 sqe->l_key = cpu_to_le32(wqe->frmr.l_key); in bnxt_qplib_post_send()
1704 temp32 = cpu_to_le32(wqe->frmr.length); in bnxt_qplib_post_send()
1705 memcpy(sqe->length, &temp32, sizeof(wqe->frmr.length)); in bnxt_qplib_post_send()
1707 ((wqe->frmr.pbl_pg_sz_log << in bnxt_qplib_post_send()
1710 ((wqe->frmr.levels << SQ_FR_PMR_NUMLEVELS_SFT) & in bnxt_qplib_post_send()
1713 for (i = 0; i < wqe->frmr.page_list_len; i++) in bnxt_qplib_post_send()
1714 wqe->frmr.pbl_ptr[i] = cpu_to_le64( in bnxt_qplib_post_send()
[all …]
Dib_verbs.c2221 wqe->frmr.pbl_ptr = (__le64 *)qplib_frpl->hwq.pbl_ptr[0]; in bnxt_re_build_reg_wqe()
2222 wqe->frmr.pbl_dma_ptr = qplib_frpl->hwq.pbl_dma_ptr[0]; in bnxt_re_build_reg_wqe()
2223 wqe->frmr.page_list = mr->pages; in bnxt_re_build_reg_wqe()
2224 wqe->frmr.page_list_len = mr->npages; in bnxt_re_build_reg_wqe()
2225 wqe->frmr.levels = qplib_frpl->hwq.level + 1; in bnxt_re_build_reg_wqe()
2238 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_LOCAL_WRITE; in bnxt_re_build_reg_wqe()
2240 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_REMOTE_READ; in bnxt_re_build_reg_wqe()
2242 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_REMOTE_WRITE; in bnxt_re_build_reg_wqe()
2244 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_REMOTE_ATOMIC; in bnxt_re_build_reg_wqe()
2246 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_WINDOW_BIND; in bnxt_re_build_reg_wqe()
[all …]
Dqplib_fp.h209 } frmr; member
/Linux-v4.19/drivers/infiniband/hw/ocrdma/
Docrdma_stats.c153 (u64)rsrc_stats->frmr); in ocrdma_resource_stats()
207 (u64)rsrc_stats->frmr); in ocrdma_resource_stats()
Docrdma_sli.h1947 u32 frmr; member