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

Function ionic_qcq_free

dpdk/drivers/net/ionic/ionic_lif.c:696–712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

694}
695
696void
697ionic_qcq_free(struct ionic_qcq *qcq)
698{
699 if (qcq->base_z) {
700 qcq->base = NULL;
701 qcq->base_pa = 0;
702 rte_memzone_free(qcq->base_z);
703 qcq->base_z = NULL;
704 }
705
706 if (qcq->q.info) {
707 rte_free(qcq->q.info);
708 qcq->q.info = NULL;
709 }
710
711 rte_free(qcq);
712}
713
714static uint64_t
715ionic_rx_rearm_data(struct ionic_lif *lif)

Callers 4

ionic_notify_qcq_allocFunction · 0.85
ionic_lif_freeFunction · 0.85

Calls 2

rte_memzone_freeFunction · 0.85
rte_freeFunction · 0.85

Tested by

no test coverage detected