Commit eef5dab8 authored by Suman Anna's avatar Suman Anna
Browse files

virtio_ring: add virtqueue_add_inbuf/outbuf_rpmsg API

Expose new variants of virtqueue_add_inbuf() & virtqueue_add_outbuf()
API specifically to deal with virtio_rpmsg. The virtio core in general
expects all the vring buffers to be allocated from linear addresses,
but the virtio_rpmsg can have the buffers in non-linear space due to
its usage of the dma_alloc_coherent() API.

Based on a RFC patch from Edgar E. Iglesias <edgar.iglesias@xilinx.com>,
http://marc.info/?l=linux-virtualization&m=143047902512226&w=2



Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
parent 13d7a146
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment