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

/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_tqp_stats.c13 struct hclge_comm_tqp *tqp; local
18 tqp = container_of(kinfo->tqp[i], struct hclge_comm_tqp, q);
19 *buff++ = tqp->tqp_stats.rcb_tx_ring_pktnum_rcd;
23 tqp = container_of(kinfo->tqp[i], struct hclge_comm_tqp, q);
24 *buff++ = tqp->tqp_stats.rcb_rx_ring_pktnum_rcd;
44 struct hclge_comm_tqp *tqp = local
45 container_of(kinfo->tqp[i], struct hclge_comm_tqp, q);
46 snprintf(buff, ETH_GSTRING_LEN, "txq%u_pktnum_rcd", tqp
51 struct hclge_comm_tqp *tqp = local
64 struct hclge_comm_tqp *tqp; local
106 struct hclge_comm_tqp *tqp; local
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_trace.h77 __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);
H A Dhns3_debugfs.c263 .name = "tqp",
645 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base +
648 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base +
651 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base +
654 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base +
657 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base +
660 sprintf(result[j++], "%u", readl_relaxed(ring->tqp->io_base +
664 sprintf(result[j++], "%s", readl_relaxed(ring->tqp->io_base +
668 sprintf(result[j++], "%s", readl_relaxed(ring->tqp->io_base +
673 base_add_h = readl_relaxed(ring->tqp
[all...]
H A Dhns3_enet.c658 static void hns3_tqp_enable(struct hnae3_queue *tqp) argument
662 rcb_reg = hns3_read_dev(tqp, HNS3_RING_EN_REG);
664 hns3_write_dev(tqp, HNS3_RING_EN_REG, rcb_reg);
667 static void hns3_tqp_disable(struct hnae3_queue *tqp) argument
671 rcb_reg = hns3_read_dev(tqp, HNS3_RING_EN_REG);
673 hns3_write_dev(tqp, HNS3_RING_EN_REG, rcb_reg);
729 hns3_tqp_enable(h->kinfo.tqp[j]);
736 hns3_tqp_disable(h->kinfo.tqp[j]);
758 ring->tqp->tqp_index);
836 hns3_tqp_disable(h->kinfo.tqp[
4905 hns3_queue_to_ring(struct hnae3_queue *tqp, struct hns3_nic_priv *priv) argument
[all...]
H A Dhns3_enet.h469 struct hnae3_queue *tqp; member in struct:hns3_enet_ring
636 return readl_relaxed(ring->tqp->io_base + reg);
H A Dhnae3.h844 struct hnae3_queue **tqp; /* array base of all TQPs in this instance */ member in struct:hnae3_knic_private_info
H A Dhns3_ethtool.c12 /* tqp related stats */
1200 h->kinfo.tqp[i]->buf_size = rx_buf_len;
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c185 "VF request to get tqp info from PF failed %d",
212 "VF request to get tqp depth info from PF failed %d",
267 struct hclge_comm_tqp *tqp; local
275 tqp = hdev->htqp;
278 tqp->dev = &hdev->pdev->dev;
279 tqp->index = i;
281 tqp->q.ae_algo = &ae_algovf;
282 tqp->q.buf_size = hdev->rx_buf_len;
283 tqp->q.tx_desc_num = hdev->num_tx_desc;
284 tqp
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.h77 /* bar registers for tqp interrupt */
886 u16 base_tqp_pid; /* Base task tqp physical id of this PF */
1118 struct hclge_comm_tqp *tqp = local
1121 return tqp->index;
H A Dhclge_mbx.c170 /* hclge_get_ring_chain_from_mbx: get ring type & tqp id & int_gl idx
176 * msg[4]: first tqp id
178 * msg[6] ~ msg[14]: other ring type, tqp id and int_gl idx
197 dev_err(&hdev->pdev->dev, "tqp index(%u) is out of range(0-%u)\n",
207 hclge_get_queue_id(vport->nic.kinfo.tqp
223 hclge_get_queue_id(vport->nic.kinfo.tqp
H A Dhclge_main.c1591 struct hclge_comm_tqp *tqp; local
1599 tqp = hdev->htqp;
1602 tqp->dev = &hdev->pdev->dev;
1603 tqp->index = i;
1605 tqp->q.ae_algo = &ae_algo;
1606 tqp->q.buf_size = hdev->rx_buf_len;
1607 tqp->q.tx_desc_num = hdev->num_tx_desc;
1608 tqp->q.rx_desc_num = hdev->num_rx_desc;
1614 tqp->q.io_base = hdev->hw.hw.io_base +
1618 tqp
10711 struct hclge_comm_tqp *tqp; local
[all...]
H A Dhclge_tm.c954 struct hnae3_queue **tqp = kinfo->tqp; local
960 struct hnae3_queue *q = tqp[tc_info->tqp_offset[i] + j];

Completed in 524 milliseconds