Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/octeon/
Dethernet-rx.c189 static int cvm_oct_poll(struct oct_rx_group *rx_group, int budget) in cvm_oct_poll() argument
211 BIT(rx_group->group)); in cvm_oct_poll()
217 BIT(rx_group->group)); in cvm_oct_poll()
242 BIT(rx_group->group)); in cvm_oct_poll()
244 BIT(rx_group->group)); in cvm_oct_poll()
249 wq_int.s.iq_dis = BIT(rx_group->group); in cvm_oct_poll()
250 wq_int.s.wq_int = BIT(rx_group->group); in cvm_oct_poll()
421 struct oct_rx_group *rx_group = container_of(napi, struct oct_rx_group, in cvm_oct_napi_poll() local
425 rx_count = cvm_oct_poll(rx_group, budget); in cvm_oct_napi_poll()
430 enable_irq(rx_group->irq); in cvm_oct_napi_poll()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c176 tqp_vector->rx_group.total_packets++; in hns3_lb_check_skb_data()
193 struct hns3_enet_ring_group *rx_group; in hns3_lb_check_rx_ring() local
196 rx_group = &ring->tqp_vector->rx_group; in hns3_lb_check_rx_ring()
197 pre_rx_pkt = rx_group->total_packets; in hns3_lb_check_rx_ring()
203 rcv_good_pkt_total += (rx_group->total_packets - pre_rx_pkt); in hns3_lb_check_rx_ring()
204 rx_group->total_packets = pre_rx_pkt; in hns3_lb_check_rx_ring()
849 rx_vector->rx_group.coal.gl_adapt_enable; in hns3_get_coalesce_per_queue()
852 cmd->rx_coalesce_usecs = rx_vector->rx_group.coal.int_gl; in hns3_get_coalesce_per_queue()
974 rx_vector->rx_group.coal.gl_adapt_enable = in hns3_set_coalesce_per_queue()
978 rx_vector->rx_group.coal.int_gl = cmd->rx_coalesce_usecs; in hns3_set_coalesce_per_queue()
[all …]
Dhns3_enet.c101 if (tqp_vectors->tx_group.ring && tqp_vectors->rx_group.ring) { in hns3_nic_init_irq()
106 } else if (tqp_vectors->rx_group.ring) { in hns3_nic_init_irq()
170 !tqp_vector->rx_group.coal.gl_adapt_enable) in hns3_set_vector_coalesce_rl()
207 tqp_vector->rx_group.coal.gl_adapt_enable = 1; in hns3_vector_gl_rl_init()
210 tqp_vector->rx_group.coal.int_gl = HNS3_INT_GL_50K; in hns3_vector_gl_rl_init()
216 tqp_vector->rx_group.coal.flow_level = HNS3_FLOW_LOW; in hns3_vector_gl_rl_init()
228 tqp_vector->rx_group.coal.int_gl); in hns3_vector_gl_rl_init_hw()
2308 ring->tqp_vector->rx_group.total_bytes += skb->len; in hns3_handle_rx_bd()
2432 &tqp_vector->rx_group == ring_group) in hns3_get_new_int_gl()
2464 struct hns3_enet_ring_group *rx_group = &tqp_vector->rx_group; in hns3_update_new_int_gl() local
[all …]
Dhns3_enet.h491 struct hns3_enet_ring_group rx_group; member