Searched refs:ring_group (Results 1 – 1 of 1) sorted by relevance
3264 static bool hns3_get_new_flow_lvl(struct hns3_enet_ring_group *ring_group) in hns3_get_new_flow_lvl() argument3275 tqp_vector = ring_group->ring->tqp_vector; in hns3_get_new_flow_lvl()3281 do_div(ring_group->total_packets, time_passed_ms); in hns3_get_new_flow_lvl()3282 packets_per_msecs = ring_group->total_packets; in hns3_get_new_flow_lvl()3284 do_div(ring_group->total_bytes, time_passed_ms); in hns3_get_new_flow_lvl()3285 bytes_per_msecs = ring_group->total_bytes; in hns3_get_new_flow_lvl()3287 new_flow_level = ring_group->coal.flow_level; in hns3_get_new_flow_lvl()3315 &tqp_vector->rx_group == ring_group) in hns3_get_new_flow_lvl()3318 ring_group->total_bytes = 0; in hns3_get_new_flow_lvl()3319 ring_group->total_packets = 0; in hns3_get_new_flow_lvl()[all …]