Searched refs:txq_stats (Results 1 – 4 of 4) sorted by relevance
273 memcpy(stats, &txq->txq_stats, sizeof(txq->txq_stats)); in hinic_txq_get_stats()283 txq_stats = &txq->txq_stats; in hinic_txq_stats_reset()284 memset(txq_stats, 0, sizeof(*txq_stats)); in hinic_txq_stats_reset()336 txq->txq_stats.mbuf_null++; in hinic_mbuf_dma_map_sge()342 txq->txq_stats.sge_len0++; in hinic_mbuf_dma_map_sge()356 txq->txq_stats.mbuf_null++; in hinic_mbuf_dma_map_sge()362 txq->txq_stats.sge_len0++; in hinic_mbuf_dma_map_sge()383 txq->txq_stats.sge_len0++; in hinic_mbuf_dma_map_sge()407 txq->txq_stats.sge_len0++; in hinic_mbuf_dma_map_sge()1150 txq->txq_stats.off_errs++; in hinic_xmit_pkts()[all …]
121 struct hinic_txq_stats txq_stats; member
1305 struct hinic_txq_stats txq_stats; in hinic_dev_stats_get() local1336 hinic_txq_get_stats(txq, &txq_stats); in hinic_dev_stats_get()1337 stats->q_opackets[i] = txq_stats.packets; in hinic_dev_stats_get()1338 stats->q_obytes[i] = txq_stats.bytes; in hinic_dev_stats_get()1339 stats->oerrors += (txq_stats.tx_busy + txq_stats.off_errs); in hinic_dev_stats_get()2174 struct hinic_txq_stats txq_stats; in hinic_dev_xstats_get() local2200 hinic_txq_get_stats(txq, &txq_stats); in hinic_dev_xstats_get()2204 *(uint64_t *)(((char *)&txq_stats) + in hinic_dev_xstats_get()
969 struct hns3_tx_basic_stats *txq_stats; in hns3_txq_basic_stats_get() local981 txq_stats = &txq->basic_stats; in hns3_txq_basic_stats_get()982 txq_stats->packets = stats->rcb_tx_ring_pktnum[i]; in hns3_txq_basic_stats_get()985 val = (char *)txq_stats + in hns3_txq_basic_stats_get()