RE: IRQ affinity from VFIO API interface

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

 



[AMD Official Use Only - General]



> -----Original Message-----
> From: Alex Williamson <alex.williamson@xxxxxxxxxx>
> Sent: Monday, November 14, 2022 9:05 PM
> To: Gupta, Nipun <Nipun.Gupta@xxxxxxx>
> Cc: cohuck@xxxxxxxxxx; kvm@xxxxxxxxxxxxxxx; Agarwal, Nikhil
> <nikhil.agarwal@xxxxxxx>; Anand, Harpreet <harpreet.anand@xxxxxxx>
> Subject: Re: IRQ affinity from VFIO API interface
> 
> Caution: This message originated from an External Source. Use proper caution
> when opening attachments, clicking links, or responding.
> 
> 
> On Mon, 14 Nov 2022 10:29:14 +0000
> "Gupta, Nipun" <Nipun.Gupta@xxxxxxx> wrote:
> 
> > [AMD Official Use Only - General]
> >
> > Hi Alex, Cornelia and other VFIO experts,
> >
> > We are using VFIO for the user-space applications (like DPDK) and need
> > control to affine MSI interrupts to a particular CPU. One of the ways to
> > affine interrupts are to use /proc/interrupts interface and set the smp_affinity,
> > but we could not locate any API interface in VFIO from where this can be done.
> >
> > Can you please let me know if there is any other way to provide the CPU
> > affinity, or does it seem legitimate to update "struct vfio_irq_set" to support
> > the above said functionality.
> 
> There is currently no way to set interrupt affinity via the vfio API.
> You're welcome to propose something.  Thanks,

Thanks for the information.
We shall then come up with something on this soon.

Regards,
Nipun

> 
> Alex




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux