Re: [PATCH net-next v4 1/4] virtio_ring: enable premapped mode whatever use_dma_api

2024-05-10 Thread Larysa Zaremba
On Wed, May 08, 2024 at 02:37:15PM +0800, 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 > Ack

[PATCH net-next v4 1/4] virtio_ring: enable premapped mode whatever use_dma_api

2024-05-07 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 Acked-by: Jason Wang --- drivers/virtio/virtio_ring.c | 7 +-- 1 file ch