]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: skip tx timeout reset while in resetting
authorLijun Pan <ljp@linux.ibm.com>
Fri, 20 Nov 2020 22:40:13 +0000 (16:40 -0600)
committerJakub Kicinski <kuba@kernel.org>
Sat, 21 Nov 2020 23:30:47 +0000 (15:30 -0800)
commit655360478396b393ae25403f34424e7da62e7bb8
treeedcefccaf018b714b131d0f2ee118be0f33d94f3
parent68b0c03dc365c9011532e6a5c9a9416d046d048f
ibmvnic: skip tx timeout reset while in resetting

Sometimes it takes longer than 5 seconds (watchdog timeout) to complete
failover, migration, and other resets. In stead of scheduling another
timeout reset, we wait for the current one to complete.

Suggested-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Lijun Pan <ljp@linux.ibm.com>
Reviewed-by: Dany Madden <drt@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/ibm/ibmvnic.c