/titanic_44/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_mr.c | 303 umem_len = ptob(btopr(mrhdl->mr_bindinfo.bi_len + in tavor_mr_register_shared() 304 ((uintptr_t)mrhdl->mr_bindinfo.bi_addr & PAGEOFFSET))); in tavor_mr_register_shared() 305 umem_addr = (caddr_t)((uintptr_t)mrhdl->mr_bindinfo.bi_addr & in tavor_mr_register_shared() 340 mr->mr_bindinfo = mrhdl->mr_bindinfo; in tavor_mr_register_shared() 343 bind = &mr->mr_bindinfo; in tavor_mr_register_shared() 361 (mr->mr_bindinfo.bi_addr & pgsize_msk)); in tavor_mr_register_shared() 518 bind = &mr->mr_bindinfo; in tavor_mr_deregister() 692 attr->mr_lbounds.pb_addr = (ib_vaddr_t)mr->mr_bindinfo.bi_addr; in tavor_mr_query() 693 attr->mr_lbounds.pb_len = (size_t)mr->mr_bindinfo.bi_len; in tavor_mr_query() 704 attr->mr_rbounds.pb_addr = (ib_vaddr_t)mr->mr_bindinfo.bi_addr; in tavor_mr_query() [all …]
|
H A D | tavor_cq.c | 252 addr = mr->mr_bindinfo.bi_addr; in tavor_cq_alloc() 260 (void) ddi_dma_sync(mr->mr_bindinfo.bi_dmahdl, 0, in tavor_cq_alloc() 663 (void) ddi_dma_sync(mr->mr_bindinfo.bi_dmahdl, 0, in tavor_cq_resize() 727 cqc_entry.start_addr_h = (mr->mr_bindinfo.bi_addr >> 32); in tavor_cq_resize() 728 cqc_entry.start_addr_l = (mr->mr_bindinfo.bi_addr & 0xFFFFFFFF); in tavor_cq_resize() 776 (void) ddi_dma_sync(mr->mr_bindinfo.bi_dmahdl, 0, in tavor_cq_resize() 1651 dmahdl = cq->cq_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_cqe_sync() 1701 (void) ddi_dma_sync(cq->cq_mrhdl->mr_bindinfo.bi_dmahdl, in tavor_cq_resize_helper()
|
H A D | tavor_srq.c | 305 addr = mr->mr_bindinfo.bi_addr; in tavor_srq_alloc() 314 (uint64_t)mr->mr_bindinfo.bi_addr; in tavor_srq_alloc() 869 (void) tavor_mr_mtt_unbind(state, &srq->srq_mrhdl->mr_bindinfo, in tavor_srq_modify() 886 bcopy(&srq->srq_mrhdl->mr_bindinfo, &old_bind, in tavor_srq_modify() 893 bcopy(&bind, &srq->srq_mrhdl->mr_bindinfo, sizeof (tavor_bind_info_t)); in tavor_srq_modify()
|
H A D | tavor_ci.c | 1531 mr_desc->md_vaddr = mrhdl->mr_bindinfo.bi_addr; in tavor_ci_register_mr() 1544 mr_desc->md_sync_required = (mrhdl->mr_bindinfo.bi_flags & in tavor_ci_register_mr() 1627 mr_desc->md_vaddr = mrhdl->mr_bindinfo.bi_addr; in tavor_ci_register_buf() 1640 mr_desc->md_sync_required = (mrhdl->mr_bindinfo.bi_flags & in tavor_ci_register_buf() 1830 mr_desc->md_vaddr = mrhdl_new->mr_bindinfo.bi_addr; in tavor_ci_register_shared_mr() 1843 mr_desc->md_sync_required = (mrhdl_new->mr_bindinfo.bi_flags & in tavor_ci_register_shared_mr() 1913 mr_desc->md_vaddr = mrhdl_new->mr_bindinfo.bi_addr; in tavor_ci_reregister_mr() 1926 mr_desc->md_sync_required = (mrhdl_new->mr_bindinfo.bi_flags & in tavor_ci_reregister_mr() 1996 mr_desc->md_vaddr = mrhdl_new->mr_bindinfo.bi_addr; in tavor_ci_reregister_buf() 2009 mr_desc->md_sync_required = (mrhdl_new->mr_bindinfo.bi_flags & in tavor_ci_reregister_buf()
|
H A D | tavor_event.c | 1016 addr = mr->mr_bindinfo.bi_addr; in tavor_eq_alloc() 1024 (void) ddi_dma_sync(mr->mr_bindinfo.bi_dmahdl, 0, in tavor_eq_alloc() 1308 dmahdl = eq->eq_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_eqe_sync()
|
H A D | tavor_wr.c | 2096 dmahdl = srq->srq_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_wqe_sync() 2101 dmahdl = qp->qp_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_wqe_sync() 2270 reg_start_addr = mr->mr_bindinfo.bi_addr; in tavor_wr_bind_check() 2271 reg_end_addr = mr->mr_bindinfo.bi_addr + in tavor_wr_bind_check() 2272 (mr->mr_bindinfo.bi_len - 1); in tavor_wr_bind_check()
|
H A D | tavor_qp.c | 493 (uint64_t)mr->mr_bindinfo.bi_addr; in tavor_qp_alloc() 950 (uint64_t)mr->mr_bindinfo.bi_addr; in tavor_special_qp_alloc()
|
H A D | tavor_misc.c | 529 dmahdl = ah->ah_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_udav_sync()
|
H A D | tavor_ioctl.c | 2486 comm->tlc_mrdesc.md_vaddr = comm->tlc_mrhdl->mr_bindinfo.bi_addr; in tavor_loopback_alloc_mem()
|
/titanic_44/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 | 2924 comm->hlc_mrdesc.md_vaddr = comm->hlc_mrhdl->mr_bindinfo.bi_addr; in hermon_loopback_alloc_mem()
|
/titanic_44/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 & \
|
/titanic_44/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
|