Searched refs:ring_group (Results 1 – 1 of 1) sorted by relevance
2368 static bool hns3_get_new_int_gl(struct hns3_enet_ring_group *ring_group) in hns3_get_new_int_gl() argument2371 ring_group->ring->tqp_vector; in hns3_get_new_int_gl()2378 if (!ring_group->coal.int_gl || !tqp_vector->last_jiffies) in hns3_get_new_int_gl()2381 if (ring_group->total_packets == 0) { in hns3_get_new_int_gl()2382 ring_group->coal.int_gl = HNS3_INT_GL_50K; in hns3_get_new_int_gl()2383 ring_group->coal.flow_level = HNS3_FLOW_LOW; in hns3_get_new_int_gl()2393 new_flow_level = ring_group->coal.flow_level; in hns3_get_new_int_gl()2394 new_int_gl = ring_group->coal.int_gl; in hns3_get_new_int_gl()2401 do_div(ring_group->total_packets, time_passed_ms); in hns3_get_new_int_gl()2402 packets_per_msecs = ring_group->total_packets; in hns3_get_new_int_gl()[all …]