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

Function sfc_repr_tx_queue_release

dpdk/drivers/net/sfc/sfc_repr.c:757–766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755}
756
757static void
758sfc_repr_tx_queue_release(struct rte_eth_dev *dev, uint16_t tx_queue_id)
759{
760 struct sfc_repr_shared *srs = sfc_repr_shared_by_eth_dev(dev);
761 struct sfc_repr_txq *txq = dev->data->tx_queues[tx_queue_id];
762
763 sfc_repr_proxy_del_txq(srs->pf_port_id, srs->repr_id, tx_queue_id);
764 rte_ring_free(txq->ring);
765 rte_free(txq);
766}
767
768static void
769sfc_repr_close(struct sfc_repr *sr)

Callers 1

sfc_repr_dev_closeFunction · 0.85

Calls 4

sfc_repr_proxy_del_txqFunction · 0.85
rte_ring_freeFunction · 0.85
rte_freeFunction · 0.85

Tested by

no test coverage detected