-
- Downloads
vhost: factor out IOTLB
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>
Showing
- MAINTAINERS 1 addition, 0 deletionsMAINTAINERS
- drivers/vhost/Kconfig 6 additions, 0 deletionsdrivers/vhost/Kconfig
- drivers/vhost/Makefile 3 additions, 0 deletionsdrivers/vhost/Makefile
- drivers/vhost/iotlb.c 177 additions, 0 deletionsdrivers/vhost/iotlb.c
- drivers/vhost/net.c 1 addition, 1 deletiondrivers/vhost/net.c
- drivers/vhost/vhost.c 69 additions, 152 deletionsdrivers/vhost/vhost.c
- drivers/vhost/vhost.h 11 additions, 28 deletionsdrivers/vhost/vhost.h
- include/linux/vhost_iotlb.h 47 additions, 0 deletionsinclude/linux/vhost_iotlb.h
Loading
Please register or sign in to comment