Searched refs:error_rate (Results 1 – 1 of 1) sorted by relevance
1182 u32 error_rate; in qm_get_shaper_para() local1191 error_rate = QM_QOS_EXPAND_RATE * (u32)abs(ir_calc - ir) / ir; in qm_get_shaper_para()1192 if (error_rate <= QM_QOS_MIN_ERROR_RATE) { in qm_get_shaper_para()3595 u32 error_rate; in qm_get_shaper_vft_qos() local3631 error_rate = QM_QOS_EXPAND_RATE * (u32)abs(ir_calc - ir) / ir; in qm_get_shaper_vft_qos()3632 if (error_rate > QM_QOS_MIN_ERROR_RATE) { in qm_get_shaper_vft_qos()3633 pci_err(qm->pdev, "error_rate: %u, get function qos is error!\n", error_rate); in qm_get_shaper_vft_qos()