diff options
author | Jason Wang <jasowang@redhat.com> | 2020-08-04 18:20:41 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-08-06 00:39:18 +0200 |
commit | de91a4d0e725db34db64502fad84e8fb1026146b (patch) | |
tree | 986a26eabeb8e765e15e9fd1c2ef943255ae281e /drivers/vhost | |
parent | vhost-vdpa: support IOTLB batching hints (diff) | |
download | linux-de91a4d0e725db34db64502fad84e8fb1026146b.tar.xz linux-de91a4d0e725db34db64502fad84e8fb1026146b.zip |
vdpasim: support batch updating
The vDPA simulator support both set_map() and dma_map()/dma_unmap()
operations. But vhost-vdpa can only use one of them. So this patch
introduce a module parameter (batch_mapping) that let vpda_sim to
support only one of those dma operations. The batched mapping via
set_map() is enabled by default.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20200804162048.22587-6-eli@mellanox.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions