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

Function virtqueue_rxvq_flush

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

Flush the elements in the used ring. */

Source from the content-addressed store, hash-verified

137
138/* Flush the elements in the used ring. */
139void
140virtqueue_rxvq_flush(struct virtqueue *vq)
141{
142 struct virtio_hw *hw = vq->hw;
143
144 if (virtio_with_packed_queue(hw))
145 virtqueue_rxvq_flush_packed(vq);
146 else
147 virtqueue_rxvq_flush_split(vq);
148}
149
150static void
151virtqueue_txq_indirect_header_init_packed(struct virtqueue *vq, uint32_t idx)

Callers 1

virtio_dev_startFunction · 0.85

Calls 3

virtio_with_packed_queueFunction · 0.85

Tested by

no test coverage detected