History

net/mlx5: Report devlink health on FW fatal issues

Report devlink health on FW fatal issues via fw_fatal_reporter. The driver recover flow for FW fatal error is now being handled by the devlink health. Having the recovery controlled by devlink health, the user has the ability to cancel the auto-recovery for debug session and run it manually. Call mlx5_enter_error_state() before calling devlink_health_report() to ensure entering device error state even if auto-recovery is off.

Moshe Shemesh committed 7 years ago

Commit b3bd0761 parent 9b1f2983 files · +31 −23Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/mlx5/driver.h+1−1
@@ -442,7 +442,7 @@ struct mlx5_core_health { · 441 unmodified lines
442 spinlock_t wq_lock;442 spinlock_t wq_lock;
443 struct workqueue_struct *wq;443 struct workqueue_struct *wq;
444 unsigned long flags;444 unsigned long flags;
445 struct work_struct work;445 struct work_struct fatal_report_work;
446 struct work_struct report_work;446 struct work_struct report_work;
447 struct delayed_work recover_work;447 struct delayed_work recover_work;
448 struct devlink_health_reporter *fw_reporter;448 struct devlink_health_reporter *fw_reporter;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t