Searched refs:tqp (Results 1 – 12 of 12) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
A D | hclge_comm_tqp_stats.c | 13 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() 44 struct hclge_comm_tqp *tqp = in hclge_comm_tqps_get_strings() local 51 struct hclge_comm_tqp *tqp = in hclge_comm_tqps_get_strings() local 64 struct hclge_comm_tqp *tqp; in hclge_comm_tqps_update_stats() local 70 tqp = container_of(kinfo->tqp[i], struct hclge_comm_tqp, q); in hclge_comm_tqps_update_stats() 74 desc.data[0] = cpu_to_le32(tqp->index); in hclge_comm_tqps_update_stats() 106 struct hclge_comm_tqp *tqp; in hclge_comm_reset_tqp_stats() local 111 queue = kinfo->tqp[i]; in hclge_comm_reset_tqp_stats() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/ |
A D | hns3_trace.h | 77 __string(devname, ring->tqp->handle->kinfo.netdev->name) 81 __entry->index = ring->tqp->tqp_index; 87 __assign_str(devname, ring->tqp->handle->kinfo.netdev->name); 109 __string(devname, ring->tqp->handle->kinfo.netdev->name) 113 __entry->index = ring->tqp->tqp_index; 120 __assign_str(devname, ring->tqp->handle->kinfo.netdev->name);
|
A D | hns3_debugfs.c | 616 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 619 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 622 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 625 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 628 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 631 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 635 sprintf(result[j++], "%s", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 644 base_add_h = readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 646 base_add_l = readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info() 747 base_add_h = readl_relaxed(ring->tqp->io_base + in hns3_dump_tx_queue_info() [all …]
|
A D | hns3_enet.c | 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() 2118 if (ring->tqp->mem_base) in hns3_tx_doorbell() 3688 writel(i, ring->tqp->io_base + in hns3_nic_alloc_rx_buffers() 4531 chain->tqp_index = ring->tqp->tqp_index; in hns3_create_ring_chain() 4880 ring->tqp = q; in hns3_ring_get_cfg() 5045 struct hnae3_queue *q = ring->tqp; in hns3_init_ring_hw() 5865 hns3_tqp_disable(h->kinfo.tqp[i]); in hns3_external_lb_prepare() [all …]
|
A D | hns3_enet.h | 469 struct hnae3_queue *tqp; member 636 return readl_relaxed(ring->tqp->io_base + reg); in hns3_tqp_read_reg()
|
A D | hnae3.h | 819 struct hnae3_queue **tqp; /* array base of all TQPs in this instance */ member
|
A D | hns3_ethtool.c | 1179 h->kinfo.tqp[i]->buf_size = rx_buf_len; in hns3_change_rx_buf_len()
|
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
A D | hclgevf_main.c | 319 struct hclge_comm_tqp *tqp; in hclgevf_alloc_tqps() local 327 tqp = hdev->htqp; in hclgevf_alloc_tqps() 330 tqp->dev = &hdev->pdev->dev; in hclgevf_alloc_tqps() 331 tqp->index = i; in hclgevf_alloc_tqps() 333 tqp->q.ae_algo = &ae_algovf; in hclgevf_alloc_tqps() 334 tqp->q.buf_size = hdev->rx_buf_len; in hclgevf_alloc_tqps() 335 tqp->q.tx_desc_num = hdev->num_tx_desc; in hclgevf_alloc_tqps() 336 tqp->q.rx_desc_num = hdev->num_rx_desc; in hclgevf_alloc_tqps() 360 tqp++; in hclgevf_alloc_tqps() 390 if (!kinfo->tqp) in hclgevf_knic_setup() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_main.h | 1096 struct hclge_comm_tqp *tqp = in hclge_get_queue_id() local 1099 return tqp->index; in hclge_get_queue_id()
|
A D | hclge_mbx.c | 207 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 D | hclge_main.c | 1675 struct hclge_comm_tqp *tqp; in hclge_alloc_tqps() local 1683 tqp = hdev->htqp; in hclge_alloc_tqps() 1686 tqp->dev = &hdev->pdev->dev; in hclge_alloc_tqps() 1687 tqp->index = i; in hclge_alloc_tqps() 1689 tqp->q.ae_algo = &ae_algo; in hclge_alloc_tqps() 1690 tqp->q.buf_size = hdev->rx_buf_len; in hclge_alloc_tqps() 1716 tqp++; in hclge_alloc_tqps() 1792 if (!kinfo->tqp) in hclge_knic_setup() 10760 struct hclge_comm_tqp *tqp; in hclge_covert_handle_qid_global() local 10763 queue = handle->kinfo.tqp[queue_id]; in hclge_covert_handle_qid_global() [all …]
|
A D | hclge_tm.c | 953 struct hnae3_queue **tqp = kinfo->tqp; in hclge_vport_q_to_qs_map() local 959 struct hnae3_queue *q = tqp[tc_info->tqp_offset[i] + j]; in hclge_vport_q_to_qs_map()
|
Completed in 75 milliseconds