linux/drivers/vdpa
Stefano Garzarella 275900dfa1 vdpa_sim: split vdpasim_virtqueue's iov field in out_iov and in_iov
vringh_getdesc_iotlb() manages 2 iovs for writable and readable
descriptors. This is very useful for the block device, where for
each request we have both types of descriptor.

Let's split the vdpasim_virtqueue's iov field in out_iov and
in_iov to use them with vringh_getdesc_iotlb().

We are using VIRTIO terminology for "out" (readable by the device)
and "in" (writable by the device) descriptors.

Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20201215144256.155342-18-sgarzare@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-12-18 16:14:30 -05:00
..
ifcvf vdpa: ifcvf: Use dma_set_mask_and_coherent to simplify code 2020-12-18 16:14:28 -05:00
mlx5 vdpa/mlx5: Fix error return in map_direct_mr() 2020-10-30 04:02:34 -04:00
vdpa_sim vdpa_sim: split vdpasim_virtqueue's iov field in out_iov and in_iov 2020-12-18 16:14:30 -05:00
Kconfig vdpa: remove unnecessary 'default n' in Kconfig entries 2020-12-18 16:14:28 -05:00
Makefile vdpa/mlx5: Add support library for mlx5 VDPA implementation 2020-08-05 19:00:23 -04:00
vdpa.c vdpa: remove hard coded virtq num 2020-08-05 18:39:18 -04:00