Searched refs:frmr (Results 1 – 8 of 8) sorted by relevance
40 if (cmpxchg(&ibmr->u.frmr.fr_state, in rds_transition_frwr_state()58 struct rds_ib_frmr *frmr; in rds_ib_alloc_frmr() local77 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 …]
83 struct rds_ib_frmr frmr; member
127 struct ib_mr *frmr; in frwr_mr_init() local134 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()
2035 sqe->access_cntl = wqe->frmr.access_cntl | in bnxt_qplib_post_send()2038 (wqe->frmr.pg_sz_log & SQ_FR_PMR_PAGE_SIZE_LOG_MASK) << in bnxt_qplib_post_send()2040 (wqe->frmr.zero_based ? SQ_FR_PMR_ZERO_BASED : 0); in bnxt_qplib_post_send()2041 sqe->l_key = cpu_to_le32(wqe->frmr.l_key); in bnxt_qplib_post_send()2042 temp32 = cpu_to_le32(wqe->frmr.length); in bnxt_qplib_post_send()2043 memcpy(sqe->length, &temp32, sizeof(wqe->frmr.length)); in bnxt_qplib_post_send()2045 ((wqe->frmr.pbl_pg_sz_log << in bnxt_qplib_post_send()2048 ((wqe->frmr.levels << SQ_FR_PMR_NUMLEVELS_SFT) & in bnxt_qplib_post_send()2051 for (i = 0; i < wqe->frmr.page_list_len; i++) in bnxt_qplib_post_send()2052 wqe->frmr.pbl_ptr[i] = cpu_to_le64( in bnxt_qplib_post_send()[all …]
2695 wqe->frmr.pbl_ptr = (__le64 *)qplib_frpl->hwq.pbl_ptr[0]; in bnxt_re_build_reg_wqe()2696 wqe->frmr.pbl_dma_ptr = qplib_frpl->hwq.pbl_dma_ptr[0]; in bnxt_re_build_reg_wqe()2697 wqe->frmr.page_list = mr->pages; in bnxt_re_build_reg_wqe()2698 wqe->frmr.page_list_len = mr->npages; in bnxt_re_build_reg_wqe()2699 wqe->frmr.levels = qplib_frpl->hwq.level; in bnxt_re_build_reg_wqe()2706 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_LOCAL_WRITE; in bnxt_re_build_reg_wqe()2708 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_REMOTE_READ; in bnxt_re_build_reg_wqe()2710 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_REMOTE_WRITE; in bnxt_re_build_reg_wqe()2712 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_REMOTE_ATOMIC; in bnxt_re_build_reg_wqe()2714 wqe->frmr.access_cntl |= SQ_FR_PMR_ACCESS_CNTL_WINDOW_BIND; in bnxt_re_build_reg_wqe()[all …]
229 } frmr; member
153 (u64)rsrc_stats->frmr); in ocrdma_resource_stats()207 (u64)rsrc_stats->frmr); in ocrdma_resource_stats()
1947 u32 frmr; member