RE: [PATCH v3] virtio_pci: avoid to request intx irq if pin is zero

From: Angus Chen
Date: Tue Oct 04 2022 - 22:21:12 EST

> On Wed, Sep 28, 2022 at 6:47 PM Angus Chen <angus.chen@xxxxxxxxxxxxxxx>
> wrote:
> >
> > The background is that we use dpu in cloud computing,the arch is x86,80
> > cores.We will have a lots of virtio devices,like 512 or more.
> > When we probe about 200 virtio_blk devices,it will fail and
> > the stack is print as follows:
> Not for this patch, but I wonder if it's time to introduce per cpu
> virtio interrupts instead of per device ones? This may help in this
> case.
This patch is just prevent the device
which have no intx support to request INTX.
It can be occur when msix is out of memory or out of irq
Capability etc.
So could you pls help to review this patch first?

Thank you.
> Thanks
> >