Home
last modified time | relevance | path

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

/Linux-v5.4/net/rds/
Dib_frmr.c40 if (cmpxchg(&ibmr->u.frmr.fr_state, in rds_transition_frwr_state()
58 struct rds_ib_frmr *frmr; in rds_ib_alloc_frmr() local
77 frmr = &ibmr->u.frmr; in rds_ib_alloc_frmr()
78 frmr->mr = ib_alloc_mr(rds_ibdev->pd, IB_MR_TYPE_MEM_REG, in rds_ib_alloc_frmr()
80 if (IS_ERR(frmr->mr)) { in rds_ib_alloc_frmr()
82 err = PTR_ERR(frmr->mr); in rds_ib_alloc_frmr()
95 frmr->fr_state = FRMR_IS_FREE; in rds_ib_alloc_frmr()
96 init_waitqueue_head(&frmr->fr_inv_done); in rds_ib_alloc_frmr()
97 init_waitqueue_head(&frmr->fr_reg_done); in rds_ib_alloc_frmr()
125 struct rds_ib_frmr *frmr = &ibmr->u.frmr; in rds_ib_post_reg_frmr() local
[all …]
Dib_mr.h86 struct rds_ib_frmr frmr; member
/Linux-v5.4/net/sunrpc/xprtrdma/
Dfrwr_ops.c166 struct ib_mr *frmr; in frwr_init_mr() local
172 frmr = ib_alloc_mr(ia->ri_pd, ia->ri_mrtype, depth); in frwr_init_mr()
173 if (IS_ERR(frmr)) in frwr_init_mr()
180 mr->frwr.fr_mr = frmr; in frwr_init_mr()
191 rc = PTR_ERR(frmr); in frwr_init_mr()
196 ib_dereg_mr(frmr); in frwr_init_mr()
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c1706 sqe->access_cntl = wqe->frmr.access_cntl | in bnxt_qplib_post_send()
1709 (wqe->frmr.pg_sz_log & SQ_FR_PMR_PAGE_SIZE_LOG_MASK) << in bnxt_qplib_post_send()
1711 (wqe->frmr.zero_based ? SQ_FR_PMR_ZERO_BASED : 0); in bnxt_qplib_post_send()
1712 sqe->l_key = cpu_to_le32(wqe->frmr.l_key); in bnxt_qplib_post_send()
1713 temp32 = cpu_to_le32(wqe->frmr.length); in bnxt_qplib_post_send()
1714 memcpy(sqe->length, &temp32, sizeof(wqe->frmr.length)); in bnxt_qplib_post_send()
1716 ((wqe->frmr.pbl_pg_sz_log << in bnxt_qplib_post_send()
1719 ((wqe->frmr.levels << SQ_FR_PMR_NUMLEVELS_SFT) & in bnxt_qplib_post_send()
1722 for (i = 0; i < wqe->frmr.page_list_len; i++) in bnxt_qplib_post_send()
1723 wqe->frmr.pbl_ptr[i] = cpu_to_le64( in bnxt_qplib_post_send()
[all …]
Dib_verbs.c2179 wqe->frmr.pbl_ptr = (__le64 *)qplib_frpl->hwq.pbl_ptr[0]; in bnxt_re_build_reg_wqe()
2180 wqe->frmr.pbl_dma_ptr = qplib_frpl->hwq.pbl_dma_ptr[0]; in bnxt_re_build_reg_wqe()
2181 wqe->frmr.page_list = mr->pages; in bnxt_re_build_reg_wqe()
2182 wqe->frmr.page_list_len = mr->npages; in bnxt_re_build_reg_wqe()
2183 wqe->frmr.levels = qplib_frpl->hwq.level + 1; in bnxt_re_build_reg_wqe()
2196 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_LOCAL_WRITE; in bnxt_re_build_reg_wqe()
2198 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_REMOTE_READ; in bnxt_re_build_reg_wqe()
2200 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_REMOTE_WRITE; in bnxt_re_build_reg_wqe()
2202 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_REMOTE_ATOMIC; in bnxt_re_build_reg_wqe()
2204 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_WINDOW_BIND; in bnxt_re_build_reg_wqe()
[all …]
Dqplib_fp.h209 } frmr; member
/Linux-v5.4/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