]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: no reset timeout for 5 seconds after reset
authorDany Madden <drt@linux.ibm.com>
Thu, 26 Nov 2020 00:04:31 +0000 (18:04 -0600)
committerJakub Kicinski <kuba@kernel.org>
Sat, 28 Nov 2020 21:26:48 +0000 (13:26 -0800)
commita86d5c682b798b2dadaa4171c1d124cf3c45a17c
tree40d4040072083d05b3932433b76b554eeca548fe
parentc98d9cc4170da7e16a1012563d0f9fbe1c7cfe27
ibmvnic: no reset timeout for 5 seconds after reset

Reset timeout is going off right after adapter reset. This patch ensures
that timeout is scheduled if it has been 5 seconds since the last reset.
5 seconds is the default watchdog timeout.

Fixes: ed651a10875f1 ("ibmvnic: Updated reset handling")
Signed-off-by: Dany Madden <drt@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/ibm/ibmvnic.c
drivers/net/ethernet/ibm/ibmvnic.h