Re: [PATCH vhost v13 04/12] virtio_ring: support add premapped buf

2024-06-04 Thread Alexander Potapenko
On Tue, Jun 4, 2024 at 6:07 PM Ilya Leoshkevich wrote: > > On Thu, 2023-08-10 at 20:30 +0800, Xuan Zhuo wrote: > > If the vq is the premapped mode, use the sg_dma_address() directly. > > > > Signed-off-by: Xuan Zhuo > > --- > > drivers/virtio/virtio_ring.c | 19 +-- > > 1 file ch

Re: [PATCH vhost v13 04/12] virtio_ring: support add premapped buf

2024-06-04 Thread Ilya Leoshkevich
On Thu, 2023-08-10 at 20:30 +0800, Xuan Zhuo wrote: > If the vq is the premapped mode, use the sg_dma_address() directly. > > Signed-off-by: Xuan Zhuo > --- >  drivers/virtio/virtio_ring.c | 19 +-- >  1 file changed, 17 insertions(+), 2 deletions(-) > > diff --git a/drivers/virti