Re: [PATCH vhost v3 0/4] virtio_net: rx enable premapped mode by default

2024-04-27 Thread Xuan Zhuo
On Fri, 26 Apr 2024 13:00:08 +0200, Paolo Abeni wrote: > On Wed, 2024-04-24 at 16:16 +0800, Xuan Zhuo wrote: > > Actually, for the virtio drivers, we can enable premapped mode whatever > > the value of use_dma_api. Because we provide the virtio dma apis. > > So the driver can enable premapped mode

Re: [PATCH vhost v3 0/4] virtio_net: rx enable premapped mode by default

2024-04-26 Thread Paolo Abeni
On Wed, 2024-04-24 at 16:16 +0800, Xuan Zhuo wrote: > Actually, for the virtio drivers, we can enable premapped mode whatever > the value of use_dma_api. Because we provide the virtio dma apis. > So the driver can enable premapped mode unconditionally. > > This patch set makes the big mode of virt

[PATCH vhost v3 0/4] virtio_net: rx enable premapped mode by default

2024-04-24 Thread Xuan Zhuo
Actually, for the virtio drivers, we can enable premapped mode whatever the value of use_dma_api. Because we provide the virtio dma apis. So the driver can enable premapped mode unconditionally. This patch set makes the big mode of virtio-net to support premapped mode. And enable premapped mode fo