summaryrefslogtreecommitdiff
path: root/drivers/net/caif
diff options
context:
space:
mode:
authorSukadev Bhattiprolu <sukadev@linux.ibm.com>2021-06-30 14:36:17 -0400
committerDavid S. Miller <davem@davemloft.net>2021-07-01 13:11:12 -0700
commit4f408e1fa6e10b6da72691233369172bac7d9e9b (patch)
tree77ece92eaa994efa5a8c38a8609da5bef1930137 /drivers/net/caif
parentb2bc81481750b8457c51c2e48e7af9143663c093 (diff)
ibmvnic: retry reset if there are no other resets
Normally, if a reset fails due to failover or other communication error there is another reset (eg: FAILOVER) in the queue and we would process that reset. But if we are unable to communicate with PHYP or VIOS after H_FREE_CRQ, there would be no other resets in the queue and the adapter would be in an undefined state even though it was in the OPEN state earlier. While starting the reset we set the carrier to off state so we won't even get the timeout resets. If the last queued reset fails, retry it as a hard reset (after the usual 60 second settling time). Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com> Reviewed-by: Dany Madden <drt@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/caif')
0 files changed, 0 insertions, 0 deletions