[PATCH vhost 01/17] virtio_ring: introduce vring_need_unmap_buffer
Jason Wang
jasowang at redhat.com
Wed Jan 31 01:12:07 PST 2024
On Tue, Jan 30, 2024 at 7:42 PM Xuan Zhuo <xuanzhuo at linux.alibaba.com> wrote:
>
> To make the code readable, introduce vring_need_unmap_buffer() to
> replace do_unmap.
>
> use_dma_api premapped -> vring_need_unmap_buffer()
> 1. false false false
> 2. true false true
> 3. true true false
>
> Signed-off-by: Xuan Zhuo <xuanzhuo at linux.alibaba.com>
Acked-by: Jason Wang <jasowang at redhat.com>
Thanks
More information about the linux-um
mailing list