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

Function virtio_rxq_sw_ring_free

dpdk/drivers/net/virtio/virtqueue.c:412–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412static void
413virtio_rxq_sw_ring_free(struct virtqueue *vq)
414{
415 rte_free(vq->rxq.fake_mbuf);
416 vq->rxq.fake_mbuf = NULL;
417 rte_free(vq->rxq.sw_ring);
418 vq->rxq.sw_ring = NULL;
419}
420
421struct virtqueue *
422virtqueue_alloc(struct virtio_hw *hw, uint16_t index, uint16_t num, int type,

Callers 1

virtqueue_freeFunction · 0.85

Calls 1

rte_freeFunction · 0.85

Tested by

no test coverage detected