linux/drivers/vdpa/vdpa_user
Xie Yongji 6c77ed2288 vduse: Support using userspace pages as bounce buffer
Introduce two APIs: vduse_domain_add_user_bounce_pages()
and vduse_domain_remove_user_bounce_pages() to support
adding and removing userspace pages for bounce buffers.
During adding and removing, the DMA data would be copied
from the kernel bounce pages to the userspace bounce pages
and back.

Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20220803045523.23851-4-xieyongji@bytedance.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-08-11 04:26:08 -04:00
..
iova_domain.c vduse: Support using userspace pages as bounce buffer 2022-08-11 04:26:08 -04:00
iova_domain.h vduse: Support using userspace pages as bounce buffer 2022-08-11 04:26:08 -04:00
Makefile
vduse_dev.c vduse: Tie vduse mgmtdev and its device 2022-06-24 02:49:48 -04:00