Home
last modified time | relevance | path

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

123

/openbmc/linux/net/devlink/
H A 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 …]
/openbmc/linux/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
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 …]
H A 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 …]
/openbmc/phosphor-host-postd/
H A Dmain.cpp73 bool rateLimit(PostReporter& reporter, sdeventplus::source::IO& ioSource) in rateLimit() argument
75 if (reporter.rateLimit == 0) in rateLimit()
95 if (++rateLimitCount < reporter.rateLimit) in rateLimit()
198 void PostCodeEventHandler(PostReporter* reporter, sdeventplus::source::IO& s, in PostCodeEventHandler() argument
224 reporter->value(std::make_tuple(code, secondary_post_code_t{}), true); in PostCodeEventHandler()
226 reporter->value(std::make_tuple(code, secondary_post_code_t{})); in PostCodeEventHandler()
233 if (rateLimit(*reporter, s)) in PostCodeEventHandler()
389 PostReporter reporter(bus, snoopObject, deferSignals); in main() local
390 reporter.emit_object_added(); in main()
400 reporter.rateLimit = rateLimit; in main()
[all …]
/openbmc/openbmc/poky/meta/lib/patchtest/tests/
H A Dtest_python_pylint.py39 reporter = TextReporter(pylint_output)
40 lint.Run([self.pylint_options, pythonpatch.path], reporter=reporter, exit=False)
55 reporter = TextReporter(pylint_output)
56 lint.Run([self.pylint_options, pythonpatch.path], reporter=reporter, exit=False)
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/
H A 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 …]
/openbmc/linux/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()
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()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A 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 …]
/openbmc/linux/Documentation/networking/device_drivers/ethernet/marvell/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_tx.c214 static int mlx5e_tx_reporter_recover(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_recover() argument
218 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_recover()
392 mlx5e_tx_reporter_diagnose_common_config(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_diagnose_common_config() argument
395 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose_common_config()
434 static int mlx5e_tx_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_diagnose() argument
438 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose()
448 err = mlx5e_tx_reporter_diagnose_common_config(reporter, fmsg); in mlx5e_tx_reporter_diagnose()
627 static int mlx5e_tx_reporter_dump(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_dump() argument
631 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_dump()
702 struct devlink_health_reporter *reporter; in mlx5e_reporter_tx_create() local
[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()
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 …]
H A 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()
H A Dhealth.h50 struct devlink_health_reporter *reporter, char *err_str,
/openbmc/linux/drivers/staging/qlge/
H A 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()
/openbmc/u-boot/Documentation/sphinx/
H A Dkerneldoc.py120 … buf = self.state.memo.title_styles, self.state.memo.section_level, self.state.memo.reporter
121 self.state.memo.reporter = AutodocReporter(result, self.state.memo.reporter)
126 … self.state.memo.title_styles, self.state.memo.section_level, self.state.memo.reporter = buf
H A DrstFlatTable.py127 error = self.state_machine.reporter.error(
219 error = self.directive.state_machine.reporter.error(
/openbmc/linux/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()
/openbmc/linux/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
/openbmc/linux/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.
84 delay the bug handling. If a reporter wishes to have a CVE identifier
/openbmc/qemu/docs/sphinx/
H A Ddbusdoc.py138 reporter = self.state.document.reporter
141 source, lineno = reporter.get_source_and_line(self.lineno) # type: ignore
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhealth.c452 mlx5_fw_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5_fw_reporter_diagnose() argument
456 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_diagnose()
565 mlx5_fw_reporter_dump(struct devlink_health_reporter *reporter, in mlx5_fw_reporter_dump() argument
569 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_dump()
620 mlx5_fw_fatal_reporter_recover(struct devlink_health_reporter *reporter, in mlx5_fw_fatal_reporter_recover() argument
624 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_recover()
630 mlx5_fw_fatal_reporter_dump(struct devlink_health_reporter *reporter, in mlx5_fw_fatal_reporter_dump() argument
634 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_dump()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A 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 …]
/openbmc/linux/include/net/
H A 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);
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A 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()
/openbmc/linux/drivers/net/ethernet/amd/pds_core/
H A Ddevlink.c153 int pdsc_fw_reporter_diagnose(struct devlink_health_reporter *reporter, in pdsc_fw_reporter_diagnose() argument
157 struct pdsc *pdsc = devlink_health_reporter_priv(reporter); in pdsc_fw_reporter_diagnose()

123