Searched refs:devlim (Results 1 – 4 of 4) sorted by relevance
273 hermon_hw_querydevlim_t *devlim; in hermon_cfg_profile_init_phase2() local279 devlim = &state->hs_devlim; in hermon_cfg_profile_init_phase2()300 cp->cp_log_num_mtt = min(hermon_log_num_mtt, devlim->log_max_mtt); in hermon_cfg_profile_init_phase2()301 cp->cp_log_num_dmpt = min(hermon_log_num_dmpt, devlim->log_max_dmpt); in hermon_cfg_profile_init_phase2()305 devlim->log_max_mrw_sz); in hermon_cfg_profile_init_phase2()306 cp->cp_log_num_pd = min(hermon_log_num_pd, devlim->log_max_pd); in hermon_cfg_profile_init_phase2()307 cp->cp_log_num_qp = min(hermon_log_num_qp, devlim->log_max_qp); in hermon_cfg_profile_init_phase2()308 cp->cp_log_num_cq = min(hermon_log_num_cq, devlim->log_max_cq); in hermon_cfg_profile_init_phase2()309 cp->cp_log_num_srq = min(hermon_log_num_srq, devlim->log_max_srq); in hermon_cfg_profile_init_phase2()310 cp->cp_log_num_eq = min(hermon_log_num_eq, devlim->log_max_eq); in hermon_cfg_profile_init_phase2()[all …]
810 hermon_hw_querydevlim_t *devlim; in hermon_rsrc_init_phase2() local833 devlim = &state->hs_devlim; in hermon_rsrc_init_phase2()857 max = ((uint64_t)1 << devlim->log_max_mtt); in hermon_rsrc_init_phase2()858 num_prealloc = ((uint64_t)1 << devlim->log_rsvd_mtt); in hermon_rsrc_init_phase2()864 max = ((uint64_t)1 << devlim->log_max_dmpt); in hermon_rsrc_init_phase2()865 num_prealloc = ((uint64_t)1 << devlim->log_rsvd_dmpt); in hermon_rsrc_init_phase2()871 max = ((uint64_t)1 << devlim->log_max_qp); in hermon_rsrc_init_phase2()872 num_prealloc = ((uint64_t)1 << devlim->log_rsvd_qp); in hermon_rsrc_init_phase2()878 max = ((uint64_t)1 << devlim->log_max_cq); in hermon_rsrc_init_phase2()879 num_prealloc = ((uint64_t)1 << devlim->log_rsvd_cq); in hermon_rsrc_init_phase2()[all …]
1516 hermon_hw_querydevlim_t *devlim; in hermon_size_icm() local1527 devlim = &state->hs_devlim; in hermon_size_icm()1545 num_cmpts * devlim->cmpt_entry_sz + in hermon_size_icm()1546 num_dmpts * devlim->dmpt_entry_sz + in hermon_size_icm()1547 num_mtts * devlim->mtt_entry_sz + in hermon_size_icm()1548 num_qpcs * devlim->qpc_entry_sz + in hermon_size_icm()1549 num_srqc * devlim->srq_entry_sz + in hermon_size_icm()1550 num_rdbs * devlim->rdmardc_entry_sz + in hermon_size_icm()1551 num_cqcs * devlim->cqc_entry_sz + in hermon_size_icm()1552 num_altc * devlim->altc_entry_sz + in hermon_size_icm()[all …]
483 hermon_hw_querydevlim_t *devlim; in hermon_fm_ereport_init() local646 devlim = &state->hs_devlim; in hermon_fm_ereport_init()649 num_prealloc = max(devlim->num_rsvd_uar, 128); in hermon_fm_ereport_init()