Home
last modified time | relevance | path

Searched refs:new_coal_param (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c803 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()
[all …]