diff options
author | Andy Lutomirski <luto@kernel.org> | 2016-02-03 06:46:37 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-03-02 16:01:57 +0100 |
commit | 2a2d1382fe9dccfce6f9c60a9c9fd2f0fe5bcf2b (patch) | |
tree | ab3783be11369f689e3e7aebe0c438ab6746375f /drivers/virtio/virtio_mmio.c | |
parent | virtio_ring: Support DMA APIs (diff) | |
download | linux-2a2d1382fe9dccfce6f9c60a9c9fd2f0fe5bcf2b.tar.xz 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