Searched refs:rsrc_pool (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_rsrc.c | 181 tavor_rsrc_pool_info_t *rsrc_pool; in tavor_rsrc_alloc() local 188 rsrc_pool = &state->ts_rsrc_hdl[rsrc]; in tavor_rsrc_alloc() 189 ASSERT(rsrc_pool != NULL); in tavor_rsrc_alloc() 211 switch (rsrc_pool->rsrc_type) { in tavor_rsrc_alloc() 216 status = tavor_rsrc_mbox_alloc(rsrc_pool, num, tmp_rsrc_hdl); in tavor_rsrc_alloc() 230 status = tavor_rsrc_hw_entry_alloc(rsrc_pool, num, num, 0, in tavor_rsrc_alloc() 241 status = tavor_rsrc_hw_entry_alloc(rsrc_pool, num, num, in tavor_rsrc_alloc() 251 status = tavor_rsrc_hw_entry_alloc(rsrc_pool, num, 1, 0, in tavor_rsrc_alloc() 267 status = tavor_rsrc_hw_entry_alloc(rsrc_pool, num, 1, in tavor_rsrc_alloc() 277 status = tavor_rsrc_hw_entry_alloc(rsrc_pool, num, 1, in tavor_rsrc_alloc() [all …]
|
H A D | tavor.c | 1913 tavor_rsrc_pool_info_t *rsrc_pool; in tavor_hca_config_setup() local 1932 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_QPC]; in tavor_hca_config_setup() 1933 offset = (uint64_t)(uintptr_t)rsrc_pool->rsrc_start - ddr_baseaddr; in tavor_hca_config_setup() 1945 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_CQC]; in tavor_hca_config_setup() 1946 offset = (uint64_t)(uintptr_t)rsrc_pool->rsrc_start - ddr_baseaddr; in tavor_hca_config_setup() 1953 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_SRQC]; in tavor_hca_config_setup() 1954 offset = (uint64_t)(uintptr_t)rsrc_pool->rsrc_start - ddr_baseaddr; in tavor_hca_config_setup() 1962 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_EQPC]; in tavor_hca_config_setup() 1963 offset = (uint64_t)(uintptr_t)rsrc_pool->rsrc_start - ddr_baseaddr; in tavor_hca_config_setup() 1971 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_EQC]; in tavor_hca_config_setup() [all …]
|
H A D | tavor_mr.c | 163 tavor_rsrc_pool_info_t *rsrc_pool; in tavor_mr_register_shared() local 334 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_MTT]; in tavor_mr_register_shared() 335 mtt_ddrbaseaddr = (uint64_t)(uintptr_t)rsrc_pool->rsrc_ddr_offset; in tavor_mr_register_shared() 1016 tavor_rsrc_pool_info_t *rsrc_pool; in tavor_mr_common_reg() local 1078 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_MTT]; in tavor_mr_common_reg() 1079 mtt_ddrbaseaddr = (uint64_t)(uintptr_t)rsrc_pool->rsrc_ddr_offset; in tavor_mr_common_reg() 1915 tavor_rsrc_pool_info_t *rsrc_pool; in tavor_mr_rereg_xlat_helper() local 2259 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_MTT]; in tavor_mr_rereg_xlat_helper() 2260 mtt_ddrbaseaddr = (uint64_t)(uintptr_t)rsrc_pool->rsrc_ddr_offset; in tavor_mr_rereg_xlat_helper()
|
H A D | tavor_srq.c | 602 tavor_rsrc_pool_info_t *rsrc_pool; in tavor_srq_modify() local 746 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_MTT]; in tavor_srq_modify() 747 mtt_ddrbaseaddr = (uint64_t)(uintptr_t)rsrc_pool->rsrc_ddr_offset; in tavor_srq_modify()
|
H A D | tavor_qp.c | 64 tavor_rsrc_pool_info_t *rsrc_pool; in tavor_qp_alloc() local 274 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_RDB]; in tavor_qp_alloc() 275 qp->qp_rdb_ddraddr = (uintptr_t)rsrc_pool->rsrc_ddr_offset + in tavor_qp_alloc()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_rsrc.c | 183 hermon_rsrc_pool_info_t *rsrc_pool; in hermon_rsrc_alloc() local 190 rsrc_pool = &state->hs_rsrc_hdl[rsrc]; in hermon_rsrc_alloc() 191 ASSERT(rsrc_pool != NULL); in hermon_rsrc_alloc() 217 status = hermon_rsrc_mbox_alloc(rsrc_pool, num, tmp_rsrc_hdl); in hermon_rsrc_alloc() 224 status = hermon_rsrc_hw_entry_alloc(rsrc_pool, num, num, in hermon_rsrc_alloc() 249 status = hermon_rsrc_hw_entry_alloc(rsrc_pool, num, 1, in hermon_rsrc_alloc() 260 status = hermon_rsrc_swhdl_alloc(rsrc_pool, sleepflag, in hermon_rsrc_alloc() 265 status = hermon_rsrc_pdhdl_alloc(rsrc_pool, sleepflag, in hermon_rsrc_alloc() 278 cmn_err(CE_WARN, "Resource type %x \n", rsrc_pool->rsrc_type); in hermon_rsrc_alloc() 308 hermon_rsrc_pool_info_t *rsrc_pool; in hermon_rsrc_reserve() local [all …]
|
H A D | hermon_fm.c | 485 hermon_rsrc_pool_info_t *rsrc_pool; in hermon_fm_ereport_init() local 650 rsrc_pool = &state->hs_rsrc_hdl[HERMON_UARPG]; in hermon_fm_ereport_init() 651 rsrc_pool->rsrc_type = HERMON_UARPG; in hermon_fm_ereport_init() 652 rsrc_pool->rsrc_loc = HERMON_IN_UAR; in hermon_fm_ereport_init() 653 rsrc_pool->rsrc_pool_size = (num << PAGESHIFT); in hermon_fm_ereport_init() 654 rsrc_pool->rsrc_shift = PAGESHIFT; in hermon_fm_ereport_init() 655 rsrc_pool->rsrc_quantum = (uint_t)PAGESIZE; in hermon_fm_ereport_init() 656 rsrc_pool->rsrc_align = PAGESIZE; in hermon_fm_ereport_init() 657 rsrc_pool->rsrc_state = state; in hermon_fm_ereport_init() 658 rsrc_pool->rsrc_start = (void *)state->hs_reg_uar_baseaddr; in hermon_fm_ereport_init() [all …]
|