summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/iotlb.c
Commit message (Collapse)AuthorAgeFilesLines
* vhost-iotlb: fix vhost_iotlb_itree_next() documentationStefano Garzarella2020-08-261-2/+2
| | | | | | | | | | This patch contains trivial changes for the vhost_iotlb_itree_next() documentation, fixing the function name and the description of first argument (@map). Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Link: https://lore.kernel.org/r/20200825130543.43308-1-sgarzare@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* vhost: factor out IOTLBJason Wang2020-04-011-0/+177
This patch factors out IOTLB into a dedicated module in order to be reused by other modules like vringh. User may choose to enable the automatic retiring by specifying VHOST_IOTLB_FLAG_RETIRE flag to fit for the case of vhost device IOTLB implementation. Signed-off-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/20200326140125.19794-4-jasowang@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>