Searched refs:tqp (Results 1 – 10 of 10) sorted by relevance
129 struct hnae3_queue *tqp; in hclgevf_get_regs() local150 tqp = &hdev->htqp[j].q; in hclgevf_get_regs()152 *reg++ = readl_relaxed(tqp->io_base - in hclgevf_get_regs()
224 "VF request to get tqp info from PF failed %d", in hclgevf_get_queue_info() 251 "VF request to get tqp depth info from PF failed %d", in hclgevf_get_queue_depth() 306 struct hclge_comm_tqp *tqp; in hclgevf_alloc_tqps() 314 tqp = hdev->htqp; in hclgevf_alloc_tqps() 317 tqp->dev = &hdev->pdev->dev; in hclgevf_alloc_tqps() 318 tqp->index = i; in hclgevf_alloc_tqps() 320 tqp->q.ae_algo = &ae_algovf; in hclgevf_alloc_tqps() 321 tqp->q.buf_size = hdev->rx_buf_len; in hclgevf_alloc_tqps() 322 tqp->q.tx_desc_num = hdev->num_tx_desc; in hclgevf_alloc_tqps() 323 tqp in hclgevf_alloc_tqps() 302 struct hclge_comm_tqp *tqp; hclgevf_alloc_tqps() local [all...]
515 struct hnae3_queue *tqp; in hclge_fetch_pf_reg() local536 tqp = kinfo->tqp[j]; in hclge_fetch_pf_reg()538 *reg++ = readl_relaxed(tqp->io_base - in hclge_fetch_pf_reg()
79 /* bar registers for tqp interrupt */896 u16 base_tqp_pid; /* Base task tqp physical id of this PF */1128 struct hclge_comm_tqp *tqp =1131 return tqp->index;1123 struct hclge_comm_tqp *tqp = hclge_get_queue_id() local
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()
1562 struct hclge_comm_tqp *tqp; in hclge_configure() 1570 tqp = hdev->htqp; in hclge_configure() 1573 tqp->dev = &hdev->pdev->dev; in hclge_configure() 1574 tqp->index = i; in hclge_configure() 1576 tqp->q.ae_algo = &ae_algo; in hclge_configure() 1577 tqp->q.buf_size = hdev->rx_buf_len; in hclge_configure() 1578 tqp->q.tx_desc_num = hdev->num_tx_desc; in hclge_configure() 1579 tqp->q.rx_desc_num = hdev->num_rx_desc; in hclge_configure() 1585 tqp->q.io_base = hdev->hw.hw.io_base + in hclge_configure() 1589 tqp in hclge_configure() 1630 struct hclge_comm_tqp *tqp; hclge_alloc_tqps() local 10814 struct hclge_comm_tqp *tqp; hclge_covert_handle_qid_global() local [all...]
954 struct hnae3_queue **tqp = kinfo->tqp; in hclge_vport_q_to_qs_map() local960 struct hnae3_queue *q = tqp[tc_info->tqp_offset[i] + j]; in hclge_vport_q_to_qs_map()
668 static void hns3_tqp_enable(struct hnae3_queue *tqp) in hns3_tqp_disable() 672 rcb_reg = hns3_read_dev(tqp, HNS3_RING_EN_REG); in hns3_free_rx_cpu_rmap() 674 hns3_write_dev(tqp, HNS3_RING_EN_REG, rcb_reg); in hns3_free_rx_cpu_rmap() 677 static void hns3_tqp_disable(struct hnae3_queue *tqp) in hns3_free_rx_cpu_rmap() 681 rcb_reg = hns3_read_dev(tqp, HNS3_RING_EN_REG); in hns3_set_rx_cpu_rmap() 683 hns3_write_dev(tqp, HNS3_RING_EN_REG, rcb_reg); in hns3_set_rx_cpu_rmap() 733 hns3_tqp_enable(h->kinfo.tqp[i]); in hns3_disable_irqs_and_tqps() 743 hns3_tqp_disable(h->kinfo.tqp[i]); in hns3_nic_net_up() 789 ring->tqp->tqp_index); in hns3_nic_net_open() 1057 u32 alloc_size = ring->tqp in hns3_init_tx_spare_buffer() 654 hns3_tqp_enable(struct hnae3_queue * tqp) hns3_tqp_enable() argument 663 hns3_tqp_disable(struct hnae3_queue * tqp) hns3_tqp_disable() argument 4977 hns3_queue_to_ring(struct hnae3_queue * tqp,struct hns3_nic_priv * priv) hns3_queue_to_ring() argument [all...]
471 struct hnae3_queue *tqp; member640 return readl_relaxed(ring->tqp->io_base + reg); in hns3_tqp_read_reg()
13 /* tqp related stats */1190 h->kinfo.tqp[i]->buf_size = rx_buf_len; in hns3_change_rx_buf_len()