qemu-patch-raspberry4/hw/virtio
Jason Wang 29b9f5efd7 virtio: introduce virtqueue_discard()
This patch introduces virtqueue_discard() to discard a descriptor and
unmap the sgs. This will be used by the patch that will discard
descriptor when packet is truncated.

Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-10-01 16:16:52 +03:00
..
dataplane virtio: avoid leading underscores for helpers 2015-09-10 11:06:05 +03:00
Makefile.objs dataplane: endianness-aware accesses 2015-02-16 15:07:16 +00:00
vhost-backend.c vhost: introduce vhost_backend_get_vq_index method 2015-09-24 16:27:53 +03:00
vhost-user.c vhost-user: add a new message to disable/enable a specific virt queue. 2015-09-24 16:27:53 +03:00
vhost.c vhost-user: add multiple queue support 2015-09-24 16:27:53 +03:00
virtio-balloon.c virtio: avoid leading underscores for helpers 2015-09-10 11:06:05 +03:00
virtio-bus.c virtio: get_features() can fail 2015-07-27 18:11:53 +03:00
virtio-mmio.c virtio: allow virtio-1 queue layout 2015-06-10 18:15:04 +02:00
virtio-pci.c hw/virtio/virtio-pci: Remove meaningless blank Property 2015-09-11 11:03:42 +03:00
virtio-pci.h virtio-pci: implement cfg capability 2015-07-08 10:09:57 +03:00
virtio-rng.c virtio: get_features() can fail 2015-07-27 18:11:53 +03:00
virtio.c virtio: introduce virtqueue_discard() 2015-10-01 16:16:52 +03:00