igb: do a reset on SR-IOV re-init if device is down
authorStefan Assmann <sassmann@kpanic.de>
Thu, 10 Jul 2014 10:29:39 +0000 (03:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Jul 2014 19:45:24 +0000 (12:45 -0700)
commit76252723e88681628a3dbb9c09c963e095476f73
treeca801bd5c10b76955016f00c296355347f070842
parent948264879b6894dc389a44b99fae4f0b72932619
igb: do a reset on SR-IOV re-init if device is down

To properly re-initialize SR-IOV it is necessary to reset the device
even if it is already down. Not doing this may result in Tx unit hangs.

Cc: stable <stable@vger.kernel.org>
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/igb/igb_main.c