Lines Matching refs:new_coal_param
803 u32 new_coal_param, old_coal_param = ring->coal_param; in hns_nic_adpt_coalesce() local
806 new_coal_param = HNAE_LOWEST_LATENCY_COAL_PARAM; in hns_nic_adpt_coalesce()
808 new_coal_param = HNAE_LOW_LATENCY_COAL_PARAM; in hns_nic_adpt_coalesce()
810 new_coal_param = HNAE_BULK_LATENCY_COAL_PARAM; in hns_nic_adpt_coalesce()
812 if (new_coal_param == old_coal_param && in hns_nic_adpt_coalesce()
813 new_coal_param == handle->coal_param) in hns_nic_adpt_coalesce()
816 new_coal_param = smooth_alg(new_coal_param, old_coal_param); in hns_nic_adpt_coalesce()
817 ring->coal_param = new_coal_param; in hns_nic_adpt_coalesce()
827 if (new_coal_param == handle->coal_param) { in hns_nic_adpt_coalesce()
830 } else if (new_coal_param > handle->coal_param || in hns_nic_adpt_coalesce()
834 new_coal_param); in hns_nic_adpt_coalesce()
836 1, new_coal_param); in hns_nic_adpt_coalesce()
837 handle->coal_param = new_coal_param; in hns_nic_adpt_coalesce()