Searched refs:ring_group (Results 1 – 1 of 1) sorted by relevance
2995 static bool hns3_get_new_flow_lvl(struct hns3_enet_ring_group *ring_group) in hns3_get_new_flow_lvl() argument3006 tqp_vector = ring_group->ring->tqp_vector; in hns3_get_new_flow_lvl()3012 do_div(ring_group->total_packets, time_passed_ms); in hns3_get_new_flow_lvl()3013 packets_per_msecs = ring_group->total_packets; in hns3_get_new_flow_lvl()3015 do_div(ring_group->total_bytes, time_passed_ms); in hns3_get_new_flow_lvl()3016 bytes_per_msecs = ring_group->total_bytes; in hns3_get_new_flow_lvl()3018 new_flow_level = ring_group->coal.flow_level; in hns3_get_new_flow_lvl()3046 &tqp_vector->rx_group == ring_group) in hns3_get_new_flow_lvl()3049 ring_group->total_bytes = 0; in hns3_get_new_flow_lvl()3050 ring_group->total_packets = 0; in hns3_get_new_flow_lvl()[all …]