diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2020-12-15 15:42:55 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-12-18 16:14:30 -0500 |
commit | 275900dfa17c32f0f52b460e1fbd769cf694ecd3 (patch) | |
tree | 2495c0df0f3858f0db3cc31b085471f14221a2b1 /drivers/vdpa/Kconfig | |
parent | da7af6967c6e9815f8da60a8db1d0fe35b8e97b9 (diff) | |
download | linux-275900dfa17c32f0f52b460e1fbd769cf694ecd3.tar.gz |
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>
Diffstat (limited to 'drivers/vdpa/Kconfig')
0 files changed, 0 insertions, 0 deletions