Home
last modified time | relevance | path

Searched refs:reporter (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.15/net/devlink/
H A Dhealth.c118 reporter = kzalloc(sizeof(*reporter), GFP_KERNEL); in __devlink_health_reporter_create()
119 if (!reporter) in __devlink_health_reporter_create()
128 return reporter; in __devlink_health_reporter_create()
160 return reporter; in devl_port_health_reporter_create()
176 return reporter; in devlink_port_health_reporter_create()
364 if (!reporter) in devlink_nl_health_reporter_get_doit()
460 if (!reporter) in devlink_nl_health_reporter_set_doit()
537 err = reporter->ops->recover(reporter, priv_ctx, extack); in devlink_health_reporter_recover()
575 err = reporter->ops->dump(reporter, reporter->dump_fmsg, in devlink_health_do_dump()
669 if (!reporter) in devlink_nl_health_reporter_recover_doit()
[all …]
/linux-6.15/Documentation/networking/devlink/
H A Ddevlink-health.rst25 The ``devlink`` health reporter:
26 Device driver creates a "health reporter" per each error/health type.
29 For each registered health reporter a driver can issue error/health reports
78 via ``devlink``, e.g per error type (per health reporter):
91 - Retrieves status and configuration info per DEV and reporter.
93 - Allows reporter-related configuration setting.
95 - Triggers reporter's recovery procedure.
101 - Retrieves current device state related to the reporter.
105 for this reporter, devlink generates a new dump.
106 Dump output is defined by the reporter.
[all …]
H A Dmlx5.rst143 tx reporter
164 $ devlink health diagnose pci/0000:82:00.0 reporter tx
172 $ devlink health show pci/0000:82:00.0 reporter tx
174 rx reporter
192 $ devlink health diagnose pci/0000:82:00.0 reporter rx
200 $ devlink health show pci/0000:82:00.0 reporter rx
202 fw reporter
214 $ devlink health diagnose pci/0000:82:00.0 reporter fw
224 fw fatal reporter
248 vnic reporter
[all …]
/linux-6.15/drivers/net/ethernet/intel/ice/devlink/
H A Dhealth.c158 struct ice_pf *pf = devlink_health_reporter_priv(reporter); in ice_port_reporter_diagnose()
168 struct ice_pf *pf = devlink_health_reporter_priv(reporter); in ice_port_reporter_dump()
178 struct ice_pf *pf = devlink_health_reporter_priv(reporter); in ice_fw_reporter_diagnose()
188 struct ice_pf *pf = devlink_health_reporter_priv(reporter); in ice_fw_reporter_dump()
278 if (!reporter) in ice_devlink_health_report()
284 devlink_health_report(reporter, msg, priv_ctx); in ice_devlink_health_report()
312 ice_mdd_reporter_dump(struct devlink_health_reporter *reporter, in ice_mdd_reporter_dump() argument
511 if (reporter) in ice_deinit_devl_reporter()
512 devl_health_reporter_destroy(reporter); in ice_deinit_devl_reporter()
535 if (reporter) in ice_health_assign_healthy_state()
[all …]
/linux-6.15/drivers/net/netdevsim/
H A Dhealth.c12 nsim_dev_empty_reporter_dump(struct devlink_health_reporter *reporter, in nsim_dev_empty_reporter_dump() argument
20 nsim_dev_empty_reporter_diagnose(struct devlink_health_reporter *reporter, in nsim_dev_empty_reporter_diagnose() argument
39 nsim_dev_dummy_reporter_recover(struct devlink_health_reporter *reporter, in nsim_dev_dummy_reporter_recover() argument
43 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); in nsim_dev_dummy_reporter_recover()
108 nsim_dev_dummy_reporter_dump(struct devlink_health_reporter *reporter, in nsim_dev_dummy_reporter_dump() argument
112 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); in nsim_dev_dummy_reporter_dump()
122 nsim_dev_dummy_reporter_diagnose(struct devlink_health_reporter *reporter, in nsim_dev_dummy_reporter_diagnose() argument
126 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); in nsim_dev_dummy_reporter_diagnose()
/linux-6.15/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink.sh402 devlink health show $DL_HANDLE reporter empty >/dev/null
405 devlink health dump show $DL_HANDLE reporter empty >/dev/null
408 devlink health diagnose $DL_HANDLE reporter empty >/dev/null
411 devlink health recover $DL_HANDLE reporter empty
475 devlink health dump clear $DL_HANDLE reporter dummy
478 devlink health recover $DL_HANDLE reporter dummy
483 devlink health set $DL_HANDLE reporter dummy auto_recover true
500 devlink health set $DL_HANDLE reporter dummy grace_period 10
513 devlink health recover $DL_HANDLE reporter dummy
519 devlink health recover $DL_HANDLE reporter dummy
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_tx.c216 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_recover()
299 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose_common_config()
323 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose()
333 mlx5e_tx_reporter_diagnose_common_config(reporter, fmsg); in mlx5e_tx_reporter_diagnose()
458 static int mlx5e_tx_reporter_dump(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_dump() argument
462 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_dump()
533 struct devlink_health_reporter *reporter; in mlx5e_reporter_tx_create() local
535 reporter = devlink_port_health_reporter_create(priv->netdev->devlink_port, in mlx5e_reporter_tx_create()
538 if (IS_ERR(reporter)) { in mlx5e_reporter_tx_create()
541 PTR_ERR(reporter)); in mlx5e_reporter_tx_create()
[all …]
H A Dreporter_rx.c191 static int mlx5e_rx_reporter_recover(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_recover() argument
195 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_recover()
452 static int mlx5e_rx_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_diagnose() argument
456 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_diagnose()
577 static int mlx5e_rx_reporter_dump(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_dump() argument
581 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_dump()
658 struct devlink_health_reporter *reporter; in mlx5e_reporter_rx_create() local
660 reporter = devlink_port_health_reporter_create(priv->netdev->devlink_port, in mlx5e_reporter_rx_create()
663 if (IS_ERR(reporter)) { in mlx5e_reporter_rx_create()
665 PTR_ERR(reporter)); in mlx5e_reporter_rx_create()
[all …]
H A Dhealth.c151 struct devlink_health_reporter *reporter, char *err_str, in mlx5e_health_report() argument
156 if (!reporter) in mlx5e_health_report()
159 return devlink_health_report(reporter, err_str, err_ctx); in mlx5e_health_report()
H A Dhealth.h50 struct devlink_health_reporter *reporter, char *err_str,
/linux-6.15/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_devlink.c364 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_intr_dump()
377 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_intr_recover()
395 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_gen_dump()
408 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_gen_recover()
426 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_err_dump()
439 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_err_recover()
457 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_ras_dump()
470 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_ras_recover()
910 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_npa_intr_dump()
923 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_npa_intr_recover()
[all …]
/linux-6.15/Documentation/netlink/specs/
H A Ddevlink.yaml599 name: health-reporter
604 name: health-reporter-name
607 name: health-reporter-state
1166 name: dl-health-reporter
1170 name: health-reporter-name
1172 name: health-reporter-state
1876 name: health-reporter-get
1888 - health-reporter-name
1897 name: health-reporter-set
1910 - health-reporter-name
[all …]
/linux-6.15/Documentation/networking/device_drivers/ethernet/marvell/
H A Docteontx2.rst193 reporter hw_npa_intr
195 reporter hw_npa_gen
197 reporter hw_npa_err
199 reporter hw_npa_ras
202 Each reporter dumps the
257 reporter hw_npa_gen
259 reporter hw_npa_err
261 reporter hw_npa_ras
265 reporter hw_nix_gen
267 reporter hw_nix_err
[all …]
/linux-6.15/drivers/net/ethernet/qlogic/qed/
H A Dqed_devlink.c37 qed_fw_fatal_reporter_dump(struct devlink_health_reporter *reporter, in qed_fw_fatal_reporter_dump() argument
41 struct qed_devlink *qdl = devlink_health_reporter_priv(reporter); in qed_fw_fatal_reporter_dump()
78 qed_fw_fatal_reporter_recover(struct devlink_health_reporter *reporter, in qed_fw_fatal_reporter_recover() argument
82 struct qed_devlink *qdl = devlink_health_reporter_priv(reporter); in qed_fw_fatal_reporter_recover()
/linux-6.15/Documentation/networking/device_drivers/ethernet/amd/
H A Dpds_core.rst108 The driver supports a devlink health reporter for FW status::
110 # devlink health show pci/0000:2b:00.0 reporter fw
112 reporter fw
114 # devlink health diagnose pci/0000:2b:00.0 reporter fw
/linux-6.15/Documentation/process/
H A Dsecurity-bugs.rst26 be released without consent from the reporter unless it has already been
47 the reporter or an affected party for up to 7 calendar days from the start
57 reporter. This includes but is not limited to the original bug report
59 identity of the reporter.
85 As such, the kernel security team strongly recommends that as a reporter
101 delay the bug handling. If a reporter wishes to have a CVE identifier
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhealth.c464 mlx5_fw_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5_fw_reporter_diagnose() argument
468 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_diagnose()
531 mlx5_fw_reporter_dump(struct devlink_health_reporter *reporter, in mlx5_fw_reporter_dump() argument
535 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_dump()
588 mlx5_fw_fatal_reporter_recover(struct devlink_health_reporter *reporter, in mlx5_fw_fatal_reporter_recover() argument
592 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_recover()
598 mlx5_fw_fatal_reporter_dump(struct devlink_health_reporter *reporter, in mlx5_fw_fatal_reporter_dump() argument
602 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_dump()
H A Den_rep.c1417 mlx5e_rep_vnic_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5e_rep_vnic_reporter_diagnose() argument
1421 struct mlx5e_rep_priv *rpriv = devlink_health_reporter_priv(reporter); in mlx5e_rep_vnic_reporter_diagnose()
1438 struct devlink_health_reporter *reporter; in mlx5e_rep_vnic_reporter_create() local
1440 reporter = devl_port_health_reporter_create(dl_port, in mlx5e_rep_vnic_reporter_create()
1443 if (IS_ERR(reporter)) { in mlx5e_rep_vnic_reporter_create()
1446 PTR_ERR(reporter)); in mlx5e_rep_vnic_reporter_create()
1450 rpriv->rep_vnic_reporter = reporter; in mlx5e_rep_vnic_reporter_create()
/linux-6.15/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_devlink.c101 static int bnxt_fw_diagnose(struct devlink_health_reporter *reporter, in bnxt_fw_diagnose() argument
105 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_diagnose()
162 static int bnxt_fw_dump(struct devlink_health_reporter *reporter, in bnxt_fw_dump() argument
166 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_dump()
195 static int bnxt_fw_recover(struct devlink_health_reporter *reporter, in bnxt_fw_recover() argument
199 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_recover()
221 struct devlink_health_reporter *reporter; in __bnxt_dl_reporter_create() local
223 reporter = devlink_health_reporter_create(bp->dl, ops, 0, bp); in __bnxt_dl_reporter_create()
224 if (IS_ERR(reporter)) { in __bnxt_dl_reporter_create()
226 ops->name, PTR_ERR(reporter)); in __bnxt_dl_reporter_create()
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dreporter_vnic.c113 static int mlx5_reporter_vnic_diagnose(struct devlink_health_reporter *reporter, in mlx5_reporter_vnic_diagnose() argument
117 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_reporter_vnic_diagnose()
/linux-6.15/include/net/
H A Ddevlink.h737 int (*recover)(struct devlink_health_reporter *reporter,
739 int (*dump)(struct devlink_health_reporter *reporter,
742 int (*diagnose)(struct devlink_health_reporter *reporter,
745 int (*test)(struct devlink_health_reporter *reporter,
1927 devl_health_reporter_destroy(struct devlink_health_reporter *reporter);
1930 devlink_health_reporter_destroy(struct devlink_health_reporter *reporter);
1933 devlink_health_reporter_priv(struct devlink_health_reporter *reporter);
1934 int devlink_health_report(struct devlink_health_reporter *reporter,
1937 devlink_health_reporter_state_update(struct devlink_health_reporter *reporter,
1940 devlink_health_reporter_recovery_done(struct devlink_health_reporter *reporter);
/linux-6.15/drivers/net/ethernet/amd/pds_core/
H A Ddevlink.c157 int pdsc_fw_reporter_diagnose(struct devlink_health_reporter *reporter, in pdsc_fw_reporter_diagnose() argument
161 struct pdsc *pdsc = devlink_health_reporter_priv(reporter); in pdsc_fw_reporter_diagnose()
/linux-6.15/Documentation/sphinx/
H A DrstFlatTable.py115 error = self.state_machine.reporter.error(
207 error = self.directive.state_machine.reporter.error(
H A Dkernel_feat.py128 buf = self.state.memo.title_styles, self.state.memo.section_level, self.state.memo.reporter
/linux-6.15/include/linux/
H A Digmp.h85 char reporter; member

12