]> git.hungrycats.org Git - linux/commit
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)
committerJiri Slaby <jslaby@suse.cz>
Tue, 29 Jul 2014 14:56:54 +0000 (16:56 +0200)
commit4e873a3de6ff547928e8b171a6de07993823e572
treecf29fcf3f028d530080ac8a8d6f473856ec3d5c4
parent13089c3a001a83dabdfb650d387ac93945c59855
igb: do a reset on SR-IOV re-init if device is down

commit 76252723e88681628a3dbb9c09c963e095476f73 upstream.

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.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/net/ethernet/intel/igb/igb_main.c