Lines Matching refs:tx_group

428 		if (tqp_vectors->tx_group.ring && tqp_vectors->rx_group.ring) {  in hns3_nic_init_irq()
439 } else if (tqp_vectors->tx_group.ring) { in hns3_nic_init_irq()
493 cancel_work_sync(&tqp_vector->tx_group.dim.work); in hns3_vector_disable()
505 if (rl_reg > 0 && !tqp_vector->tx_group.coal.adapt_enable && in hns3_set_vector_coalesce_rl()
533 if (tqp_vector->tx_group.coal.unit_1us) in hns3_set_vector_coalesce_tx_gl()
557 struct hns3_enet_coalesce *tx_coal = &tqp_vector->tx_group.coal; in hns3_vector_coalesce_init()
593 struct hns3_enet_coalesce *tx_coal = &tqp_vector->tx_group.coal; in hns3_vector_coalesce_init_hw()
751 struct hns3_enet_ring *ring = tqp_vector->tx_group.ring; in hns3_config_xps()
3642 ring->tqp_vector->tx_group.total_bytes += bytes; in hns3_clean_tx_ring()
3643 ring->tqp_vector->tx_group.total_packets += pkts; in hns3_clean_tx_ring()
4456 struct hns3_enet_ring_group *tx_group = &tqp_vector->tx_group; in hns3_update_tx_int_coalesce() local
4459 if (!tx_group->coal.adapt_enable) in hns3_update_tx_int_coalesce()
4462 dim_update_sample(tqp_vector->event_cnt, tx_group->total_packets, in hns3_update_tx_int_coalesce()
4463 tx_group->total_bytes, &sample); in hns3_update_tx_int_coalesce()
4464 net_dim(&tx_group->dim, sample); in hns3_update_tx_int_coalesce()
4486 hns3_for_each_ring(ring, tqp_vector->tx_group) in hns3_nic_common_poll()
4529 ring = is_tx ? tqp_vector->tx_group.ring : tqp_vector->rx_group.ring; in hns3_create_ring_chain()
4655 tqp_vector->tx_group.coal.int_gl = cur_moder.usec; in hns3_tx_dim_work()
4657 if (cur_moder.pkts < tqp_vector->tx_group.coal.int_ql_max) { in hns3_tx_dim_work()
4659 tqp_vector->tx_group.coal.int_ql = cur_moder.pkts; in hns3_tx_dim_work()
4668 INIT_WORK(&tqp_vector->tx_group.dim.work, hns3_tx_dim_work); in hns3_nic_init_dim()
4693 hns3_add_ring_to_group(&tqp_vector->tx_group, in hns3_nic_init_vector_data()
4711 tqp_vector->tx_group.total_bytes = 0; in hns3_nic_init_vector_data()
4712 tqp_vector->tx_group.total_packets = 0; in hns3_nic_init_vector_data()
4831 if (!tqp_vector->rx_group.ring && !tqp_vector->tx_group.ring) in hns3_nic_uninit_vector_data()
4848 hns3_clear_ring_group(&tqp_vector->tx_group); in hns3_nic_uninit_vector_data()
5231 priv->tqp_vector[i].tx_group.dim.mode = mode; in hns3_set_cq_period_mode()