]> Gentwo Git Trees - linux/.git/commit
eth: fbnic: use fw uptime to detect fw crashes
authorJakub Kicinski <kuba@kernel.org>
Tue, 16 Sep 2025 23:14:13 +0000 (16:14 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 18 Sep 2025 09:37:23 +0000 (11:37 +0200)
commit7fd1f7bac2b878eb203fb316e03e1b87e8b86f6e
tree1bc1cd05c9c28baebc2349b7a44aee630856e0a7
parente6c8ab0a11293ac44a2d5550cafaf775ccf64ea0
eth: fbnic: use fw uptime to detect fw crashes

Currently we only detect FW crashes when it stops responding
to heartbeat messages. FW has a watchdog which will reset it
in case of crashes. Use FW uptime sent in the ownership and
heartbeat messages to detect that the watchdog has fired
(uptime went down).

Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20250916231420.1693955-3-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/meta/fbnic/fbnic.h
drivers/net/ethernet/meta/fbnic/fbnic_fw.c
drivers/net/ethernet/meta/fbnic/fbnic_fw.h