From: Alexander Duyck Date: Thu, 16 Jan 2014 01:38:41 +0000 (-0800) Subject: ixgbe: Clear head write-back registers on VF reset X-Git-Tag: v3.14-rc1~94^2~150^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbf231af81a789645f7c8d7e3ddce48e1ef08083;p=pandora-kernel.git 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 Tested-by: Phil Schmitt Signed-off-by: Aaron Brown Signed-off-by: David S. Miller --- Reading git-diff-tree failed