aboutsummaryrefslogtreecommitdiff
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorKashyap Desai2023-06-09 04:01:48 -0700
committerLeon Romanovsky2023-06-12 10:10:17 +0300
commitb6c7256688264f5096a2cfaaaa56d01ea686b367 (patch)
tree14c00f1864ec6768c5434e11c7e15f0627316d17 /fs/dcache.c
parent691eb7c6110fe04e38bf0f60d713482508b3d199 (diff)
RDMA/bnxt_re: Add firmware stall check detection
Every completion will update last_seen value in the unit of jiffies. last_seen field will be used to know if firmware is alive and is useful to detect firmware stall. Non blocking interface __wait_for_resp will have logic to detect firmware stall. After every 10 second interval if __wait_for_resp has not received completion for a given command it will check for firmware stall condition. If current jiffies is greater than last_seen jiffies + RCFW_FW_STALL_TIMEOUT_SEC * HZ, it is a firmware stall. Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com> Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com> Link: https://lore.kernel.org/r/1686308514-11996-12-git-send-email-selvin.xavier@broadcom.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions