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

Function ngbe_tx_queue_release

dpdk/drivers/net/ngbe/ngbe_rxtx.c:1787–1798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1785}
1786
1787static void
1788ngbe_tx_queue_release(struct ngbe_tx_queue *txq)
1789{
1790 if (txq != NULL) {
1791 if (txq->ops != NULL) {
1792 txq->ops->release_mbufs(txq);
1793 txq->ops->free_swring(txq);
1794 rte_memzone_free(txq->mz);
1795 }
1796 rte_free(txq);
1797 }
1798}
1799
1800void
1801ngbe_dev_tx_queue_release(struct rte_eth_dev *dev, uint16_t qid)

Callers 2

ngbe_dev_tx_queue_setupFunction · 0.85

Calls 2

rte_memzone_freeFunction · 0.85
rte_freeFunction · 0.85

Tested by

no test coverage detected