Home
last modified time | relevance | path

Searched refs:qpwanted (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/
H A Dctrl.c4742 struct irdma_hmc_info *hmc_info, u32 qpwanted) in irdma_q1_cnt()
4747 q1_cnt = roundup_pow_of_two(dev->hw_attrs.max_hw_ird * 2 * qpwanted); in irdma_q1_cnt()
4750 q1_cnt = roundup_pow_of_two(dev->hw_attrs.max_hw_ird * 2 * qpwanted + 512); in irdma_q1_cnt()
4752 q1_cnt = dev->hw_attrs.max_hw_ird * 2 * qpwanted; in irdma_q1_cnt()
4759 struct irdma_hmc_info *hmc_info, u32 qpwanted) in cfg_fpm_value_gen_1()
4761 hmc_info->hmc_obj[IRDMA_HMC_IW_XF].cnt = roundup_pow_of_two(qpwanted * dev->hw_attrs.max_hw_wqes); in cfg_fpm_value_gen_1()
4765 struct irdma_hmc_info *hmc_info, u32 qpwanted) in cfg_fpm_value_gen_2()
4770 4 * hmc_fpm_misc->xf_block_size * qpwanted; in cfg_fpm_value_gen_2()
4772 hmc_info->hmc_obj[IRDMA_HMC_IW_HDR].cnt = qpwanted; in cfg_fpm_value_gen_2()
4775 hmc_info->hmc_obj[IRDMA_HMC_IW_RRF].cnt = 32 * qpwanted; in cfg_fpm_value_gen_2()
4741 irdma_q1_cnt(struct irdma_sc_dev *dev, struct irdma_hmc_info *hmc_info, u32 qpwanted) irdma_q1_cnt() argument
4758 cfg_fpm_value_gen_1(struct irdma_sc_dev *dev, struct irdma_hmc_info *hmc_info, u32 qpwanted) cfg_fpm_value_gen_1() argument
4764 cfg_fpm_value_gen_2(struct irdma_sc_dev *dev, struct irdma_hmc_info *hmc_info, u32 qpwanted) cfg_fpm_value_gen_2() argument
4797 u32 qpwanted, mrwanted, pblewanted; irdma_cfg_fpm_val() local
4890 pblewanted, qpwanted); irdma_cfg_fpm_val() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
H A Di40iw_ctrl.c4007 u32 qpwantedoriginal, qpwanted, mrwanted, pblewanted; in i40iw_config_fpm_values() local
4037 qpwanted = min(qp_count, hmc_info->hmc_obj[I40IW_HMC_IW_QP].max_cnt); in i40iw_config_fpm_values()
4038 qpwantedoriginal = qpwanted; in i40iw_config_fpm_values()
4052 hmc_info->hmc_obj[I40IW_HMC_IW_QP].cnt = qpwanted; in i40iw_config_fpm_values()
4054 min(2 * qpwanted, hmc_info->hmc_obj[I40IW_HMC_IW_CQ].cnt); in i40iw_config_fpm_values()
4057 qpwanted * hmc_fpm_misc->ht_multiplier; in i40iw_config_fpm_values()
4064 roundup_pow_of_two(I40IW_MAX_WQ_ENTRIES * qpwanted); in i40iw_config_fpm_values()
4066 roundup_pow_of_two(2 * I40IW_MAX_IRD_SIZE * qpwanted); in i40iw_config_fpm_values()
4072 ((qpwanted) / 512 + 1) * hmc_fpm_misc->timer_bucket; in i40iw_config_fpm_values()
4081 (qpwanted > qpwantedorigina in i40iw_config_fpm_values()
[all...]

Completed in 13 milliseconds