Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.c201 tqp_vector->rx_group.total_packets++; in hns3_lb_check_skb_data()
218 struct hns3_enet_ring_group *rx_group; in hns3_lb_check_rx_ring() local
221 rx_group = &ring->tqp_vector->rx_group; in hns3_lb_check_rx_ring()
222 pre_rx_pkt = rx_group->total_packets; in hns3_lb_check_rx_ring()
228 rcv_good_pkt_total += (rx_group->total_packets - pre_rx_pkt); in hns3_lb_check_rx_ring()
229 rx_group->total_packets = pre_rx_pkt; in hns3_lb_check_rx_ring()
1545 rx_vector->rx_group.coal.adapt_enable = in hns3_set_coalesce_per_queue()
1549 rx_vector->rx_group.coal.int_gl = cmd->rx_coalesce_usecs; in hns3_set_coalesce_per_queue()
1552 rx_vector->rx_group.coal.int_ql = cmd->rx_max_coalesced_frames; in hns3_set_coalesce_per_queue()
1557 rx_vector->rx_group.coal.int_gl); in hns3_set_coalesce_per_queue()
[all …]
H A Dhns3_enet.c444 if (tqp_vectors->tx_group.ring && tqp_vectors->rx_group.ring) { in hns3_nic_init_irq()
450 } else if (tqp_vectors->rx_group.ring) { in hns3_nic_init_irq()
502 cancel_work_sync(&tqp_vector->rx_group.dim.work); in hns3_irq_disable()
516 !tqp_vector->rx_group.coal.adapt_enable) in hns3_set_vector_coalesce_rl()
530 if (tqp_vector->rx_group.coal.unit_1us) in hns3_set_vector_coalesce_rx_gl()
567 struct hns3_enet_coalesce *rx_coal = &tqp_vector->rx_group.coal; in hns3_vector_coalesce_init()
604 struct hns3_enet_coalesce *rx_coal = &tqp_vector->rx_group.coal; in hns3_vector_coalesce_init_hw()
4375 ring->tqp_vector->rx_group.total_bytes += len; in hns3_handle_bdinfo()
4501 struct hns3_enet_ring_group *rx_group = &tqp_vector->rx_group; in hns3_update_rx_int_coalesce() local
4504 if (!rx_group->coal.adapt_enable) in hns3_update_rx_int_coalesce()
[all …]
H A Dhns3_enet.h563 struct hns3_enet_ring_group rx_group; member