]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: queue reset when CRQ gets closed during reset
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Wed, 7 Feb 2018 19:00:24 +0000 (13:00 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Feb 2018 20:11:15 +0000 (15:11 -0500)
commit5d79e94d3689eb4c7b70d8014736e36b7fecd38a
tree4e99e52a2abb59aebb15c3d2bb57ad23fe95f2b6
parent8d383365b7cd1683e9af50fd2cbd07445108a094
ibmvnic: queue reset when CRQ gets closed during reset

While handling a driver reset we get a H_CLOSED return trying
to send a CRQ event. When this occurs we need to queue up another
reset attempt. Without doing this we see instances where the driver
is left in a closed state because the reset failed and there is no
further attempts to reset the driver.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c