Re: [PATCH vhost 2/6] virtio_ring: enable premapped mode whatever use_dma_api

2024-04-17 Thread Jason Wang
On Thu, Apr 11, 2024 at 10:51 AM Xuan Zhuo wrote: > > Now, we have virtio DMA APIs, the driver can be the premapped > mode whatever the virtio core uses dma api or not. > > So remove the limit of checking use_dma_api from > virtqueue_set_dma_premapped(). > > Signed-off-by: Xuan Zhuo > --- > driv

Re: [PATCH vhost 2/6] virtio_ring: enable premapped mode whatever use_dma_api

2024-04-17 Thread Jason Wang
On Thu, Apr 11, 2024 at 10:51 AM Xuan Zhuo wrote: > > Now, we have virtio DMA APIs, the driver can be the premapped > mode whatever the virtio core uses dma api or not. > > So remove the limit of checking use_dma_api from > virtqueue_set_dma_premapped(). > > Signed-off-by: Xuan Zhuo Acked-by: Ja

[PATCH vhost 2/6] virtio_ring: enable premapped mode whatever use_dma_api

2024-04-10 Thread Xuan Zhuo
Now, we have virtio DMA APIs, the driver can be the premapped mode whatever the virtio core uses dma api or not. So remove the limit of checking use_dma_api from virtqueue_set_dma_premapped(). Signed-off-by: Xuan Zhuo --- drivers/virtio/virtio_ring.c | 7 +-- 1 file changed, 1 insertion(+),