Home
last modified time | relevance | path

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

/openbmc/linux/net/rds/
H A 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 …]
H A Dib_mr.h83 struct rds_ib_frmr frmr; member
/openbmc/linux/net/sunrpc/xprtrdma/
H A Dfrwr_ops.c127 struct ib_mr *frmr; in frwr_mr_init() local
134 frmr = ib_alloc_mr(ep->re_pd, ep->re_mrtype, depth); in frwr_mr_init()
135 if (IS_ERR(frmr)) in frwr_mr_init()
139 mr->mr_ibmr = frmr; in frwr_mr_init()
151 trace_xprtrdma_frwr_alloc(mr, PTR_ERR(frmr)); in frwr_mr_init()
152 return PTR_ERR(frmr); in frwr_mr_init()
/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.c1975 sqe->access_cntl = wqe->frmr.access_cntl | in bnxt_qplib_post_send()
1978 (wqe->frmr.pg_sz_log & SQ_FR_PMR_PAGE_SIZE_LOG_MASK) << in bnxt_qplib_post_send()
1980 (wqe->frmr.zero_based ? SQ_FR_PMR_ZERO_BASED : 0); in bnxt_qplib_post_send()
1981 sqe->l_key = cpu_to_le32(wqe->frmr.l_key); in bnxt_qplib_post_send()
1982 temp32 = cpu_to_le32(wqe->frmr.length); in bnxt_qplib_post_send()
1983 memcpy(sqe->length, &temp32, sizeof(wqe->frmr.length)); in bnxt_qplib_post_send()
1985 ((wqe->frmr.pbl_pg_sz_log << in bnxt_qplib_post_send()
1988 ((wqe->frmr.levels << SQ_FR_PMR_NUMLEVELS_SFT) & in bnxt_qplib_post_send()
1991 for (i = 0; i < wqe->frmr.page_list_len; i++) in bnxt_qplib_post_send()
1992 wqe->frmr.pbl_ptr[i] = cpu_to_le64( in bnxt_qplib_post_send()
[all …]
H A Dib_verbs.c2588 wqe->frmr.pbl_ptr = (__le64 *)qplib_frpl->hwq.pbl_ptr[0]; in bnxt_re_build_reg_wqe()
2589 wqe->frmr.pbl_dma_ptr = qplib_frpl->hwq.pbl_dma_ptr[0]; in bnxt_re_build_reg_wqe()
2590 wqe->frmr.page_list = mr->pages; in bnxt_re_build_reg_wqe()
2591 wqe->frmr.page_list_len = mr->npages; in bnxt_re_build_reg_wqe()
2592 wqe->frmr.levels = qplib_frpl->hwq.level; in bnxt_re_build_reg_wqe()
2599 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_LOCAL_WRITE; in bnxt_re_build_reg_wqe()
2601 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_REMOTE_READ; in bnxt_re_build_reg_wqe()
2603 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_REMOTE_WRITE; in bnxt_re_build_reg_wqe()
2605 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_REMOTE_ATOMIC; in bnxt_re_build_reg_wqe()
2607 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_WINDOW_BIND; in bnxt_re_build_reg_wqe()
[all …]
H A Dqplib_fp.h227 } frmr; member
/openbmc/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_stats.c153 (u64)rsrc_stats->frmr); in ocrdma_resource_stats()
207 (u64)rsrc_stats->frmr); in ocrdma_resource_stats()
H A Docrdma_sli.h1947 u32 frmr; member