Searched refs:fw_reporter (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_devlink.c | 29 if (qdl->fw_reporter) in qed_report_fatal_error() 30 devlink_health_report(qdl->fw_reporter, in qed_report_fatal_error() 102 dl->fw_reporter = devlink_health_reporter_create(devlink, &qed_fw_fatal_reporter_ops, in qed_fw_reporters_create() 104 if (IS_ERR(dl->fw_reporter)) { in qed_fw_reporters_create() 106 PTR_ERR(dl->fw_reporter)); in qed_fw_reporters_create() 107 dl->fw_reporter = NULL; in qed_fw_reporters_create() 116 rep = dl->fw_reporter; in qed_fw_reporters_destroy()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | health.c | 560 if (IS_ERR_OR_NULL(health->fw_reporter)) in mlx5_fw_reporter_err_work() 566 devlink_health_report(health->fw_reporter, in mlx5_fw_reporter_err_work() 571 devlink_health_report(health->fw_reporter, in mlx5_fw_reporter_err_work() 709 health->fw_reporter = in mlx5_fw_reporters_create() 711 if (IS_ERR(health->fw_reporter)) in mlx5_fw_reporters_create() 713 PTR_ERR(health->fw_reporter)); in mlx5_fw_reporters_create() 729 if (!IS_ERR_OR_NULL(health->fw_reporter)) in mlx5_fw_reporters_destroy() 730 devlink_health_reporter_destroy(health->fw_reporter); in mlx5_fw_reporters_destroy()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_devlink.c | 128 devlink_health_report(h->fw_reporter, in bnxt_fw_diagnose() 237 if (fw_health && !fw_health->fw_reporter) in bnxt_dl_fw_reporters_create() 238 fw_health->fw_reporter = __bnxt_dl_reporter_create(bp, &bnxt_dl_fw_reporter_ops); in bnxt_dl_fw_reporters_create() 245 if (fw_health && fw_health->fw_reporter) { in bnxt_dl_fw_reporters_destroy() 246 devlink_health_reporter_destroy(fw_health->fw_reporter); in bnxt_dl_fw_reporters_destroy() 247 fw_health->fw_reporter = NULL; in bnxt_dl_fw_reporters_destroy() 259 if (!fw_health->fw_reporter) { in bnxt_devlink_health_fw_report() 268 rc = devlink_health_report(fw_health->fw_reporter, "FW error reported", in bnxt_devlink_health_fw_report() 289 devlink_health_reporter_state_update(fw_health->fw_reporter, state); in bnxt_dl_health_fw_status_update() 296 devlink_health_reporter_recovery_done(bp->fw_health->fw_reporter); in bnxt_dl_health_fw_recovery_done() [all...] |
H A D | bnxt.h | 2028 struct devlink_health_reporter *fw_reporter; member
|
/linux/drivers/net/ethernet/amd/pds_core/ |
H A D | main.c | 290 pdsc->fw_reporter = hr; in pdsc_init_pf() 413 if (pdsc->fw_reporter) { in pdsc_remove() 414 devl_health_reporter_destroy(pdsc->fw_reporter); in pdsc_remove() 415 pdsc->fw_reporter = NULL; in pdsc_remove()
|
H A D | core.c | 554 if (pdsc->fw_reporter) in pdsc_fw_down() 555 devlink_health_report(pdsc->fw_reporter, "FW down reported", pdsc); in pdsc_fw_down() 590 if (pdsc->fw_reporter) in pdsc_fw_up() 591 devlink_health_reporter_state_update(pdsc->fw_reporter, in pdsc_fw_up()
|
H A D | core.h | 174 struct devlink_health_reporter *fw_reporter; member
|
/linux/include/linux/qed/ |
H A D | qed_if.h | 808 struct devlink_health_reporter *fw_reporter; member
|
/linux/include/linux/mlx5/ |
H A D | driver.h | 451 struct devlink_health_reporter *fw_reporter; member
|