Home
last modified time | relevance | path

Searched refs:int_gl (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.h467 u16 int_gl; member
608 #define hns3_gl_usec_to_reg(int_gl) (int_gl >> 1) argument
609 #define hns3_gl_round_down(int_gl) round_down(int_gl, 2) argument
Dhns3_ethtool.c851 cmd->tx_coalesce_usecs = tx_vector->tx_group.coal.int_gl; in hns3_get_coalesce_per_queue()
852 cmd->rx_coalesce_usecs = rx_vector->rx_group.coal.int_gl; in hns3_get_coalesce_per_queue()
977 tx_vector->tx_group.coal.int_gl = cmd->tx_coalesce_usecs; in hns3_set_coalesce_per_queue()
978 rx_vector->rx_group.coal.int_gl = cmd->rx_coalesce_usecs; in hns3_set_coalesce_per_queue()
981 tx_vector->tx_group.coal.int_gl); in hns3_set_coalesce_per_queue()
983 rx_vector->rx_group.coal.int_gl); in hns3_set_coalesce_per_queue()
Dhns3_enet.c209 tqp_vector->tx_group.coal.int_gl = HNS3_INT_GL_50K; in hns3_vector_gl_rl_init()
210 tqp_vector->rx_group.coal.int_gl = HNS3_INT_GL_50K; in hns3_vector_gl_rl_init()
226 tqp_vector->tx_group.coal.int_gl); in hns3_vector_gl_rl_init_hw()
228 tqp_vector->rx_group.coal.int_gl); in hns3_vector_gl_rl_init_hw()
2378 if (!ring_group->coal.int_gl || !tqp_vector->last_jiffies) in hns3_get_new_int_gl()
2382 ring_group->coal.int_gl = HNS3_INT_GL_50K; in hns3_get_new_int_gl()
2394 new_int_gl = ring_group->coal.int_gl; in hns3_get_new_int_gl()
2455 if (new_int_gl != ring_group->coal.int_gl) { in hns3_get_new_int_gl()
2456 ring_group->coal.int_gl = new_int_gl; in hns3_get_new_int_gl()
2477 rx_group->coal.int_gl); in hns3_update_new_int_gl()
[all …]