summaryrefslogtreecommitdiffstats
path: root/net/ipv4/devinet.c
diff options
context:
space:
mode:
authorCasey Leedom <leedom@chelsio.com>2011-02-14 12:56:24 +0000
committerDavid S. Miller <davem@davemloft.net>2011-02-14 17:37:11 -0800
commit7e9c26295b2ae1be1285c7c9e593c19ce7ea7eba (patch)
treec8bb3d0decb24c44aca420faa0b0d88dbf1e82c2 /net/ipv4/devinet.c
parent843635e0349be9e318be224d6241069a40e23320 (diff)
downloadop-kernel-dev-7e9c26295b2ae1be1285c7c9e593c19ce7ea7eba.zip
op-kernel-dev-7e9c26295b2ae1be1285c7c9e593c19ce7ea7eba.tar.gz
cxgb4vf: Quiesce Virtual Interfaces on shutdown ...
When a Virtual Machine is rebooted, KVM currently fails to issue a Function Level Reset against any "Attached PCI Devices" (AKA "PCI Passthrough"). In addition to leaving the attached device in a random state in the next booted kernel (which sort of violates the entire idea of a reboot reseting hardware state), this leaves our peer thinking that the link is still up. (Note that a bug has been filed with the KVM folks, #25332, but there's been no response on that as of yet.) So, we add a "->shutdown()" method for the Virtual Function PCI Device to handle administrative shutdowns like a reboot. Signed-off-by: Casey Leedom <leedom@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/devinet.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud