Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c97 struct hns3_enet_tqp_vector *tqp_vector = vector; in hns3_irq_handle() local
99 napi_schedule_irqoff(&tqp_vector->napi); in hns3_irq_handle()
110 tqp_vectors = &priv->tqp_vector[i]; in hns3_nic_uninit_irq()
134 tqp_vectors = &priv->tqp_vector[i]; in hns3_nic_init_irq()
181 static void hns3_mask_vector_irq(struct hns3_enet_tqp_vector *tqp_vector, in hns3_mask_vector_irq() argument
184 writel(mask_en, tqp_vector->mask_addr); in hns3_mask_vector_irq()
187 static void hns3_vector_enable(struct hns3_enet_tqp_vector *tqp_vector) in hns3_vector_enable() argument
189 napi_enable(&tqp_vector->napi); in hns3_vector_enable()
190 enable_irq(tqp_vector->vector_irq); in hns3_vector_enable()
193 hns3_mask_vector_irq(tqp_vector, 1); in hns3_vector_enable()
[all …]
H A Dhns3_enet.h383 struct hns3_enet_tqp_vector *tqp_vector; member
478 struct hns3_enet_tqp_vector *tqp_vector; member
547 #define ring_to_netdev(ring) ((ring)->tqp_vector->napi.dev)
593 void hns3_set_vector_coalesce_rx_gl(struct hns3_enet_tqp_vector *tqp_vector,
595 void hns3_set_vector_coalesce_tx_gl(struct hns3_enet_tqp_vector *tqp_vector,
597 void hns3_set_vector_coalesce_rl(struct hns3_enet_tqp_vector *tqp_vector,
H A Dhns3_ethtool.c184 struct hns3_enet_tqp_vector *tqp_vector = ring->tqp_vector; in hns3_lb_check_skb_data() local
197 tqp_vector->rx_group.total_packets++; in hns3_lb_check_skb_data()
217 rx_group = &ring->tqp_vector->rx_group; in hns3_lb_check_rx_ring()
1135 tx_vector = priv->ring[queue].tqp_vector; in hns3_get_coalesce_per_queue()
1136 rx_vector = priv->ring[queue_num + queue].tqp_vector; in hns3_get_coalesce_per_queue()
1261 tx_vector = priv->ring[queue].tqp_vector; in hns3_set_coalesce_per_queue()
1262 rx_vector = priv->ring[queue_num + queue].tqp_vector; in hns3_set_coalesce_per_queue()
H A 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()