OpenCloudOS-Kernel/drivers/net/ethernet/intel/ixgbe
Alexander Duyck dbf231af81 ixgbe: Clear head write-back registers on VF reset
The Tx head write-back registers are not cleared during an FLR or VF reset.
As a result a configuration that had head write-back enabled can leave the
registers set after the driver is unloaded.  If the next driver loaded doesn't
use the write-back registers this can lead to a bad configuration where
head write-back is enabled, but the driver didn't request it.

To avoid this situation the PF should be resetting the Tx head write-back
registers when the VF requests a reset.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-15 21:48:18 -08:00
..
Makefile ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe.h ixgbe: Check register reads for adapter removal 2014-01-14 18:59:17 -08:00
ixgbe_82598.c ixgbe: add support for quad-port x520 adapter 2013-07-31 02:26:15 -07:00
ixgbe_82599.c ixgbe: add 1Gbps support for QSFP+ 2013-08-29 03:24:00 -07:00
ixgbe_common.c ixgbe: Check return value on eeprom reads 2013-08-29 02:45:38 -07:00
ixgbe_common.h ixgbe: Check for adapter removal on register writes 2014-01-14 18:59:17 -08:00
ixgbe_dcb.c IXGBE: Set the SW prio_tc values at initialization to the HW setting. 2013-05-21 03:14:21 -07:00
ixgbe_dcb.h IXGBE: Set the SW prio_tc values at initialization to the HW setting. 2013-05-21 03:14:21 -07:00
ixgbe_dcb_82598.c ixgbe: Fix Tx Hang issue with lldpad on 82598EB 2013-07-28 13:17:17 -07:00
ixgbe_dcb_82598.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb_82599.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb_82599.h IXGBE: Set the SW prio_tc values at initialization to the HW setting. 2013-05-21 03:14:21 -07:00
ixgbe_dcb_nl.c IXGBE: Set the SW prio_tc values at initialization to the HW setting. 2013-05-21 03:14:21 -07:00
ixgbe_debugfs.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_ethtool.c ixgbe: Additional adapter removal checks 2014-01-14 18:59:17 -08:00
ixgbe_fcoe.c drivers: net: Remove remaining alloc/OOM messages 2013-02-08 17:44:39 -05:00
ixgbe_fcoe.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_lib.c ixgbe: enable l2 forwarding acceleration for macvlans 2013-11-07 19:11:41 -05:00
ixgbe_main.c ixgbe: Additional adapter removal checks 2014-01-14 18:59:17 -08:00
ixgbe_mbx.c ixgbe: Check for adapter removal on register writes 2014-01-14 18:59:17 -08:00
ixgbe_mbx.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_phy.c ixgbe: Check for adapter removal on register writes 2014-01-14 18:59:17 -08:00
ixgbe_phy.h ixgbe: Make ixgbe_identify_qsfp_module_generic static 2013-11-30 00:21:47 -08:00
ixgbe_ptp.c ixgbe: fix lockdep annotation issue for ptp's work item 2013-07-31 01:00:57 -07:00
ixgbe_sriov.c ixgbe: Clear head write-back registers on VF reset 2014-01-15 21:48:18 -08:00
ixgbe_sriov.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_sysfs.c ixgbe: Start temperature sensor attribute index with 1 2013-12-17 22:43:07 -08:00
ixgbe_type.h ixgbe: Clear head write-back registers on VF reset 2014-01-15 21:48:18 -08:00
ixgbe_x540.c ixgbe: Cleanup the use of tabs and spaces 2013-10-01 12:49:49 -04:00