Re: [PATCH] virtio-mmio: Remove virtqueue list from mmio device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29-05-25, 14:05, Jason Wang wrote:
> On Wed, May 21, 2025 at 7:34 PM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
> >
> > The MMIO transport implementation creates a list of virtqueues for a
> > virtio device, while the same is already available in the struct
> > virtio_device.
> >
> > Don't create a duplicate list, and use the other one instead.
> >
> > While at it, fix the virtio_device_for_each_vq() macro to accept an
> > argument like "&vm_dev->vdev" (which currently fails to build).
> >
> > Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> > ---
> 
> Acked-by: Jason Wang <jasowang@xxxxxxxxxx>
> 
> Btw, virtio-vdpa may need the same optimization.

Sent a patch for that now.

https://lore.kernel.org/all/7808f2f7e484987b95f172fffb6c71a5da20ed1e.1748503784.git.viresh.kumar@xxxxxxxxxx/

-- 
viresh




[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux