Searched refs:time_passed_ms (Results 1 – 2 of 2) sorted by relevance
730 u32 time_passed_ms; in hns_update_rx_rate() local745 time_passed_ms = jiffies_to_msecs(jiffies - ring->coal_last_jiffies); in hns_update_rx_rate()746 do_div(total_bytes, time_passed_ms); in hns_update_rx_rate()
3227 u32 time_passed_ms; in hns3_get_new_flow_lvl() local3230 time_passed_ms = in hns3_get_new_flow_lvl()3232 if (!time_passed_ms) in hns3_get_new_flow_lvl()3235 do_div(ring_group->total_packets, time_passed_ms); in hns3_get_new_flow_lvl()3238 do_div(ring_group->total_bytes, time_passed_ms); in hns3_get_new_flow_lvl()