Flush the elements in the used ring. */
| 137 | |
| 138 | /* Flush the elements in the used ring. */ |
| 139 | void |
| 140 | virtqueue_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 | |
| 150 | static void |
| 151 | virtqueue_txq_indirect_header_init_packed(struct virtqueue *vq, uint32_t idx) |
no test coverage detected