]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: Fix VF reset recovery
authorManish Chopra <manish.chopra@qlogic.com>
Fri, 13 Sep 2013 10:13:47 +0000 (06:13 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Sep 2013 02:10:57 +0000 (22:10 -0400)
commitedebc26ceba05e716a8f86feb5d42e3aab95d343
treefc8ffea8237fbb773a43ba4d03513abbbd3f6859
parente4411b0623e431e963c2834314a67a8011021d78
qlcnic: Fix VF reset recovery

o At the time of firmware hang "adapter->need_fw_reset" variable gets
  set but after re-initialization of firmware OR at the time of VF
  re-initialization that variable was not getting cleared which
  was leading to failure in VF reset recovery.Fix it by clearing
  this variable before re-initializing VF

Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c