• Home
  • Raw
  • Download

Lines Matching refs:tqp

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
629 tqp = container_of(kinfo->tqp[i], struct hclge_tqp, q); in hclge_tqps_get_stats()
630 *buff++ = tqp->tqp_stats.rcb_tx_ring_pktnum_rcd; in hclge_tqps_get_stats()
634 tqp = container_of(kinfo->tqp[i], struct hclge_tqp, q); in hclge_tqps_get_stats()
635 *buff++ = tqp->tqp_stats.rcb_rx_ring_pktnum_rcd; in hclge_tqps_get_stats()
656 struct hclge_tqp *tqp = container_of(handle->kinfo.tqp[i], in hclge_tqps_get_strings() local
659 tqp->index); in hclge_tqps_get_strings()
664 struct hclge_tqp *tqp = container_of(kinfo->tqp[i], in hclge_tqps_get_strings() local
667 tqp->index); in hclge_tqps_get_strings()
1649 struct hclge_tqp *tqp; in hclge_alloc_tqps() local
1657 tqp = hdev->htqp; in hclge_alloc_tqps()
1660 tqp->dev = &hdev->pdev->dev; in hclge_alloc_tqps()
1661 tqp->index = i; in hclge_alloc_tqps()
1663 tqp->q.ae_algo = &ae_algo; in hclge_alloc_tqps()
1664 tqp->q.buf_size = hdev->rx_buf_len; in hclge_alloc_tqps()
1665 tqp->q.tx_desc_num = hdev->num_tx_desc; in hclge_alloc_tqps()
1666 tqp->q.rx_desc_num = hdev->num_rx_desc; in hclge_alloc_tqps()
1672 tqp->q.io_base = hdev->hw.io_base + in hclge_alloc_tqps()
1676 tqp->q.io_base = hdev->hw.io_base + in hclge_alloc_tqps()
1682 tqp++; in hclge_alloc_tqps()
1725 kinfo->tqp[alloced] = &hdev->htqp[i].q; in hclge_assign_tqp()
1756 kinfo->tqp = devm_kcalloc(&hdev->pdev->dev, num_tqps, in hclge_knic_setup()
1758 if (!kinfo->tqp) in hclge_knic_setup()
1778 container_of(kinfo->tqp[i], struct hclge_tqp, q); in hclge_map_tqp_to_vport()
8092 struct hclge_tqp *tqp; in hclge_reset_tqp_stats() local
8097 queue = handle->kinfo.tqp[i]; in hclge_reset_tqp_stats()
8098 tqp = container_of(queue, struct hclge_tqp, q); in hclge_reset_tqp_stats()
8099 memset(&tqp->tqp_stats, 0, sizeof(tqp->tqp_stats)); in hclge_reset_tqp_stats()
10860 struct hclge_tqp *tqp; in hclge_covert_handle_qid_global() local
10862 queue = handle->kinfo.tqp[queue_id]; in hclge_covert_handle_qid_global()
10863 tqp = container_of(queue, struct hclge_tqp, q); in hclge_covert_handle_qid_global()
10865 return tqp->index; in hclge_covert_handle_qid_global()