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()
3273 u32 time_passed_ms; in hns3_get_new_flow_lvl() local3276 time_passed_ms = in hns3_get_new_flow_lvl()3278 if (!time_passed_ms) in hns3_get_new_flow_lvl()3281 do_div(ring_group->total_packets, time_passed_ms); in hns3_get_new_flow_lvl()3284 do_div(ring_group->total_bytes, time_passed_ms); in hns3_get_new_flow_lvl()