]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: leave dev cmd request contents alone on FW timeout
authorShannon Nelson <snelson@pensando.io>
Fri, 20 Mar 2020 02:31:49 +0000 (19:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Mar 2020 02:56:04 +0000 (19:56 -0700)
commit843493e3196973cf8275a97cbbbc6b0bb66221d1
treea7603d4d7f6c69925e5f274d4a76eda91f2686a1
parentf02a0ddf3dbbaf868460f1f9eaa6c3a8c35d5d0f
ionic: leave dev cmd request contents alone on FW timeout

It is possible (but unlikely) that FW was busy and missed a heartbeat
check but is still alive and will process the pending request, so don't
clean the dev_cmd in this case.  This occasionally occurs when working
with a card that is supporting many devices and is trying to shut them
all down at once, but still wants to see that last LIF disable request.

Fixes: a17e4a90098a ("ionic: add heartbeat check")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_main.c