Searched refs:hr_indx (Results 1 – 12 of 12) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_fcoib.c | 59 fcoib->hfc_rfci_rsrc->hr_indx; in hermon_fcoib_enable() 172 qpnum -= fcoib->hfc_fexch_rsrc->hr_indx; in hermon_fcoib_is_fexch_qpn() 387 fcoib->hfc_mpt_rsrc->hr_indx; in hermon_fcoib_init() 390 fcoib->hfc_mtts_per_mpt / 2) + fcoib->hfc_mtt_rsrc->hr_indx; in hermon_fcoib_init() 392 fcoib->hfc_fexch_rsrc->hr_indx; in hermon_fcoib_init() 394 fcoib->hfc_rfci_rsrc->hr_indx; in hermon_fcoib_init()
|
H A D | hermon_mr.c | 258 mr->mr_rkey = mr->mr_lkey = hermon_mr_keycalc(mpt->hr_indx); in hermon_mr_register_shared() 361 mtt_addr = (mtt->hr_indx << HERMON_MTT_SIZE_SHIFT); in hermon_mr_register_shared() 372 sizeof (hermon_hw_dmpt_t), mpt->hr_indx, sleep); in hermon_mr_register_shared() 527 mr->mr_rkey = mr->mr_lkey = mpt->hr_indx; in hermon_mr_alloc_fmr() 572 mtt_addr = (mtt->hr_indx << HERMON_MTT_SIZE_SHIFT); in hermon_mr_alloc_fmr() 593 sizeof (hermon_hw_dmpt_t), mpt->hr_indx, sleep); in hermon_mr_alloc_fmr() 624 rindx = mpt->hr_indx; in hermon_mr_alloc_fmr() 695 key = mpt->hr_indx | (mr->mr_fmr_key++ << HERMON_MEMKEY_SHIFT); in hermon_mr_register_physical_fmr() 827 NULL, 0, mpt->hr_indx, sleep); in hermon_mr_deregister() 1288 mw->mr_rkey = hermon_mr_keycalc(mpt->hr_indx); in hermon_mw_alloc() [all …]
|
H A D | hermon_qp.c | 163 uarpg = ((hermon_rsrc_t *)(uintptr_t)value)->hr_indx; in hermon_qp_alloc() 285 qp->qp_qpnum = qpc->hr_indx; in hermon_qp_alloc() 696 hermon_icm_set_num_to_hdl(state, HERMON_QPC, qpc->hr_indx, qp); in hermon_qp_alloc() 897 qp->qp_qpnum = qpc->hr_indx + port; in hermon_special_qp_alloc() 1181 hermon_icm_set_num_to_hdl(state, HERMON_QPC, qpc->hr_indx + port, qp); in hermon_special_qp_alloc() 1359 attr_p->qp_fc.fc_hca_port, qpc->hr_indx); in hermon_qp_alloc_range() 1361 *(qpinfo->qpi_qpn) = (ib_qpn_t)qpc->hr_indx; in hermon_qp_alloc_range() 1429 qp->qp_qpnum = qpc->hr_indx + ii; in hermon_qp_alloc_range() 1784 hermon_icm_set_num_to_hdl(state, HERMON_QPC, qpc->hr_indx + ii, qp); in hermon_qp_alloc_range() 1978 qpc->hr_indx + port, NULL); in hermon_qp_free() [all …]
|
H A D | hermon_srq.c | 110 uarpg = ((hermon_rsrc_t *)(uintptr_t)value)->hr_indx; in hermon_srq_alloc() 139 srq->srq_srqnum = srqc->hr_indx; in hermon_srq_alloc() 382 hermon_icm_set_num_to_hdl(state, HERMON_SRQC, srqc->hr_indx, srq); in hermon_srq_alloc() 520 hermon_icm_set_num_to_hdl(state, HERMON_SRQC, srqc->hr_indx, NULL); in hermon_srq_free() 730 mtt_addr = (mtt->hr_indx << HERMON_MTT_SIZE_SHIFT); in hermon_srq_modify()
|
H A D | hermon_rsrc.c | 411 hdl->hr_indx = fexch_qpn_base; in hermon_rsrc_fexch_alloc() 423 mpt_hdl.hr_indx = fcoib->hfc_mpt_base[portm1] + in hermon_rsrc_fexch_alloc() 439 mtt_hdl.hr_indx = fcoib->hfc_mtt_base[portm1] + in hermon_rsrc_fexch_alloc() 508 hdl->hr_indx = rfci_qpn_base; in hermon_rsrc_rfci_alloc() 1930 hdl->hr_indx = offset >> pool_info->rsrc_shift; in hermon_rsrc_hw_entry_alloc() 1992 hdl->hr_indx = offset >> pool_info->rsrc_shift; in hermon_rsrc_hw_entry_reserve() 2016 offset = hdl->hr_indx << pool_info->rsrc_shift; in hermon_rsrc_hw_entry_free() 2074 rindx = hdl->hr_indx; in hermon_rsrc_hw_entry_icm_confirm() 2226 rindx = hdl->hr_indx; in hermon_rsrc_hw_entry_icm_free() 2374 hdl->hr_indx = addr->pd_pdnum; in hermon_rsrc_pdhdl_alloc() [all …]
|
H A D | hermon_cq.c | 105 uarpg = ((hermon_rsrc_t *)(uintptr_t)value)->hr_indx; in hermon_cq_alloc() 143 cq->cq_cqnum = cqc->hr_indx; /* just use index, implicit in Hermon */ in hermon_cq_alloc() 358 hermon_icm_set_num_to_hdl(state, HERMON_CQC, cqc->hr_indx, cq); in hermon_cq_alloc() 488 hermon_icm_set_num_to_hdl(state, HERMON_CQC, cqc->hr_indx, NULL); in hermon_cq_free() 1432 qp1_indx = state->hs_spec_qp1->hr_indx; in hermon_cq_cqe_consume()
|
H A D | hermon_misc.c | 1013 newmcg = &state->hs_mcghdl[rsrc->hr_indx]; in hermon_mcg_attach() 1047 status = hermon_write_mgm_cmd_post(state, mcg_entry, rsrc->hr_indx, in hermon_mcg_attach() 1100 mcg_entry->next_gid_indx = rsrc->hr_indx; in hermon_mcg_attach() 1116 mcg->mcg_next_indx = rsrc->hr_indx; in hermon_mcg_attach()
|
H A D | hermon_event.c | 842 sizeof (hermon_hw_eqc_t), eqc->hr_indx, HERMON_CMD_NOSLEEP_SPIN); in hermon_eq_alloc() 861 eq->eq_eqnum = eqc->hr_indx; in hermon_eq_alloc()
|
H A D | hermon.c | 310 uint_t hr_indx; in hermon_open() local 374 hr_indx = state->hs_open_ar_indx++; in hermon_open() 385 hr_indx = rsrcp->hr_indx; in hermon_open() 408 dev = makedevice(getmajor(*devp), (hr_indx << in hermon_open() 439 dev = makedevice(getmajor(*devp), (rsrcp->hr_indx << in hermon_open()
|
H A D | hermon_umap.c | 270 &hermon_devmap_devmem_cbops, HERMON_UAR_BAR, (rsrcp->hr_indx << in hermon_umap_uarpg()
|
H A D | hermon_wr.c | 2198 new_rkey = hermon_mr_keycalc(mpt->hr_indx); in hermon_wr_bind_check()
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_rsrc.h | 359 uint32_t hr_indx; member
|