Home
last modified time | relevance | path

Searched refs:tqp (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/
A Dhclge_comm_tqp_stats.c13 struct hclge_comm_tqp *tqp; in hclge_comm_tqps_get_stats() local
18 tqp = container_of(kinfo->tqp[i], struct hclge_comm_tqp, q); in hclge_comm_tqps_get_stats()
23 tqp = container_of(kinfo->tqp[i], struct hclge_comm_tqp, q); in hclge_comm_tqps_get_stats()
46 struct hclge_comm_tqp *tqp = in hclge_comm_tqps_get_strings() local
53 struct hclge_comm_tqp *tqp = in hclge_comm_tqps_get_strings() local
67 struct hclge_comm_tqp *tqp; in hclge_comm_tqps_update_stats() local
73 tqp = container_of(kinfo->tqp[i], struct hclge_comm_tqp, q); in hclge_comm_tqps_update_stats()
77 desc.data[0] = cpu_to_le32(tqp->index); in hclge_comm_tqps_update_stats()
110 struct hclge_comm_tqp *tqp; in hclge_comm_reset_tqp_stats() local
115 queue = kinfo->tqp[i]; in hclge_comm_reset_tqp_stats()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_trace.h77 __string(devname, ring->tqp->handle->kinfo.netdev->name)
81 __entry->index = ring->tqp->tqp_index;
109 __string(devname, ring->tqp->handle->kinfo.netdev->name)
113 __entry->index = ring->tqp->tqp_index;
A Dhns3_debugfs.c645 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
648 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
651 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
654 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
657 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
660 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
664 sprintf(result[j++], "%s", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
673 base_add_h = readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
675 base_add_l = readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
776 base_add_h = readl_relaxed(ring->tqp->io_base + in hns3_dump_tx_queue_info()
[all …]
A Dhns3_enet.c729 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()
2123 if (ring->tqp->mem_base) in hns3_tx_doorbell()
3701 writel(i, ring->tqp->io_base + in hns3_nic_alloc_rx_buffers()
4544 chain->tqp_index = ring->tqp->tqp_index; in hns3_create_ring_chain()
4893 ring->tqp = q; in hns3_ring_get_cfg()
5057 struct hnae3_queue *q = ring->tqp; in hns3_init_ring_hw()
5884 hns3_tqp_disable(h->kinfo.tqp[i]); in hns3_external_lb_prepare()
[all …]
A Dhns3_enet.h471 struct hnae3_queue *tqp; member
638 return readl_relaxed(ring->tqp->io_base + reg); in hns3_tqp_read_reg()
A Dhnae3.h857 struct hnae3_queue **tqp; /* array base of all TQPs in this instance */ member
A Dhns3_ethtool.c1200 h->kinfo.tqp[i]->buf_size = rx_buf_len; in hns3_change_rx_buf_len()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
A Dhclgevf_main.c304 struct hclge_comm_tqp *tqp; in hclgevf_alloc_tqps() local
312 tqp = hdev->htqp; in hclgevf_alloc_tqps()
315 tqp->dev = &hdev->pdev->dev; in hclgevf_alloc_tqps()
316 tqp->index = i; in hclgevf_alloc_tqps()
318 tqp->q.ae_algo = &ae_algovf; in hclgevf_alloc_tqps()
319 tqp->q.buf_size = hdev->rx_buf_len; in hclgevf_alloc_tqps()
320 tqp->q.tx_desc_num = hdev->num_tx_desc; in hclgevf_alloc_tqps()
321 tqp->q.rx_desc_num = hdev->num_rx_desc; in hclgevf_alloc_tqps()
345 tqp++; in hclgevf_alloc_tqps()
375 if (!kinfo->tqp) in hclgevf_knic_setup()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_main.h1123 struct hclge_comm_tqp *tqp = in hclge_get_queue_id() local
1126 return tqp->index; in hclge_get_queue_id()
A Dhclge_mbx.c207 hclge_get_queue_id(vport->nic.kinfo.tqp in hclge_get_ring_chain_from_mbx()
223 hclge_get_queue_id(vport->nic.kinfo.tqp in hclge_get_ring_chain_from_mbx()
A Dhclge_main.c1639 struct hclge_comm_tqp *tqp; in hclge_alloc_tqps() local
1647 tqp = hdev->htqp; in hclge_alloc_tqps()
1650 tqp->dev = &hdev->pdev->dev; in hclge_alloc_tqps()
1651 tqp->index = i; in hclge_alloc_tqps()
1653 tqp->q.ae_algo = &ae_algo; in hclge_alloc_tqps()
1654 tqp->q.buf_size = hdev->rx_buf_len; in hclge_alloc_tqps()
1680 tqp++; in hclge_alloc_tqps()
1756 if (!kinfo->tqp) in hclge_knic_setup()
10792 struct hclge_comm_tqp *tqp; in hclge_covert_handle_qid_global() local
10795 queue = handle->kinfo.tqp[queue_id]; in hclge_covert_handle_qid_global()
[all …]
A Dhclge_tm.c954 struct hnae3_queue **tqp = kinfo->tqp; in hclge_vport_q_to_qs_map() local
960 struct hnae3_queue *q = tqp[tc_info->tqp_offset[i] + j]; in hclge_vport_q_to_qs_map()

Completed in 75 milliseconds