diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2014-01-15 17:38:41 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-15 21:48:18 -0800 |
commit | dbf231af81a789645f7c8d7e3ddce48e1ef08083 (patch) | |
tree | dc0cdd6a5e7d3f0b8628069a756e779ca0319803 /drivers/net/ethernet/moxa/moxart_ether.c | |
parent | 87397379d566d5d8692df1bfc22bef95fd64ae3b (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet/moxa/moxart_ether.c')
0 files changed, 0 insertions, 0 deletions