/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_trace.h | 78 __string(devname, ring->tqp->handle->kinfo.netdev->name) 82 __entry->index = ring->tqp->tqp_index; 88 __assign_str(devname, ring->tqp->handle->kinfo.netdev->name); 110 __string(devname, ring->tqp->handle->kinfo.netdev->name) 114 __entry->index = ring->tqp->tqp_index; 121 __assign_str(devname, ring->tqp->handle->kinfo.netdev->name);
|
D | hns3_debugfs.c | 481 sprintf(result[j++], "%6u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 484 sprintf(result[j++], "%6u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 487 sprintf(result[j++], "%4u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 490 sprintf(result[j++], "%4u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 493 sprintf(result[j++], "%6u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 496 sprintf(result[j++], "%6u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 500 sprintf(result[j++], "%7s", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 504 sprintf(result[j++], "%10s", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 509 base_add_h = readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 511 base_add_l = readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() [all …]
|
D | hns3_enet.c | 658 static void hns3_tqp_enable(struct hnae3_queue *tqp) in hns3_tqp_enable() argument 662 rcb_reg = hns3_read_dev(tqp, HNS3_RING_EN_REG); in hns3_tqp_enable() 664 hns3_write_dev(tqp, HNS3_RING_EN_REG, rcb_reg); in hns3_tqp_enable() 667 static void hns3_tqp_disable(struct hnae3_queue *tqp) in hns3_tqp_disable() argument 671 rcb_reg = hns3_read_dev(tqp, HNS3_RING_EN_REG); in hns3_tqp_disable() 673 hns3_write_dev(tqp, HNS3_RING_EN_REG, rcb_reg); in hns3_tqp_disable() 729 hns3_tqp_enable(h->kinfo.tqp[j]); in hns3_nic_net_up() 736 hns3_tqp_disable(h->kinfo.tqp[j]); in hns3_nic_net_up() 758 ring->tqp->tqp_index); in hns3_config_xps() 836 hns3_tqp_disable(h->kinfo.tqp[i]); in hns3_nic_net_down() [all …]
|
D | hns3_enet.h | 458 struct hnae3_queue *tqp; member
|
D | hnae3.h | 775 struct hnae3_queue **tqp; /* array base of all TQPs in this instance */ member
|
/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 110 struct hclgevf_tqp *tqp; in hclgevf_tqps_update_stats() local 115 tqp = container_of(kinfo->tqp[i], struct hclgevf_tqp, q); in hclgevf_tqps_update_stats() 120 desc.data[0] = cpu_to_le32(tqp->index & 0x1ff); in hclgevf_tqps_update_stats() 128 tqp->tqp_stats.rcb_rx_ring_pktnum_rcd += in hclgevf_tqps_update_stats() 134 desc.data[0] = cpu_to_le32(tqp->index & 0x1ff); in hclgevf_tqps_update_stats() 142 tqp->tqp_stats.rcb_tx_ring_pktnum_rcd += in hclgevf_tqps_update_stats() 152 struct hclgevf_tqp *tqp; in hclgevf_tqps_get_stats() local 157 tqp = container_of(kinfo->tqp[i], struct hclgevf_tqp, q); in hclgevf_tqps_get_stats() 158 *buff++ = tqp->tqp_stats.rcb_tx_ring_pktnum_rcd; in hclgevf_tqps_get_stats() 161 tqp = container_of(kinfo->tqp[i], struct hclgevf_tqp, q); in hclgevf_tqps_get_stats() [all …]
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 576 struct hclge_tqp *tqp; in hclge_tqps_update_stats() local 580 queue = handle->kinfo.tqp[i]; in hclge_tqps_update_stats() 581 tqp = container_of(queue, struct hclge_tqp, q); in hclge_tqps_update_stats() 586 desc[0].data[0] = cpu_to_le32(tqp->index); in hclge_tqps_update_stats() 594 tqp->tqp_stats.rcb_rx_ring_pktnum_rcd += in hclge_tqps_update_stats() 599 queue = handle->kinfo.tqp[i]; in hclge_tqps_update_stats() 600 tqp = container_of(queue, struct hclge_tqp, q); in hclge_tqps_update_stats() 606 desc[0].data[0] = cpu_to_le32(tqp->index); in hclge_tqps_update_stats() 614 tqp->tqp_stats.rcb_tx_ring_pktnum_rcd += in hclge_tqps_update_stats() 624 struct hclge_tqp *tqp; in hclge_tqps_get_stats() local [all …]
|
D | hclge_main.h | 1085 struct hclge_tqp *tqp = container_of(queue, struct hclge_tqp, q); in hclge_get_queue_id() local 1087 return tqp->index; in hclge_get_queue_id()
|
D | hclge_mbx.c | 201 hclge_get_queue_id(vport->nic.kinfo.tqp in hclge_get_ring_chain_from_mbx() 217 hclge_get_queue_id(vport->nic.kinfo.tqp in hclge_get_ring_chain_from_mbx()
|
D | hclge_tm.c | 901 struct hnae3_queue **tqp = kinfo->tqp; in hclge_vport_q_to_qs_map() local 907 struct hnae3_queue *q = tqp[tc_info->tqp_offset[i] + j]; in hclge_vport_q_to_qs_map()
|
/drivers/net/usb/ |
D | lan78xx.c | 3587 struct sk_buff_head *tqp = &dev->txq_pend; in lan78xx_tx_bh() local 3597 spin_lock_irqsave(&tqp->lock, flags); in lan78xx_tx_bh() 3598 skb_queue_walk(tqp, skb) { in lan78xx_tx_bh() 3600 if (!skb_queue_is_first(tqp, skb)) { in lan78xx_tx_bh() 3606 __skb_unlink(skb, tqp); in lan78xx_tx_bh() 3607 spin_unlock_irqrestore(&tqp->lock, flags); in lan78xx_tx_bh() 3616 spin_unlock_irqrestore(&tqp->lock, flags); in lan78xx_tx_bh() 3626 skb2 = skb_dequeue(tqp); in lan78xx_tx_bh()
|