summary refs log tree commit diff stats
path: root/hw/net/vhost_net.c
diff options
context:
space:
mode:
authorJonah Palmer <jonah.palmer@oracle.com>2024-07-10 08:55:16 -0400
committerMichael S. Tsirkin <mst@redhat.com>2024-07-21 14:45:56 -0400
commitb44135daa3721778f4656ca3c15bd9b3060f1176 (patch)
tree1c21f3e4d596a08923e4816a7a409b0d9ccedabd /hw/net/vhost_net.c
parent2256e8482b2bba88abcc734dbc6951b825773f0b (diff)
downloadfocaccia-qemu-b44135daa3721778f4656ca3c15bd9b3060f1176.tar.gz
focaccia-qemu-b44135daa3721778f4656ca3c15bd9b3060f1176.zip
virtio: virtqueue_ordered_fill - VIRTIO_F_IN_ORDER support
Add VIRTIO_F_IN_ORDER feature support for the virtqueue_fill operation.

The goal of the virtqueue_ordered_fill operation when the
VIRTIO_F_IN_ORDER feature has been negotiated is to search for this
now-used element, set its length, and mark the element as filled in
the VirtQueue's used_elems array.

By marking the element as filled, it will indicate that this element has
been processed and is ready to be flushed, so long as the element is
in-order.

Reviewed-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Jonah Palmer <jonah.palmer@oracle.com>
Message-Id: <20240710125522.4168043-4-jonah.palmer@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net/vhost_net.c')
0 files changed, 0 insertions, 0 deletions