OpenCloudOS-Kernel/drivers/virtio
Shirley Ma f9bfbebf34 virtio: Add ability to detach unused buffers from vrings
There's currently no way for a virtio driver to ask for unused
buffers, so it has to keep a list itself to reclaim them at shutdown.
This is redundant, since virtio_ring stores that information.  So
add a new hook to do this.

Signed-off-by: Shirley Ma <xma@us.ibm.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-02 15:55:42 -08:00
..
Kconfig virtio: balloon driver 2008-02-04 23:50:13 +11:00
Makefile virtio: balloon driver 2008-02-04 23:50:13 +11:00
config.c Virtio interface 2007-10-23 15:49:54 +10:00
virtio.c virtio: enhance id_matching for virtio drivers 2009-06-12 22:16:40 +09:30
virtio_balloon.c virtio: fix section mismatch warnings 2010-01-16 12:15:39 -08:00
virtio_pci.c virtio-pci: fix per-vq MSI-X request logic 2009-10-29 08:50:36 +10:30
virtio_ring.c virtio: Add ability to detach unused buffers from vrings 2010-02-02 15:55:42 -08:00