aboutsummaryrefslogtreecommitdiff
path: root/drivers/virtio/virtio_mmio.c
diff options
context:
space:
mode:
authorGravatar Andy Lutomirski <luto@kernel.org> 2016-02-02 21:46:37 -0800
committerGravatar Michael S. Tsirkin <mst@redhat.com> 2016-03-02 17:01:57 +0200
commit2a2d1382fe9dccfce6f9c60a9c9fd2f0fe5bcf2b (patch)
treeab3783be11369f689e3e7aebe0c438ab6746375f /drivers/virtio/virtio_mmio.c
parentvirtio_ring: Support DMA APIs (diff)
downloadlinux-2a2d1382fe9dccfce6f9c60a9c9fd2f0fe5bcf2b.tar.gz
linux-2a2d1382fe9dccfce6f9c60a9c9fd2f0fe5bcf2b.tar.bz2
linux-2a2d1382fe9dccfce6f9c60a9c9fd2f0fe5bcf2b.zip
virtio: Add improved queue allocation API
This leaves vring_new_virtqueue alone for compatbility, but it adds two new improved APIs: vring_create_virtqueue: Creates a virtqueue backed by automatically allocated coherent memory. (Some day it this could be extended to support non-coherent memory, too, if there ends up being a platform on which it's worthwhile.) __vring_new_virtqueue: Creates a virtqueue with a manually-specified layout. This should allow mic_virtio to work much more cleanly. Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio/virtio_mmio.c')
0 files changed, 0 insertions, 0 deletions