Lines Matching defs:tx_ring
1484 static int hns3_handle_vtags(struct hns3_enet_ring *tx_ring,
1487 struct hnae3_handle *handle = tx_ring->tqp->handle;
2797 struct hns3_enet_ring *tx_ring,
2800 struct napi_struct *napi = &tx_ring->tqp_vector->napi;
2805 priv->tx_timeout_count, timeout_queue, tx_ring->next_to_use,
2806 tx_ring->next_to_clean, napi->state);
2810 tx_ring->stats.tx_pkts, tx_ring->stats.tx_bytes,
2811 tx_ring->stats.sw_err_cnt, tx_ring->pending_buf);
2815 tx_ring->stats.seg_pkt_cnt, tx_ring->stats.tx_more,
2816 tx_ring->stats.restart_queue, tx_ring->stats.tx_busy);
2819 tx_ring->stats.tx_push, tx_ring->stats.tx_mem_doorbell);
2823 struct hns3_enet_ring *tx_ring)
2827 hns3_tqp_read_reg(tx_ring, HNS3_RING_TX_RING_BD_NUM_REG),
2828 hns3_tqp_read_reg(tx_ring, HNS3_RING_TX_RING_HEAD_REG),
2829 hns3_tqp_read_reg(tx_ring, HNS3_RING_TX_RING_TAIL_REG),
2830 hns3_tqp_read_reg(tx_ring, HNS3_RING_TX_RING_BD_ERR_REG),
2831 readl(tx_ring->tqp_vector->mask_addr));
2834 hns3_tqp_read_reg(tx_ring, HNS3_RING_EN_REG),
2835 hns3_tqp_read_reg(tx_ring, HNS3_RING_TX_RING_TC_REG),
2836 hns3_tqp_read_reg(tx_ring, HNS3_RING_TX_RING_FBDNUM_REG),
2837 hns3_tqp_read_reg(tx_ring, HNS3_RING_TX_RING_OFFSET_REG),
2838 hns3_tqp_read_reg(tx_ring, HNS3_RING_TX_RING_EBDNUM_REG),
2839 hns3_tqp_read_reg(tx_ring,
2847 struct hns3_enet_ring *tx_ring;
2860 tx_ring = &priv->ring[timeout_queue];
2861 hns3_dump_queue_stats(ndev, tx_ring, timeout_queue);
2874 hns3_dump_queue_reg(ndev, tx_ring);