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

Function sfc_repr_rx_queue_release

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

Source from the content-addressed store, hash-verified

661}
662
663static void
664sfc_repr_rx_queue_release(struct rte_eth_dev *dev, uint16_t rx_queue_id)
665{
666 struct sfc_repr_shared *srs = sfc_repr_shared_by_eth_dev(dev);
667 struct sfc_repr_rxq *rxq = dev->data->rx_queues[rx_queue_id];
668
669 sfc_repr_proxy_del_rxq(srs->pf_port_id, srs->repr_id, rx_queue_id);
670 rte_ring_free(rxq->ring);
671 rte_free(rxq);
672}
673
674static int
675sfc_repr_tx_qcheck_conf(struct sfc_repr *sr,

Callers 1

sfc_repr_dev_closeFunction · 0.85

Calls 4

sfc_repr_proxy_del_rxqFunction · 0.85
rte_ring_freeFunction · 0.85
rte_freeFunction · 0.85

Tested by

no test coverage detected