Searched refs:rsrc_type (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_rsrc.c | 206 tmp_rsrc_hdl->rsrc_type = rsrc; in tavor_rsrc_alloc() 211 switch (rsrc_pool->rsrc_type) { in tavor_rsrc_alloc() 330 rsrc_pool = &state->ts_rsrc_hdl[(*hdl)->rsrc_type]; in tavor_rsrc_free() 336 switch (rsrc_pool->rsrc_type) { in tavor_rsrc_free() 448 rsrc_pool->rsrc_type = TAVOR_OUT_MBOX; in tavor_rsrc_init_phase1() 491 rsrc_pool->rsrc_type = TAVOR_INTR_OUT_MBOX; in tavor_rsrc_init_phase1() 604 rsrc_pool->rsrc_type = TAVOR_MPT; in tavor_rsrc_init_phase2() 637 rsrc_pool->rsrc_type = TAVOR_MTT; in tavor_rsrc_init_phase2() 669 rsrc_pool->rsrc_type = TAVOR_QPC; in tavor_rsrc_init_phase2() 700 rsrc_pool->rsrc_type = TAVOR_RDB; in tavor_rsrc_init_phase2() [all …]
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_lan_hmc.c | 342 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_create_lan_hmc_object() 349 info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_create_lan_hmc_object() 357 I40E_FIND_SD_INDEX_LIMIT(info->hmc_info, info->rsrc_type, in i40e_create_lan_hmc_object() 366 I40E_FIND_PD_INDEX_LIMIT(info->hmc_info, info->rsrc_type, in i40e_create_lan_hmc_object() 483 info.rsrc_type = I40E_HMC_LAN_FULL; in i40e_configure_lan_hmc() 594 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_delete_lan_hmc_object() 602 info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_delete_lan_hmc_object() 609 I40E_FIND_PD_INDEX_LIMIT(info->hmc_info, info->rsrc_type, in i40e_delete_lan_hmc_object() 632 I40E_FIND_SD_INDEX_LIMIT(info->hmc_info, info->rsrc_type, in i40e_delete_lan_hmc_object() 676 info.rsrc_type = I40E_HMC_LAN_FULL; in i40e_shutdown_lan_hmc() [all …]
|
H A D | i40e_lan_hmc.h | 157 u32 rsrc_type; member 166 u32 rsrc_type; member
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_rsrc.c | 207 tmp_rsrc_hdl->rsrc_type = rsrc; in hermon_rsrc_alloc() 278 cmn_err(CE_WARN, "Resource type %x \n", rsrc_pool->rsrc_type); in hermon_rsrc_alloc() 332 tmp_rsrc_hdl->rsrc_type = rsrc; in hermon_rsrc_reserve() 460 portm1 = hdl->rsrc_type - HERMON_QPC_FEXCH_PORT1; in hermon_rsrc_fexch_free() 527 portm1 = hdl->rsrc_type - HERMON_QPC_RFCI_PORT1; in hermon_rsrc_rfci_free() 546 rsrc_pool = &state->hs_rsrc_hdl[(*hdl)->rsrc_type]; in hermon_rsrc_free() 552 switch (rsrc_pool->rsrc_type) { in hermon_rsrc_free() 603 cmn_err(CE_CONT, "!rsrc_type = 0x%x\n", rsrc_pool->rsrc_type); in hermon_rsrc_free() 851 rsrc_pool->rsrc_type = i; in hermon_rsrc_init_phase2() 1024 rsrc_pool->rsrc_type = i; in hermon_rsrc_init_phase2() [all …]
|
H A D | hermon_qp.c | 65 hermon_rsrc_type_t rsrc_type; in hermon_qp_alloc() local 115 rsrc_type = HERMON_QPC; in hermon_qp_alloc() 130 rsrc_type = HERMON_QPC_RFCI_PORT1; in hermon_qp_alloc() 133 rsrc_type = HERMON_QPC_RFCI_PORT2; in hermon_qp_alloc() 257 status = hermon_rsrc_alloc(state, rsrc_type, 1, sleepflag, &qpc); in hermon_qp_alloc() 1229 hermon_rsrc_type_t rsrc_type; in hermon_qp_alloc_range() local 1267 rsrc_type = HERMON_QPC; in hermon_qp_alloc_range() 1274 rsrc_type = HERMON_QPC_FEXCH_PORT1; in hermon_qp_alloc_range() 1277 rsrc_type = HERMON_QPC_FEXCH_PORT2; in hermon_qp_alloc_range() 1345 status = hermon_rsrc_alloc(state, rsrc_type, 1 << log2, sleepflag, in hermon_qp_alloc_range()
|
H A D | hermon_fm.c | 651 rsrc_pool->rsrc_type = HERMON_UARPG; in hermon_fm_ereport_init()
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor_rsrc.h | 276 tavor_rsrc_type_t rsrc_type; member 321 tavor_rsrc_type_t rsrc_type; member
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_rsrc.h | 311 hermon_rsrc_type_t rsrc_type; member 356 hermon_rsrc_type_t rsrc_type; member
|