On Wed, Mar 27, 2024 at 7:14 PM Xuan Zhuo <[email protected]> wrote: > > Now, the virtio core can set the premapped mode by find_vqs(). > If the premapped can be enabled, the dma array will not be > allocated. So virtio-net use the api of find_vqs to enable the > premapped. > > Judge the premapped mode by the vq->premapped instead of saving > local variable. > > Signed-off-by: Xuan Zhuo <[email protected]> > ---
I wonder what's the reason to keep a fallback when premapped is not enabled? Thanks
