1
0
Fork 0
alistair23-linux/drivers/net/ethernet/intel
Mitch Williams e284fc88df i40evf: delay releasing rings
When the VF interface is closed, we cannot immediately free our rings
and RX buffers, because the hardware hasn't yet stopped accessing this
memory. This shows up as a panic or memory corruption when the device is
brought down while under heavy stress.

To fix this, delay releasing resources until we receive acknowledgment
from the PF driver that the rings have indeed been stopped. Because of
this delay, we also need to check to make sure that all of our admin
queue requests have been handled before allowing the device to be
opened.

Change-ID: I44edd35529ce2fa2a9512437a3a8e6f14ed8ed63
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-03-27 02:57:03 -07:00
..
e1000 ethernet: codespell comment spelling fixes 2015-03-08 22:54:22 -04:00
e1000e e1000e: NVM write protect access removed from SPT HW 2015-03-20 17:44:25 -07:00
fm10k fm10k: Resolve various spelling errors and checkpatch warnings 2015-03-03 01:07:23 -08:00
i40e i40e/i40evf: implement KR2 support 2015-03-27 00:12:09 -07:00
i40evf i40evf: delay releasing rings 2015-03-27 02:57:03 -07:00
igb igb: use netif_carrier_off earlier when bringing if down 2015-03-20 17:45:12 -07:00
igbvf igbvf: use netif_carrier_off earlier when bringing if down 2015-03-20 17:45:12 -07:00
ixgb ixgb: call netif_carrier_off early on down 2015-03-20 17:41:52 -07:00
ixgbe ixgbe: Remove IXGBE_FLAG_IN_NETPOLL since it doesn't do anything 2015-03-13 15:41:01 -07:00
ixgbevf ixgbevf: Use ether_addr_copy() instead of memcpy() 2015-03-13 15:41:15 -07:00
Kconfig i40e: Strip configfs code 2015-03-07 07:01:06 -08:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00
e100.c ethernet: codespell comment spelling fixes 2015-03-08 22:54:22 -04:00