On 10/13/2017 9:54 PM, Ferruh Yigit wrote: > On 10/9/2017 9:31 PM, Jingjing Wu wrote: >> If pass-through a VF by vfio-pci to a Qemu VM, after FLR >> in VM, the interrupt setting is not recoverd correctly >> to host as below: >> in VM guest: >> Capabilities: [70] MSI-X: Enable+ Count=5 Masked- >> in Host: >> Capabilities: [70] MSI-X: Enable+ Count=5 Masked- >> >> That was because in pci_reset_function, it first reads the >> PCI configure and set FLR reset, and then writes PCI configure >> as restoration. But not all the writing are successful to Host. >> Becuase vfio-pci driver doesn't allow directly write PCI MSI-X >> Cap. >> >> To fix this issue, we need to move the interrupt enablement from >> igb_uio probe to open device file. While is also the similar as >> the behaviour in vfio_pci kernel module code.>> >> Fixes: b58eedfc7dd5 ("igb_uio: issue FLR during open and release of device >> file") >> >> Cc: sta...@dpdk.org >> >> Signed-off-by: Jingjing Wu <jingjing...@intel.com> >> Signed-off-by: Jianfeng Tan <jianfeng....@intel.com> > > Acked-by: Ferruh Yigit <ferruh.yi...@intel.com>
Series applied to dpdk/master, thanks.