qemu-irix/hw/virtio
Jason Wang c2a550d3df 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>

(cherry picked from commit 29b9f5efd7)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2015-10-21 13:40:24 -05:00
..
dataplane virtio: avoid leading underscores for helpers 2015-10-21 10:36:05 -05:00
Makefile.objs dataplane: endianness-aware accesses 2015-02-16 15:07:16 +00:00
vhost-backend.c vhost: Remove superfluous '\n' around error_report() 2015-03-10 08:15:33 +03:00
vhost-user.c Revert "vhost-user: add multi queue support" 2015-07-20 14:19:40 +03:00
vhost.c virtio: avoid leading underscores for helpers 2015-10-21 10:36:05 -05:00
virtio-balloon.c virtio: avoid leading underscores for helpers 2015-10-21 10:36:05 -05: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 virtio-pci: fix memory MR cleanup for modern 2015-07-27 18:11:53 +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-21 13:40:24 -05:00