Home
last modified time | relevance | path

Searched refs:mem_attr (Results 1 – 9 of 9) sorted by relevance

/titanic_50/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_buf.c182 ibt_mr_attr_t mem_attr; in rds_init_recv_caches() local
237 mem_attr.mr_vaddr = (ib_vaddr_t)(uintptr_t)memp; in rds_init_recv_caches()
238 mem_attr.mr_len = memsize; in rds_init_recv_caches()
239 mem_attr.mr_as = NULL; in rds_init_recv_caches()
240 mem_attr.mr_flags = IBT_MR_ENABLE_LOCAL_WRITE; in rds_init_recv_caches()
252 &mem_attr, &hcap->hca_mrhdl, &mem_desc); in rds_init_recv_caches()
391 ibt_mr_attr_t mem_attr; in rds_init_send_pool() local
452 mem_attr.mr_vaddr = (ib_vaddr_t)ack_addr; in rds_init_send_pool()
453 mem_attr.mr_len = sizeof (uintptr_t); in rds_init_send_pool()
454 mem_attr.mr_as = NULL; in rds_init_send_pool()
[all …]
H A Drdsib_ib.c1484 ibt_mr_attr_t mem_attr; in rdsib_add_hca() local
1503 mem_attr.mr_vaddr = (ib_vaddr_t)(uintptr_t)rds_dpool.pool_memp; in rdsib_add_hca()
1504 mem_attr.mr_len = rds_dpool.pool_memsize; in rdsib_add_hca()
1505 mem_attr.mr_as = NULL; in rdsib_add_hca()
1506 mem_attr.mr_flags = IBT_MR_ENABLE_LOCAL_WRITE; in rdsib_add_hca()
1508 ret = ibt_register_mr(hcap->hca_hdl, hcap->hca_pdhdl, &mem_attr, in rdsib_add_hca()
/titanic_50/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_mem.c60 ibt_register_mr(ibt_hca_hdl_t hca_hdl, ibt_pd_hdl_t pd, ibt_mr_attr_t *mem_attr, in ibt_register_mr() argument
67 hca_hdl, pd, mem_attr); in ibt_register_mr()
69 vaddr = mem_attr->mr_vaddr; in ibt_register_mr()
72 IBTL_HCA2CIHCA(hca_hdl), pd, mem_attr, IBTL_HCA2CLNT(hca_hdl), in ibt_register_mr()
214 ibt_mr_attr_t *mem_attr, ibt_mr_hdl_t *mr_hdl_p, ibt_mr_desc_t *mem_desc) in ibt_reregister_mr() argument
217 ib_vaddr_t vaddr = mem_attr->mr_vaddr; in ibt_reregister_mr()
220 hca_hdl, mr_hdl, pd, mem_attr); in ibt_reregister_mr()
223 IBTL_HCA2CIHCA(hca_hdl), mr_hdl, pd, mem_attr, in ibt_reregister_mr()
901 ibt_dmr_attr_t *mem_attr, ibt_mr_hdl_t *mr_hdl_p, ibt_mr_desc_t *mem_desc) in ibt_register_dma_mr() argument
906 hca, pd, mem_attr); in ibt_register_dma_mr()
[all …]
/titanic_50/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_wqe.c527 ibt_mr_attr_t mem_attr; in ibmf_i_init_wqes() local
552 mem_attr.mr_vaddr = (ib_vaddr_t)(uintptr_t)wqe_mgtp->wqes_kmem; in ibmf_i_init_wqes()
553 mem_attr.mr_len = wqe_mgtp->wqes_kmem_sz; in ibmf_i_init_wqes()
554 mem_attr.mr_flags = IBT_MR_SLEEP | IBT_MR_ENABLE_LOCAL_WRITE; in ibmf_i_init_wqes()
555 mem_attr.mr_as = NULL; in ibmf_i_init_wqes()
558 status = ibt_register_mr(cip->ci_ci_handle, cip->ci_pd, &mem_attr, in ibmf_i_init_wqes()
683 ibt_mr_attr_t mem_attr; in ibmf_i_init_altqp_wqes() local
705 mem_attr.mr_vaddr = (ib_vaddr_t)(uintptr_t)wqe_mgtp->wqes_kmem; in ibmf_i_init_altqp_wqes()
706 mem_attr.mr_len = wqe_mgtp->wqes_kmem_sz; in ibmf_i_init_altqp_wqes()
707 mem_attr.mr_flags = IBT_MR_SLEEP | IBT_MR_ENABLE_LOCAL_WRITE; in ibmf_i_init_altqp_wqes()
[all …]
H A Dibmf_recv.c1474 ibt_mr_attr_t mem_attr; in ibmf_send_busy() local
1558 mem_attr.mr_vaddr = (ib_vaddr_t)(uintptr_t)send_wqep->send_mem; in ibmf_send_busy()
1559 mem_attr.mr_len = IBMF_MEM_PER_WQE; in ibmf_send_busy()
1560 mem_attr.mr_flags = IBT_MR_SLEEP | IBT_MR_ENABLE_LOCAL_WRITE; in ibmf_send_busy()
1561 mem_attr.mr_as = NULL; in ibmf_send_busy()
1564 ibtstatus = ibt_register_mr(cip->ci_ci_handle, cip->ci_pd, &mem_attr, in ibmf_send_busy()
/titanic_50/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd_cm.c912 ibt_mr_attr_t mem_attr; in ibd_rc_alloc_srq_copybufs() local
928 mem_attr.mr_vaddr = (uint64_t)(uintptr_t)state->rc_srq_rx_bufs; in ibd_rc_alloc_srq_copybufs()
929 mem_attr.mr_len = rc_rx_bufs_sz; in ibd_rc_alloc_srq_copybufs()
930 mem_attr.mr_as = NULL; in ibd_rc_alloc_srq_copybufs()
931 mem_attr.mr_flags = IBT_MR_SLEEP | IBT_MR_ENABLE_LOCAL_WRITE; in ibd_rc_alloc_srq_copybufs()
932 if (ibt_register_mr(state->id_hca_hdl, state->id_pd_hdl, &mem_attr, in ibd_rc_alloc_srq_copybufs()
1275 ibt_mr_attr_t mem_attr; in ibd_rc_alloc_rx_copybufs() local
1291 mem_attr.mr_vaddr = (uint64_t)(uintptr_t)chan->rx_bufs; in ibd_rc_alloc_rx_copybufs()
1292 mem_attr.mr_len = rc_rx_bufs_sz; in ibd_rc_alloc_rx_copybufs()
1293 mem_attr.mr_as = NULL; in ibd_rc_alloc_rx_copybufs()
[all …]
H A Dibd.c3520 ibt_mr_attr_t mem_attr; in ibd_alloc_tx_copybufs() local
3540 mem_attr.mr_vaddr = (uint64_t)(uintptr_t)state->id_tx_bufs; in ibd_alloc_tx_copybufs()
3541 mem_attr.mr_len = state->id_ud_num_swqe * state->id_tx_buf_sz; in ibd_alloc_tx_copybufs()
3542 mem_attr.mr_as = NULL; in ibd_alloc_tx_copybufs()
3543 mem_attr.mr_flags = IBT_MR_SLEEP; in ibd_alloc_tx_copybufs()
3544 if (ibt_register_mr(state->id_hca_hdl, state->id_pd_hdl, &mem_attr, in ibd_alloc_tx_copybufs()
3561 ibt_mr_attr_t mem_attr; in ibd_alloc_tx_lsobufs() local
3582 mem_attr.mr_vaddr = (uint64_t)(uintptr_t)membase; in ibd_alloc_tx_lsobufs()
3583 mem_attr.mr_len = memsz; in ibd_alloc_tx_lsobufs()
3584 mem_attr.mr_as = NULL; in ibd_alloc_tx_lsobufs()
[all …]
/titanic_50/usr/src/uts/common/sys/ib/ibtl/
H A Dibti_common.h1206 ibt_mr_attr_t *mem_attr, ibt_mr_hdl_t *mr_hdl_p, ibt_mr_desc_t *mem_desc);
1218 ibt_pd_hdl_t pd, ibt_mr_attr_t *mem_attr, ibt_mr_hdl_t *mr_hdl_p,
1275 ibt_dmr_attr_t *mem_attr, ibt_mr_hdl_t *mr_hdl_p, ibt_mr_desc_t *mem_desc);
/titanic_50/usr/src/uts/common/rpc/
H A Drpcib.c3687 ibt_mr_attr_t mem_attr; in rib_reg_mem() local
3689 mem_attr.mr_vaddr = (uintptr_t)buf; in rib_reg_mem()
3690 mem_attr.mr_len = (ib_msglen_t)size; in rib_reg_mem()
3691 mem_attr.mr_as = (struct as *)(caddr_t)adsp; in rib_reg_mem()
3692 mem_attr.mr_flags = IBT_MR_SLEEP | IBT_MR_ENABLE_LOCAL_WRITE | in rib_reg_mem()
3699 &mem_attr, mr_hdlp, mr_descp); in rib_reg_mem()
3853 ibt_mr_attr_t mem_attr; in rib_rbufpool_create() local
3868 mem_attr.mr_flags = IBT_MR_SLEEP | IBT_MR_ENABLE_LOCAL_WRITE; in rib_rbufpool_create()
3872 mem_attr.mr_flags = IBT_MR_SLEEP | IBT_MR_ENABLE_LOCAL_WRITE; in rib_rbufpool_create()
3897 mem_attr.mr_vaddr = (uintptr_t)buf; in rib_rbufpool_create()
[all …]