linux/drivers/vdpa
Xie Yongji d8945ec411 vdpa: Support transferring virtual addressing during DMA mapping
This patch introduces an attribute for vDPA device to indicate
whether virtual address can be used. If vDPA device driver set
it, vhost-vdpa bus driver will not pin user page and transfer
userspace virtual address instead of physical address during
DMA mapping. And corresponding vma->vm_file and offset will be
also passed as an opaque pointer.

Suggested-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210831103634.33-11-xieyongji@bytedance.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2021-09-06 07:20:57 -04:00
..
ifcvf vdpa: Support transferring virtual addressing during DMA mapping 2021-09-06 07:20:57 -04:00
mlx5 vdpa: Support transferring virtual addressing during DMA mapping 2021-09-06 07:20:57 -04:00
vdpa_sim vdpa: Support transferring virtual addressing during DMA mapping 2021-09-06 07:20:57 -04:00
virtio_pci vdpa: Support transferring virtual addressing during DMA mapping 2021-09-06 07:20:57 -04:00
Kconfig vdpa/mlx5: Add support for control VQ and MAC setting 2021-09-05 16:23:08 -04:00
Makefile vdpa: introduce virtio pci driver 2021-05-03 04:55:51 -04:00
vdpa.c vdpa: Support transferring virtual addressing during DMA mapping 2021-09-06 07:20:57 -04:00