Sathya Perla 39f1d94d30 be2net: avoid disabling sriov while VFs are assigned
Calling pci_disable_sriov() while VFs are assigned to VMs causes
kernel panic. This patch uses PCI_DEV_FLAGS_ASSIGNED bit state of the
VF's pci_dev to avoid this. Also, the unconditional function reset cmd
issued on a PF probe can delete the VF configuration for the
previously enabled VFs. A scratchpad register is now used to issue a
function reset only when needed (i.e., in a crash dump scenario.)

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-05-10 23:33:00 -04:00
..
2012-04-21 15:28:47 -04:00
2012-04-16 23:56:36 -04:00
2012-03-27 22:45:26 -04:00
2012-02-01 16:49:50 +01:00
2012-03-28 18:30:03 +01:00
2012-04-06 17:54:53 -07:00