MCPcopy Create free account
hub / github.com/F-Stack/f-stack / bnxt_free_stats

Function bnxt_free_stats

dpdk/drivers/net/bnxt/bnxt_stats.c:493–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

491 */
492
493void bnxt_free_stats(struct bnxt *bp)
494{
495 int i;
496
497 for (i = 0; i < (int)bp->tx_cp_nr_rings; i++) {
498 struct bnxt_tx_queue *txq = bp->tx_queues[i];
499
500 bnxt_free_txq_stats(txq);
501 }
502 for (i = 0; i < (int)bp->rx_cp_nr_rings; i++) {
503 struct bnxt_rx_queue *rxq = bp->rx_queues[i];
504
505 bnxt_free_rxq_stats(rxq);
506 }
507}
508
509static void bnxt_fill_rte_eth_stats(struct rte_eth_stats *stats,
510 struct bnxt_ring_stats *ring_stats,

Callers 1

bnxt_free_memFunction · 0.85

Calls 2

bnxt_free_txq_statsFunction · 0.85
bnxt_free_rxq_statsFunction · 0.85

Tested by

no test coverage detected