Re: [Intel-wired-lan] [PATCH v2] ice: Fix enabling SR-IOV with Xen

2024-04-30 Thread Ross Lagerwall
On Mon, Apr 29, 2024 at 2:04 PM Paul Menzel wrote: > > Dear Ross, > > > Thank you for your patch. > > Am 29.04.24 um 14:49 schrieb Ross Lagerwall: > > When the PCI functions are created, Xen is informed about them and > > caches the number of MSI-X entries

[Intel-wired-lan] [PATCH v2] ice: Fix enabling SR-IOV with Xen

2024-04-29 Thread Ross Lagerwall
Xen rejects mapping MSI-X interrupts to domains because it thinks the MSI-X interrupts don't exist. Fix this by moving the call to pci_enable_sriov() later so that the number of MSI-X entries is set correctly in hardware by the time Xen reads it. Signed-off-by: Ross Lagerwall Signed-off-by: