aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorKashyap Desai <[email protected]>2023-06-09 04:01:48 -0700
committerLeon Romanovsky <[email protected]>2023-06-12 10:10:17 +0300
commitb6c7256688264f5096a2cfaaaa56d01ea686b367 (patch)
tree14c00f1864ec6768c5434e11c7e15f0627316d17 /scripts/generate_rust_analyzer.py
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 <[email protected]> Signed-off-by: Selvin Xavier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions