Searched refs:tqp_vector (Results 1 – 4 of 4) sorted by relevance
385 struct hns3_enet_tqp_vector *tqp_vector = vector; in hns3_irq_handle() local387 napi_schedule_irqoff(&tqp_vector->napi); in hns3_irq_handle()388 tqp_vector->event_cnt++; in hns3_irq_handle()399 tqp_vectors = &priv->tqp_vector[i]; in hns3_nic_uninit_irq()423 tqp_vectors = &priv->tqp_vector[i]; in hns3_nic_init_irq()470 static void hns3_mask_vector_irq(struct hns3_enet_tqp_vector *tqp_vector, in hns3_mask_vector_irq() argument473 writel(mask_en, tqp_vector->mask_addr); in hns3_mask_vector_irq()476 static void hns3_vector_enable(struct hns3_enet_tqp_vector *tqp_vector) in hns3_vector_enable() argument478 napi_enable(&tqp_vector->napi); in hns3_vector_enable()479 enable_irq(tqp_vector->vector_irq); in hns3_vector_enable()[all …]
470 struct hns3_enet_tqp_vector *tqp_vector; member585 struct hns3_enet_tqp_vector *tqp_vector; member668 #define ring_to_netdev(ring) ((ring)->tqp_vector->napi.dev)726 void hns3_set_vector_coalesce_rx_gl(struct hns3_enet_tqp_vector *tqp_vector,728 void hns3_set_vector_coalesce_tx_gl(struct hns3_enet_tqp_vector *tqp_vector,730 void hns3_set_vector_coalesce_rl(struct hns3_enet_tqp_vector *tqp_vector,732 void hns3_set_vector_coalesce_rx_ql(struct hns3_enet_tqp_vector *tqp_vector,734 void hns3_set_vector_coalesce_tx_ql(struct hns3_enet_tqp_vector *tqp_vector,
478 static void hns3_get_coal_info(struct hns3_enet_tqp_vector *tqp_vector, in hns3_get_coal_info() argument489 coal = &tqp_vector->tx_group.coal; in hns3_get_coal_info()490 dim = &tqp_vector->tx_group.dim; in hns3_get_coal_info()493 ql_enable = tqp_vector->tx_group.coal.ql_enable; in hns3_get_coal_info()495 coal = &tqp_vector->rx_group.coal; in hns3_get_coal_info()496 dim = &tqp_vector->rx_group.dim; in hns3_get_coal_info()499 ql_enable = tqp_vector->rx_group.coal.ql_enable; in hns3_get_coal_info()516 reg_val = readl(tqp_vector->mask_addr + gl_offset) & in hns3_get_coal_info()520 reg_val = readl(tqp_vector->mask_addr + ql_offset) & in hns3_get_coal_info()533 struct hns3_enet_tqp_vector *tqp_vector; in hns3_dump_coal_info() local[all …]
187 struct hns3_enet_tqp_vector *tqp_vector = ring->tqp_vector; in hns3_lb_check_skb_data() local200 tqp_vector->rx_group.total_packets++; in hns3_lb_check_skb_data()220 rx_group = &ring->tqp_vector->rx_group; in hns3_lb_check_rx_ring()1538 tx_vector = priv->ring[queue].tqp_vector; in hns3_set_coalesce_per_queue()1539 rx_vector = priv->ring[queue_num + queue].tqp_vector; in hns3_set_coalesce_per_queue()