Re: [Qemu-devel] [PATCH V4 10/10] vhost_net: device IOTLB support

2017-01-10 Thread Jason Wang
On 2017年01月10日 12:55, Michael S. Tsirkin wrote: On Fri, Dec 30, 2016 at 06:09:19PM +0800, Jason Wang wrote: This patches implements Device IOTLB support for vhost kernel. This is done through: 1) switch to use dma helpers when map/unmap vrings from vhost codes 2) introduce a set of VhostOps t

Re: [Qemu-devel] [PATCH V4 10/10] vhost_net: device IOTLB support

2017-01-09 Thread Michael S. Tsirkin
On Fri, Dec 30, 2016 at 06:09:19PM +0800, Jason Wang wrote: > This patches implements Device IOTLB support for vhost kernel. This is > done through: > > 1) switch to use dma helpers when map/unmap vrings from vhost codes > 2) introduce a set of VhostOps to: >- setting up device IOTLB request c

[Qemu-devel] [PATCH V4 10/10] vhost_net: device IOTLB support

2016-12-30 Thread Jason Wang
This patches implements Device IOTLB support for vhost kernel. This is done through: 1) switch to use dma helpers when map/unmap vrings from vhost codes 2) introduce a set of VhostOps to: - setting up device IOTLB request callback - processing device IOTLB request - processing device IOTL