Re: [PATCH vhost v6 08/11] virtio_ring: introduce virtqueue_dma_dev()

2023-04-12 Thread Christoph Hellwig
On Wed, Apr 12, 2023 at 10:03:46AM +0800, Xuan Zhuo wrote: > We discusses this question last at [1]. We planned to pass one device to xsk. > Then xsk can use the DMA API on this device. The device can be one hw > device(such as PCI, mmio) or virtio device. If it is one hw device, no > problem.

Re: [PATCH v6 11/11] vhost: allow userspace to create workers

2023-04-12 Thread Jason Wang
On Wed, Apr 12, 2023 at 6:15 AM Mike Christie wrote: > > On 4/10/23 10:00 PM, Jason Wang wrote: > >>> vhost_zerocopy_callback(). But since you want to limit the call before > >>> set_backend, another question comes, do we really need the dynamic > >>> attaching/creating in this case? How about a

Re: [PATCH] vhost_vdpa: fix unmap process in no-batch mode

2023-04-12 Thread Jason Wang
On Wed, Apr 12, 2023 at 2:32 PM Cindy Lu wrote: > > On Tue, Apr 11, 2023 at 5:14 PM Jason Wang wrote: > > > > On Tue, Apr 11, 2023 at 3:29 PM Cindy Lu wrote: > > > > > > On Tue, Apr 11, 2023 at 11:10 AM Jason Wang wrote: > > > > > > > > On Mon, Apr 10, 2023 at 11:01 PM Cindy Lu wrote: > > > >