Searched refs:tqp (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 37 struct hclgevf_tqp *tqp; in hclgevf_tqps_update_stats() local 42 queue = handle->kinfo.tqp[i]; in hclgevf_tqps_update_stats() 43 tqp = container_of(queue, struct hclgevf_tqp, q); in hclgevf_tqps_update_stats() 48 desc.data[0] = cpu_to_le32(tqp->index & 0x1ff); in hclgevf_tqps_update_stats() 56 tqp->tqp_stats.rcb_rx_ring_pktnum_rcd += in hclgevf_tqps_update_stats() 62 desc.data[0] = cpu_to_le32(tqp->index & 0x1ff); in hclgevf_tqps_update_stats() 70 tqp->tqp_stats.rcb_tx_ring_pktnum_rcd += in hclgevf_tqps_update_stats() 81 struct hclgevf_tqp *tqp; in hclgevf_tqps_get_stats() local 86 tqp = container_of(handle->kinfo.tqp[i], struct hclgevf_tqp, q); in hclgevf_tqps_get_stats() 87 *buff++ = tqp->tqp_stats.rcb_tx_ring_pktnum_rcd; in hclgevf_tqps_get_stats() [all …]
|
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 544 struct hclge_tqp *tqp; in hclge_tqps_update_stats() local 548 queue = handle->kinfo.tqp[i]; in hclge_tqps_update_stats() 549 tqp = container_of(queue, struct hclge_tqp, q); in hclge_tqps_update_stats() 555 desc[0].data[0] = cpu_to_le32((tqp->index & 0x1ff)); in hclge_tqps_update_stats() 563 tqp->tqp_stats.rcb_rx_ring_pktnum_rcd += in hclge_tqps_update_stats() 568 queue = handle->kinfo.tqp[i]; in hclge_tqps_update_stats() 569 tqp = container_of(queue, struct hclge_tqp, q); in hclge_tqps_update_stats() 575 desc[0].data[0] = cpu_to_le32((tqp->index & 0x1ff)); in hclge_tqps_update_stats() 583 tqp->tqp_stats.rcb_tx_ring_pktnum_rcd += in hclge_tqps_update_stats() 593 struct hclge_tqp *tqp; in hclge_tqps_get_stats() local [all …]
|
D | hclge_main.h | 645 struct hclge_tqp *tqp = container_of(queue, struct hclge_tqp, q); in hclge_get_queue_id() local 647 return tqp->index; in hclge_get_queue_id()
|
D | hclge_mbx.c | 135 hclge_get_queue_id(vport->nic.kinfo.tqp[req->msg[4]]); in hclge_get_ring_chain_from_mbx() 152 hclge_get_queue_id(vport->nic.kinfo.tqp in hclge_get_ring_chain_from_mbx()
|
D | hclge_tm.c | 726 struct hnae3_queue **tqp = kinfo->tqp; in hclge_vport_q_to_qs_map() local 734 struct hnae3_queue *q = tqp[v_tc_info->tqp_offset + j]; in hclge_vport_q_to_qs_map()
|
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.h | 381 struct hnae3_queue *tqp; member 587 #define hnae3_queue_xmit(tqp, buf_num) writel_relaxed(buf_num, \ argument 588 (tqp)->io_base + HNS3_RING_TX_RING_TAIL_REG) 590 #define ring_to_dev(ring) (&(ring)->tqp->handle->pdev->dev)
|
D | hns3_enet.c | 856 !(tx_ring->tqp->handle->kinfo.netdev->features & in hns3_fill_desc_vtags() 1165 hnae3_queue_xmit(ring->tqp, buf_num); in hns3_nic_net_xmit() 1497 hw_head = readl_relaxed(tx_ring->tqp->io_base + in hns3_get_tx_timeo_queue_info() 1499 hw_tail = readl_relaxed(tx_ring->tqp->io_base + in hns3_get_tx_timeo_queue_info() 1917 struct net_device *netdev = ring->tqp->handle->kinfo.netdev; in hns3_clean_tx_ring() 1922 head = readl_relaxed(ring->tqp->io_base + HNS3_RING_TX_RING_HEAD_REG); in hns3_clean_tx_ring() 1955 dev_queue = netdev_get_tx_queue(netdev, ring->tqp->tqp_index); in hns3_clean_tx_ring() 2003 netdev_err(ring->tqp->handle->kinfo.netdev, in hns3_nic_alloc_rx_buffers() 2014 writel_relaxed(i, ring->tqp->io_base + HNS3_RING_RX_RING_HEAD_REG); in hns3_nic_alloc_rx_buffers() 2071 struct net_device *netdev = ring->tqp->handle->kinfo.netdev; in hns3_rx_checksum() [all …]
|
D | hnae3.h | 458 struct hnae3_queue **tqp; /* array base of all TQPs in this instance */ member 476 struct hnae3_queue **tqp; /* array base of all TQPs of this instance */ member
|
/Linux-v4.19/drivers/net/usb/ |
D | lan78xx.c | 3330 struct sk_buff_head *tqp = &dev->txq_pend; in lan78xx_tx_bh() local 3340 spin_lock_irqsave(&tqp->lock, flags); in lan78xx_tx_bh() 3341 for (skb = tqp->next; pkt_cnt < tqp->qlen; skb = skb->next) { in lan78xx_tx_bh() 3349 __skb_unlink(skb, tqp); in lan78xx_tx_bh() 3350 spin_unlock_irqrestore(&tqp->lock, flags); in lan78xx_tx_bh() 3359 spin_unlock_irqrestore(&tqp->lock, flags); in lan78xx_tx_bh() 3369 skb2 = skb_dequeue(tqp); in lan78xx_tx_bh()
|