/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_mr.c | 77 static int hermon_mr_fast_mtt_write(hermon_state_t *state, hermon_rsrc_t *mtt, 80 hermon_rsrc_t *mtt, ibt_pmr_attr_t *mem_pattr, uint32_t mtt_pgsize_bits); 176 hermon_rsrc_t *mpt, *mtt, *rsrc; in hermon_mr_register_shared() local 324 mtt = mr->mr_mttrsrcp; in hermon_mr_register_shared() 361 mtt_addr = (mtt->hr_indx << HERMON_MTT_SIZE_SHIFT); in hermon_mr_register_shared() 389 mr->mr_mttrsrcp = mtt; in hermon_mr_register_shared() 446 hermon_rsrc_t *mpt, *mtt, *rsrc; in hermon_mr_alloc_fmr() local 547 status = hermon_rsrc_alloc(state, HERMON_MTT, nummtt, sleep, &mtt); in hermon_mr_alloc_fmr() 572 mtt_addr = (mtt->hr_indx << HERMON_MTT_SIZE_SHIFT); in hermon_mr_alloc_fmr() 611 mr->mr_mttrsrcp = mtt; in hermon_mr_alloc_fmr() [all …]
|
H A D | hermon_srq.c | 589 hermon_rsrc_t *mtt, *old_mtt; in hermon_srq_modify() local 698 status = hermon_mr_mtt_bind(state, &bind, new_srqinfo.qa_dmahdl, &mtt, in hermon_srq_modify() 730 mtt_addr = (mtt->hr_indx << HERMON_MTT_SIZE_SHIFT); in hermon_srq_modify() 791 (void) hermon_mr_mtt_unbind(state, &bind, mtt); in hermon_srq_modify() 814 srq->srq_mrhdl->mr_mttrsrcp = mtt; in hermon_srq_modify()
|
H A D | hermon_cmd.c | 2581 hermon_write_mtt_cmd_post(hermon_state_t *state, hermon_rsrc_t *mtt, in hermon_write_mtt_cmd_post() argument 2614 data = ((uint64_t *)mtt->hr_addr)[i]; in hermon_write_mtt_cmd_post() 3669 hermon_hw_mtt_t *mtt) in hermon_read_mtt_cmd_post() argument 3707 ((uint64_t *)(void *)mtt)[i] = data; in hermon_read_mtt_cmd_post()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_mr.c | 68 static int tavor_mr_fast_mtt_write(tavor_rsrc_t *mtt, tavor_bind_info_t *bind, 164 tavor_rsrc_t *mpt, *mtt, *rsrc; in tavor_mr_register_shared() local 312 mtt = mr->mr_mttrsrcp; in tavor_mr_register_shared() 358 mtt_addr = mtt_ddrbaseaddr + (mtt->tr_indx << TAVOR_MTT_SIZE_SHIFT); in tavor_mr_register_shared() 382 mr->mr_mttrsrcp = mtt; in tavor_mr_register_shared() 437 tavor_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt; in tavor_mr_deregister() local 464 mtt = mr->mr_mttrsrcp; in tavor_mr_deregister() 567 tavor_rsrc_free(state, &mtt); in tavor_mr_deregister() 1017 tavor_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt; in tavor_mr_common_reg() local 1193 status = tavor_mr_mtt_bind(state, bh, bind_dmahdl, &mtt, in tavor_mr_common_reg() [all …]
|
H A D | tavor_srq.c | 599 tavor_rsrc_t *mtt, *mpt, *old_mtt; in tavor_srq_modify() local 721 status = tavor_mr_mtt_bind(state, &bind, new_srqinfo.qa_dmahdl, &mtt, in tavor_srq_modify() 757 mtt_addr = mtt_ddrbaseaddr + (mtt->tr_indx << TAVOR_MTT_SIZE_SHIFT); in tavor_srq_modify() 832 srq->srq_mrhdl->mr_mttrsrcp = mtt; in tavor_srq_modify()
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor_mr.h | 317 ddi_dma_handle_t bind_dmahdl, tavor_rsrc_t **mtt, uint_t *mtt_pgsz_bits); 319 tavor_rsrc_t *mtt);
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_mr.h | 300 ddi_dma_handle_t bind_dmahdl, hermon_rsrc_t **mtt, uint_t *mtt_pgsz_bits, 303 hermon_rsrc_t *mtt);
|
H A D | hermon_cmd.h | 782 int hermon_write_mtt_cmd_post(hermon_state_t *state, hermon_rsrc_t *mtt, 865 hermon_hw_mtt_t *mtt);
|