Re: [PATCH 4/5] virtio_net: enable premapped mode for merge and small by default

2024-10-24 Thread Xuan Zhuo
On Fri, 18 Oct 2024 16:00:07 +0800, Jason Wang wrote: > On Mon, Oct 14, 2024 at 11:12 AM Xuan Zhuo wrote: > > > > Currently, the virtio core will perform a dma operation for each > > buffer. Although, the same page may be operated multiple times. > > > > In premapped mod, we can perform only one

Re: [PATCH 4/5] virtio_net: enable premapped mode for merge and small by default

2024-10-18 Thread Jason Wang
On Mon, Oct 14, 2024 at 11:12 AM Xuan Zhuo wrote: > > Currently, the virtio core will perform a dma operation for each > buffer. Although, the same page may be operated multiple times. > > In premapped mod, we can perform only one dma operation for the pages of > the alloc frag. This is beneficial