Lines Matching refs:rx_coal
555 struct hns3_enet_coalesce *rx_coal = &tqp_vector->rx_group.coal; in hns3_vector_coalesce_init() local
557 struct hns3_enet_coalesce *prx_coal = &priv->rx_coal; in hns3_vector_coalesce_init()
560 rx_coal->adapt_enable = prx_coal->adapt_enable; in hns3_vector_coalesce_init()
563 rx_coal->int_gl = prx_coal->int_gl; in hns3_vector_coalesce_init()
565 rx_coal->flow_level = prx_coal->flow_level; in hns3_vector_coalesce_init()
573 rx_coal->unit_1us = 1; in hns3_vector_coalesce_init()
578 rx_coal->ql_enable = 1; in hns3_vector_coalesce_init()
580 rx_coal->int_ql_max = ae_dev->dev_specs.int_ql_max; in hns3_vector_coalesce_init()
582 rx_coal->int_ql = prx_coal->int_ql; in hns3_vector_coalesce_init()
591 struct hns3_enet_coalesce *rx_coal = &tqp_vector->rx_group.coal; in hns3_vector_coalesce_init_hw() local
595 hns3_set_vector_coalesce_rx_gl(tqp_vector, rx_coal->int_gl); in hns3_vector_coalesce_init_hw()
601 if (rx_coal->ql_enable) in hns3_vector_coalesce_init_hw()
602 hns3_set_vector_coalesce_rx_ql(tqp_vector, rx_coal->int_ql); in hns3_vector_coalesce_init_hw()
4669 struct hns3_enet_coalesce *rx_coal = &priv->rx_coal; in hns3_nic_init_coal_cfg() local
4679 rx_coal->adapt_enable = 1; in hns3_nic_init_coal_cfg()
4682 rx_coal->int_gl = HNS3_INT_GL_50K; in hns3_nic_init_coal_cfg()
4684 rx_coal->flow_level = HNS3_FLOW_LOW; in hns3_nic_init_coal_cfg()
4689 rx_coal->int_ql = HNS3_INT_QL_DEFAULT_CFG; in hns3_nic_init_coal_cfg()