[RFC PATCH V4] pci: virtio_pci: Add SR-IOV support for virtio_pci devices

2018-02-25 Thread Mark Rustad
. Signed-off-by: Mark Rustad <mark.d.rus...@intel.com> Reviewed-by: Alexander Duyck <alexander.h.du...@intel.com> --- Changes in V4: - V3 was a mis-send, this has what was intended - Move most code to new helpers in pci/iov.c, pci_sriov_configure_generic and pci_sriov_disable_gener

[RFC PATCH V3] virtio_pci: Add SR-IOV support

2018-02-25 Thread Mark Rustad
. Signed-off-by: Mark Rustad <mark.d.rus...@intel.com> Reviewed-by: Alexander Duyck <alexander.h.du...@intel.com> --- Changes in V3: - Move most code to a new helper in pci/iov.c, pci_sriov_configure Changes in V2: - Simplified logic from previous version, removed added driver variable

[RFC PATCH V2] virtio_pci: Add SR-IOV support

2018-02-22 Thread Mark Rustad
. Signed-off-by: Mark Rustad <mark.d.rus...@intel.com> Reviewed-by: Alexander Duyck <alexander.h.du...@intel.com> --- Changes in V2: - Simplified logic from previous version, removed added driver variable - Disable SR-IOV on driver removal excapt when VFs are assigned - Sent as RFC t

Re: [Intel-wired-lan] [PATCH] igb: add more checks for disconnected adapter

2015-09-21 Thread Mark Rustad
On 9/21/15 9:14 PM, Jarod Wilson wrote: > Just switching to adapter->io_addr everywhere seems to not work as > noted above. :\ Note that I'm also chasing this from the other end > with the author of the pci patches that seem to have triggered this, > so the real bug might be over in pci-land,