/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
H A D | hclge_comm_tqp_stats.c | 13 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 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);
|
H A D | hns3_debugfs.c | 263 .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 D | hns3_enet.c | 658 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 D | hns3_enet.h | 469 struct hnae3_queue *tqp; member in struct:hns3_enet_ring 636 return readl_relaxed(ring->tqp->io_base + reg);
|
H A D | hnae3.h | 844 struct hnae3_queue **tqp; /* array base of all TQPs in this instance */ member in struct:hnae3_knic_private_info
|
H A D | hns3_ethtool.c | 12 /* tqp related stats */ 1200 h->kinfo.tqp[i]->buf_size = rx_buf_len;
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.c | 185 "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 D | hclge_main.h | 77 /* 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 D | hclge_mbx.c | 170 /* 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 D | hclge_main.c | 1591 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 D | hclge_tm.c | 954 struct hnae3_queue **tqp = kinfo->tqp; local 960 struct hnae3_queue *q = tqp[tc_info->tqp_offset[i] + j];
|