Re: [Qemu-devel] [PATCH V4 net-next] vhost_net: device IOTLB support

2017-01-15 Thread Jason Wang
On 2017年01月14日 00:30, Michael S. Tsirkin wrote: On Fri, Jan 13, 2017 at 10:45:09AM +0800, Jason Wang wrote: On 2017年01月12日 22:17, Michael S. Tsirkin wrote: On Wed, Jan 11, 2017 at 12:32:12PM +0800, Jason Wang wrote: This patches implements Device IOTLB support for vhost kernel. This is

Re: [Qemu-devel] [PATCH V4 net-next] vhost_net: device IOTLB support

2017-01-13 Thread Michael S. Tsirkin
On Fri, Jan 13, 2017 at 10:45:09AM +0800, Jason Wang wrote: > > > On 2017年01月12日 22:17, Michael S. Tsirkin wrote: > > On Wed, Jan 11, 2017 at 12:32:12PM +0800, Jason Wang wrote: > > > This patches implements Device IOTLB support for vhost kernel. This is > > > done through: > > > > > > 1)

Re: [Qemu-devel] [PATCH V4 net-next] vhost_net: device IOTLB support

2017-01-12 Thread Jason Wang
On 2017年01月12日 22:17, Michael S. Tsirkin wrote: On Wed, Jan 11, 2017 at 12:32:12PM +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

Re: [Qemu-devel] [PATCH V4 net-next] vhost_net: device IOTLB support

2017-01-12 Thread Michael S. Tsirkin
On Wed, Jan 11, 2017 at 12:32:12PM +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

Re: [Qemu-devel] [PATCH V4 net-next] vhost_net: device IOTLB support

2017-01-10 Thread Jason Wang
On 2017年01月11日 12:32, 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 callback - processing