Home
last modified time | relevance | path

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

12

/Linux-v6.6/net/devlink/
Dhealth.c73 devlink_health_reporter_priv(struct devlink_health_reporter *reporter) in devlink_health_reporter_priv() argument
75 return reporter->priv; in devlink_health_reporter_priv()
83 struct devlink_health_reporter *reporter; in __devlink_health_reporter_find_by_name() local
85 list_for_each_entry(reporter, reporter_list, list) in __devlink_health_reporter_find_by_name()
86 if (!strcmp(reporter->ops->name, reporter_name)) in __devlink_health_reporter_find_by_name()
87 return reporter; in __devlink_health_reporter_find_by_name()
112 struct devlink_health_reporter *reporter; in __devlink_health_reporter_create() local
117 reporter = kzalloc(sizeof(*reporter), GFP_KERNEL); in __devlink_health_reporter_create()
118 if (!reporter) in __devlink_health_reporter_create()
121 reporter->priv = priv; in __devlink_health_reporter_create()
[all …]
/Linux-v6.6/Documentation/networking/devlink/
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
31 Device driver can provide specific callbacks for each "health reporter", e.g.:
47 * Health status and statistics are being updated for the reporter instance
48 * Object dump is being taken and saved at the reporter instance (as long as
77 User can access/change each reporter's parameters and driver specific callbacks
78 via ``devlink``, e.g per error type (per health reporter):
80 * Configure reporter's generic parameters (like: disable/enable auto recovery)
91 - Retrieves status and configuration info per DEV and reporter.
[all …]
Dmlx5.rst136 tx reporter
138 The tx reporter is responsible for reporting and recovering of the following three error scenarios:
150 tx reporter also support on demand diagnose callback, on which it provides
157 $ devlink health diagnose pci/0000:82:00.0 reporter tx
165 $ devlink health show pci/0000:82:00.0 reporter tx
167 rx reporter
169 The rx reporter is responsible for reporting and recovering of the following two error scenarios:
180 rx reporter also supports on demand diagnose callback, on which it
185 $ devlink health diagnose pci/0000:82:00.0 reporter rx
193 $ devlink health show pci/0000:82:00.0 reporter rx
[all …]
/Linux-v6.6/drivers/net/netdevsim/
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()
154 nsim_dev_dummy_reporter_dump(struct devlink_health_reporter *reporter, in nsim_dev_dummy_reporter_dump() argument
158 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); in nsim_dev_dummy_reporter_dump()
172 nsim_dev_dummy_reporter_diagnose(struct devlink_health_reporter *reporter, in nsim_dev_dummy_reporter_diagnose() argument
176 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); in nsim_dev_dummy_reporter_diagnose()
/Linux-v6.6/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink.sh395 devlink health show $DL_HANDLE reporter empty >/dev/null
398 devlink health dump show $DL_HANDLE reporter empty >/dev/null
401 devlink health diagnose $DL_HANDLE reporter empty >/dev/null
404 devlink health recover $DL_HANDLE reporter empty
419 local show=$(devlink health show $DL_HANDLE reporter $name -j | jq -e -r ".[][][]")
450 devlink health set $DL_HANDLE reporter dummy auto_recover false
461 local dump=$(devlink health dump show $DL_HANDLE reporter dummy -j)
468 devlink health dump clear $DL_HANDLE reporter dummy
471 devlink health recover $DL_HANDLE reporter dummy
476 devlink health set $DL_HANDLE reporter dummy auto_recover true
[all …]
/Linux-v6.6/Documentation/networking/device_drivers/ethernet/marvell/
Docteontx2.rst192 reporter hw_npa_intr
194 reporter hw_npa_gen
196 reporter hw_npa_err
198 reporter hw_npa_ras
201 Each reporter dumps the
209 ~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_gen
213 ~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_intr
217 ~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_err
254 reporter hw_npa_intr
256 reporter hw_npa_gen
[all …]
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_devlink.c464 static int rvu_hw_nix_intr_dump(struct devlink_health_reporter *reporter, in rvu_hw_nix_intr_dump() argument
468 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_intr_dump()
478 static int rvu_hw_nix_intr_recover(struct devlink_health_reporter *reporter, in rvu_hw_nix_intr_recover() argument
481 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_intr_recover()
495 static int rvu_hw_nix_gen_dump(struct devlink_health_reporter *reporter, in rvu_hw_nix_gen_dump() argument
499 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_gen_dump()
509 static int rvu_hw_nix_gen_recover(struct devlink_health_reporter *reporter, in rvu_hw_nix_gen_recover() argument
512 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_gen_recover()
526 static int rvu_hw_nix_err_dump(struct devlink_health_reporter *reporter, in rvu_hw_nix_err_dump() argument
530 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_err_dump()
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dreporter_tx.c212 static int mlx5e_tx_reporter_recover(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_recover() argument
216 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_recover()
390 mlx5e_tx_reporter_diagnose_common_config(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_diagnose_common_config() argument
393 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose_common_config()
432 static int mlx5e_tx_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_diagnose() argument
436 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose()
446 err = mlx5e_tx_reporter_diagnose_common_config(reporter, fmsg); in mlx5e_tx_reporter_diagnose()
625 static int mlx5e_tx_reporter_dump(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_dump() argument
629 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_dump()
700 struct devlink_health_reporter *reporter; in mlx5e_reporter_tx_create() local
[all …]
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()
425 mlx5e_rx_reporter_diagnose_common_config(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_diagnose_common_config() argument
428 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_diagnose_common_config()
474 static int mlx5e_rx_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_diagnose() argument
478 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_diagnose()
487 err = mlx5e_rx_reporter_diagnose_common_config(reporter, fmsg); in mlx5e_rx_reporter_diagnose()
692 static int mlx5e_rx_reporter_dump(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_dump() argument
696 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_dump()
773 struct devlink_health_reporter *reporter; in mlx5e_reporter_rx_create() local
[all …]
Dhealth.c226 struct devlink_health_reporter *reporter, char *err_str, in mlx5e_health_report() argument
231 if (!reporter) in mlx5e_health_report()
234 return devlink_health_report(reporter, err_str, err_ctx); in mlx5e_health_report()
Dhealth.h50 struct devlink_health_reporter *reporter, char *err_str,
/Linux-v6.6/drivers/staging/qlge/
Dqlge_devlink.c51 static int qlge_reporter_coredump(struct devlink_health_reporter *reporter, in qlge_reporter_coredump() argument
57 struct qlge_adapter *qdev = devlink_health_reporter_priv(reporter); in qlge_reporter_coredump()
157 priv->reporter = in qlge_health_create_reporters()
160 if (IS_ERR(priv->reporter)) { in qlge_health_create_reporters()
161 err = PTR_ERR(priv->reporter); in qlge_health_create_reporters()
/Linux-v6.6/drivers/net/ethernet/qlogic/qed/
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-v6.6/Documentation/networking/device_drivers/ethernet/amd/
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-v6.6/Documentation/process/
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.
84 delay the bug handling. If a reporter wishes to have a CVE identifier
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Dhealth.c444 mlx5_fw_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5_fw_reporter_diagnose() argument
448 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_diagnose()
557 mlx5_fw_reporter_dump(struct devlink_health_reporter *reporter, in mlx5_fw_reporter_dump() argument
561 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_dump()
612 mlx5_fw_fatal_reporter_recover(struct devlink_health_reporter *reporter, in mlx5_fw_fatal_reporter_recover() argument
616 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_recover()
622 mlx5_fw_fatal_reporter_dump(struct devlink_health_reporter *reporter, in mlx5_fw_fatal_reporter_dump() argument
626 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_dump()
Den_rep.c1359 mlx5e_rep_vnic_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5e_rep_vnic_reporter_diagnose() argument
1363 struct mlx5e_rep_priv *rpriv = devlink_health_reporter_priv(reporter); in mlx5e_rep_vnic_reporter_diagnose()
1379 struct devlink_health_reporter *reporter; in mlx5e_rep_vnic_reporter_create() local
1381 reporter = devl_port_health_reporter_create(dl_port, in mlx5e_rep_vnic_reporter_create()
1384 if (IS_ERR(reporter)) { in mlx5e_rep_vnic_reporter_create()
1387 PTR_ERR(reporter)); in mlx5e_rep_vnic_reporter_create()
1391 rpriv->rep_vnic_reporter = reporter; in mlx5e_rep_vnic_reporter_create()
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_devlink.c100 static int bnxt_fw_diagnose(struct devlink_health_reporter *reporter, in bnxt_fw_diagnose() argument
104 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_diagnose()
183 static int bnxt_fw_dump(struct devlink_health_reporter *reporter, in bnxt_fw_dump() argument
187 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_dump()
223 static int bnxt_fw_recover(struct devlink_health_reporter *reporter, in bnxt_fw_recover() argument
227 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_recover()
249 struct devlink_health_reporter *reporter; in __bnxt_dl_reporter_create() local
251 reporter = devlink_health_reporter_create(bp->dl, ops, 0, bp); in __bnxt_dl_reporter_create()
252 if (IS_ERR(reporter)) { in __bnxt_dl_reporter_create()
254 ops->name, PTR_ERR(reporter)); in __bnxt_dl_reporter_create()
[all …]
/Linux-v6.6/include/net/
Ddevlink.h732 int (*recover)(struct devlink_health_reporter *reporter,
734 int (*dump)(struct devlink_health_reporter *reporter,
737 int (*diagnose)(struct devlink_health_reporter *reporter,
740 int (*test)(struct devlink_health_reporter *reporter,
1906 devl_health_reporter_destroy(struct devlink_health_reporter *reporter);
1909 devlink_health_reporter_destroy(struct devlink_health_reporter *reporter);
1912 devlink_health_reporter_priv(struct devlink_health_reporter *reporter);
1913 int devlink_health_report(struct devlink_health_reporter *reporter,
1916 devlink_health_reporter_state_update(struct devlink_health_reporter *reporter,
1919 devlink_health_reporter_recovery_done(struct devlink_health_reporter *reporter);
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dreporter_vnic.c118 static int mlx5_reporter_vnic_diagnose(struct devlink_health_reporter *reporter, in mlx5_reporter_vnic_diagnose() argument
122 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_reporter_vnic_diagnose()
/Linux-v6.6/drivers/net/ethernet/amd/pds_core/
Ddevlink.c152 int pdsc_fw_reporter_diagnose(struct devlink_health_reporter *reporter, in pdsc_fw_reporter_diagnose() argument
156 struct pdsc *pdsc = devlink_health_reporter_priv(reporter); in pdsc_fw_reporter_diagnose()
/Linux-v6.6/Documentation/sphinx/
DrstFlatTable.py115 error = self.state_machine.reporter.error(
207 error = self.directive.state_machine.reporter.error(
Dkernel_feat.py161 buf = self.state.memo.title_styles, self.state.memo.section_level, self.state.memo.reporter
/Linux-v6.6/include/linux/
Digmp.h85 char reporter; member
/Linux-v6.6/Documentation/networking/device_drivers/qlogic/
Dqlge.rst94 $ devlink health dump show DEVICE reporter coredump -p -j

12