/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_mr.c | 274 umem_len = ptob(btopr(mrhdl->mr_bindinfo.bi_len + in tavor_mr_register_shared() 275 ((uintptr_t)mrhdl->mr_bindinfo.bi_addr & PAGEOFFSET))); in tavor_mr_register_shared() 276 umem_addr = (caddr_t)((uintptr_t)mrhdl->mr_bindinfo.bi_addr & in tavor_mr_register_shared() 307 mr->mr_bindinfo = mrhdl->mr_bindinfo; in tavor_mr_register_shared() 310 bind = &mr->mr_bindinfo; in tavor_mr_register_shared() 328 (mr->mr_bindinfo.bi_addr & pgsize_msk)); in tavor_mr_register_shared() 468 bind = &mr->mr_bindinfo; in tavor_mr_deregister() 631 attr->mr_lbounds.pb_addr = (ib_vaddr_t)mr->mr_bindinfo.bi_addr; in tavor_mr_query() 632 attr->mr_lbounds.pb_len = (size_t)mr->mr_bindinfo.bi_len; in tavor_mr_query() 643 attr->mr_rbounds.pb_addr = (ib_vaddr_t)mr->mr_bindinfo.bi_addr; in tavor_mr_query() [all …]
|
H A D | tavor_cq.c | 235 addr = mr->mr_bindinfo.bi_addr; in tavor_cq_alloc() 243 (void) ddi_dma_sync(mr->mr_bindinfo.bi_dmahdl, 0, in tavor_cq_alloc() 616 (void) ddi_dma_sync(mr->mr_bindinfo.bi_dmahdl, 0, in tavor_cq_resize() 677 cqc_entry.start_addr_h = (mr->mr_bindinfo.bi_addr >> 32); in tavor_cq_resize() 678 cqc_entry.start_addr_l = (mr->mr_bindinfo.bi_addr & 0xFFFFFFFF); in tavor_cq_resize() 722 (void) ddi_dma_sync(mr->mr_bindinfo.bi_dmahdl, 0, in tavor_cq_resize() 1529 dmahdl = cq->cq_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_cqe_sync() 1569 (void) ddi_dma_sync(cq->cq_mrhdl->mr_bindinfo.bi_dmahdl, in tavor_cq_resize_helper()
|
H A D | tavor_srq.c | 286 addr = mr->mr_bindinfo.bi_addr; in tavor_srq_alloc() 295 (uint64_t)mr->mr_bindinfo.bi_addr; in tavor_srq_alloc() 807 (void) tavor_mr_mtt_unbind(state, &srq->srq_mrhdl->mr_bindinfo, in tavor_srq_modify() 824 bcopy(&srq->srq_mrhdl->mr_bindinfo, &old_bind, in tavor_srq_modify() 831 bcopy(&bind, &srq->srq_mrhdl->mr_bindinfo, sizeof (tavor_bind_info_t)); in tavor_srq_modify()
|
H A D | tavor_ci.c | 1303 mr_desc->md_vaddr = mrhdl->mr_bindinfo.bi_addr; in tavor_ci_register_mr() 1316 mr_desc->md_sync_required = (mrhdl->mr_bindinfo.bi_flags & in tavor_ci_register_mr() 1384 mr_desc->md_vaddr = mrhdl->mr_bindinfo.bi_addr; in tavor_ci_register_buf() 1397 mr_desc->md_sync_required = (mrhdl->mr_bindinfo.bi_flags & in tavor_ci_register_buf() 1545 mr_desc->md_vaddr = mrhdl_new->mr_bindinfo.bi_addr; in tavor_ci_register_shared_mr() 1558 mr_desc->md_sync_required = (mrhdl_new->mr_bindinfo.bi_flags & in tavor_ci_register_shared_mr() 1616 mr_desc->md_vaddr = mrhdl_new->mr_bindinfo.bi_addr; in tavor_ci_reregister_mr() 1629 mr_desc->md_sync_required = (mrhdl_new->mr_bindinfo.bi_flags & in tavor_ci_reregister_mr() 1687 mr_desc->md_vaddr = mrhdl_new->mr_bindinfo.bi_addr; in tavor_ci_reregister_buf() 1700 mr_desc->md_sync_required = (mrhdl_new->mr_bindinfo.bi_flags & in tavor_ci_reregister_buf()
|
H A D | tavor_event.c | 936 addr = mr->mr_bindinfo.bi_addr; in tavor_eq_alloc() 944 (void) ddi_dma_sync(mr->mr_bindinfo.bi_dmahdl, 0, in tavor_eq_alloc() 1196 dmahdl = eq->eq_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_eqe_sync()
|
H A D | tavor_wr.c | 1979 dmahdl = srq->srq_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_wqe_sync() 1984 dmahdl = qp->qp_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_wqe_sync() 2126 reg_start_addr = mr->mr_bindinfo.bi_addr; in tavor_wr_bind_check() 2127 reg_end_addr = mr->mr_bindinfo.bi_addr + in tavor_wr_bind_check() 2128 (mr->mr_bindinfo.bi_len - 1); in tavor_wr_bind_check()
|
H A D | tavor_qp.c | 453 (uint64_t)mr->mr_bindinfo.bi_addr; in tavor_qp_alloc() 879 (uint64_t)mr->mr_bindinfo.bi_addr; in tavor_special_qp_alloc()
|
H A D | tavor_misc.c | 492 dmahdl = ah->ah_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_udav_sync()
|
H A D | tavor_ioctl.c | 2171 comm->tlc_mrdesc.md_vaddr = comm->tlc_mrhdl->mr_bindinfo.bi_addr; in tavor_loopback_alloc_mem()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_mr.c | 285 umem_len = ptob(btopr(mrhdl->mr_bindinfo.bi_len)); in hermon_mr_register_shared() 286 umem_addr = (caddr_t)((uintptr_t)mrhdl->mr_bindinfo.bi_addr & in hermon_mr_register_shared() 319 mr->mr_bindinfo = mrhdl->mr_bindinfo; in hermon_mr_register_shared() 322 bind = &mr->mr_bindinfo; in hermon_mr_register_shared() 340 (mr->mr_bindinfo.bi_addr & pgsize_msk)); in hermon_mr_register_shared() 620 (void) memcpy(&mr->mr_bindinfo, &bind, sizeof (hermon_bind_info_t)); in hermon_mr_alloc_fmr() 722 mr->mr_bindinfo.bi_addr = mem_pattr_p->pmr_iova; in hermon_mr_register_physical_fmr() 723 mr->mr_bindinfo.bi_flags = mem_pattr_p->pmr_flags & IBT_MR_NONCOHERENT; in hermon_mr_register_physical_fmr() 781 bind = &mr->mr_bindinfo; in hermon_mr_deregister() 1020 mr->mr_bindinfo.bi_addr = mpt_entry.start_addr; in hermon_mr_query() [all …]
|
H A D | hermon_ci.c | 1148 mr_desc->md_vaddr = mrhdl->mr_bindinfo.bi_addr; in hermon_ci_register_mr() 1161 mr_desc->md_sync_required = (mrhdl->mr_bindinfo.bi_flags & in hermon_ci_register_mr() 1220 mr_desc->md_vaddr = mrhdl->mr_bindinfo.bi_addr; in hermon_ci_register_buf() 1233 mr_desc->md_sync_required = (mrhdl->mr_bindinfo.bi_flags & in hermon_ci_register_buf() 1339 mr_desc->md_vaddr = mrhdl_new->mr_bindinfo.bi_addr; in hermon_ci_register_shared_mr() 1352 mr_desc->md_sync_required = (mrhdl_new->mr_bindinfo.bi_flags & in hermon_ci_register_shared_mr() 1400 mr_desc->md_vaddr = mrhdl_new->mr_bindinfo.bi_addr; in hermon_ci_reregister_mr() 1413 mr_desc->md_sync_required = (mrhdl_new->mr_bindinfo.bi_flags & in hermon_ci_reregister_mr() 1461 mr_desc->md_vaddr = mrhdl_new->mr_bindinfo.bi_addr; in hermon_ci_reregister_buf() 1474 mr_desc->md_sync_required = (mrhdl_new->mr_bindinfo.bi_flags & in hermon_ci_reregister_buf() [all …]
|
H A D | hermon_srq.c | 297 (uint64_t)mr->mr_bindinfo.bi_addr; in hermon_srq_alloc() 806 bcopy(&srq->srq_mrhdl->mr_bindinfo, &old_bind, in hermon_srq_modify() 813 bcopy(&bind, &srq->srq_mrhdl->mr_bindinfo, sizeof (hermon_bind_info_t)); in hermon_srq_modify()
|
H A D | hermon_wr.c | 2166 reg_start_addr = mr->mr_bindinfo.bi_addr; in hermon_wr_bind_check() 2167 reg_end_addr = mr->mr_bindinfo.bi_addr + in hermon_wr_bind_check() 2168 (mr->mr_bindinfo.bi_len - 1); in hermon_wr_bind_check()
|
H A D | hermon_qp.c | 576 (uint64_t)mr->mr_bindinfo.bi_addr; in hermon_qp_alloc() 1084 (uint64_t)mr->mr_bindinfo.bi_addr; in hermon_special_qp_alloc() 1680 (uint64_t)mr->mr_bindinfo.bi_addr; in hermon_qp_alloc_range()
|
H A D | hermon_ioctl.c | 2922 comm->hlc_mrdesc.md_vaddr = comm->hlc_mrhdl->mr_bindinfo.bi_addr; in hermon_loopback_alloc_mem()
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor_mr.h | 146 (((mr)->mr_bindinfo.bi_bypass != TAVOR_BINDMEM_BYPASS) || \ 252 tavor_bind_info_t mr_bindinfo; member 264 _NOTE(DATA_READABLE_WITHOUT_LOCK(tavor_sw_mr_s::mr_bindinfo 271 tavor_sw_mr_s::mr_bindinfo
|
H A D | tavor_hw.h | 2394 (ah)->ah_mrhdl->mr_bindinfo.bi_addr & \
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_mr.h | 96 (((mr)->mr_bindinfo.bi_bypass != HERMON_BINDMEM_BYPASS) || \ 203 hermon_bind_info_t mr_bindinfo; member 222 _NOTE(DATA_READABLE_WITHOUT_LOCK(hermon_sw_mr_s::mr_bindinfo 232 hermon_sw_mr_s::mr_bindinfo
|