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, Alex