linux/drivers/net/vxge
Jon Mason c92bf70dcb vxge: fix crash of VF when unloading PF
Calling pci_disable_sriov when unloading a SR-IOV physical function
driver from a host when a guest is using a virtual function from that
device can cause a host crash or VM crash.  The crash is caused by the
virtual config space no longer being present when PF is removed (due to
the pci_disable_sriov).  This can be avoided by not calling
pci_disable_sriov to disable the PCI space when shutting down the PF.
Each function in the X3100 operates independently and in this case will
operate properly in the absence of the PF.

Also, added improved logic in the detection of SR-IOV initialization.

Signed-off-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: Ram Vepa <ram.vepa@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-12-10 16:08:22 -08:00
..
Makefile vxge: Update copyright information 2010-07-15 20:46:22 -07:00
vxge-config.c vxge: code cleanup and reorganization 2010-12-10 16:08:21 -08:00
vxge-config.h vxge: code cleanup and reorganization 2010-12-10 16:08:21 -08:00
vxge-ethtool.c net: Fix too optimistic NETIF_F_HW_CSUM features 2010-12-06 12:59:04 -08:00
vxge-ethtool.h vxge: Update copyright information 2010-07-15 20:46:22 -07:00
vxge-main.c vxge: fix crash of VF when unloading PF 2010-12-10 16:08:22 -08:00
vxge-main.h vxge: code cleanup and reorganization 2010-12-10 16:08:21 -08:00
vxge-reg.h vxge: correct multi-function detection 2010-11-11 09:30:23 -08:00
vxge-traffic.c vxge: code cleanup and reorganization 2010-12-10 16:08:21 -08:00
vxge-traffic.h vxge: code cleanup and reorganization 2010-12-10 16:08:21 -08:00
vxge-version.h vxge: update driver version 2010-12-01 13:02:09 -08:00