Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c96 struct hns3_enet_tqp_vector *tqp_vector = vector; in hns3_irq_handle() local
98 napi_schedule_irqoff(&tqp_vector->napi); in hns3_irq_handle()
109 tqp_vectors = &priv->tqp_vector[i]; in hns3_nic_uninit_irq()
133 tqp_vectors = &priv->tqp_vector[i]; in hns3_nic_init_irq()
180 static void hns3_mask_vector_irq(struct hns3_enet_tqp_vector *tqp_vector, in hns3_mask_vector_irq() argument
183 writel(mask_en, tqp_vector->mask_addr); in hns3_mask_vector_irq()
186 static void hns3_vector_enable(struct hns3_enet_tqp_vector *tqp_vector) in hns3_vector_enable() argument
188 napi_enable(&tqp_vector->napi); in hns3_vector_enable()
189 enable_irq(tqp_vector->vector_irq); in hns3_vector_enable()
192 hns3_mask_vector_irq(tqp_vector, 1); in hns3_vector_enable()
[all …]
Dhns3_enet.h382 struct hns3_enet_tqp_vector *tqp_vector; member
477 struct hns3_enet_tqp_vector *tqp_vector; member
546 #define ring_to_netdev(ring) ((ring)->tqp_vector->napi.dev)
592 void hns3_set_vector_coalesce_rx_gl(struct hns3_enet_tqp_vector *tqp_vector,
594 void hns3_set_vector_coalesce_tx_gl(struct hns3_enet_tqp_vector *tqp_vector,
596 void hns3_set_vector_coalesce_rl(struct hns3_enet_tqp_vector *tqp_vector,
Dhns3_ethtool.c182 struct hns3_enet_tqp_vector *tqp_vector = ring->tqp_vector; in hns3_lb_check_skb_data() local
195 tqp_vector->rx_group.total_packets++; in hns3_lb_check_skb_data()
215 rx_group = &ring->tqp_vector->rx_group; in hns3_lb_check_rx_ring()
1104 tx_vector = priv->ring[queue].tqp_vector; in hns3_get_coalesce_per_queue()
1105 rx_vector = priv->ring[queue_num + queue].tqp_vector; in hns3_get_coalesce_per_queue()
1230 tx_vector = priv->ring[queue].tqp_vector; in hns3_set_coalesce_per_queue()
1231 rx_vector = priv->ring[queue_num + queue].tqp_vector; in hns3_set_coalesce_per_queue()
Dhns3_debugfs.c161 if (!priv->ring || !priv->ring[i].tqp_vector) in hns3_dbg_queue_map()
166 i, global_qid, priv->ring[i].tqp_vector->vector_irq); in hns3_dbg_queue_map()