/openbmc/linux/net/devlink/ |
H A D | health.c | 117 reporter = kzalloc(sizeof(*reporter), GFP_KERNEL); in __devlink_health_reporter_create() 118 if (!reporter) in __devlink_health_reporter_create() 127 return reporter; in __devlink_health_reporter_create() 159 return reporter; in devl_port_health_reporter_create() 175 return reporter; in devlink_port_health_reporter_create() 365 if (!reporter) in devlink_nl_health_reporter_get_doit() 461 if (!reporter) in devlink_nl_cmd_health_reporter_set_doit() 532 err = reporter->ops->recover(reporter, priv_ctx, extack); in devlink_health_reporter_recover() 574 err = reporter->ops->dump(reporter, reporter->dump_fmsg, in devlink_health_do_dump() 667 if (!reporter) in devlink_nl_cmd_health_reporter_recover_doit() [all …]
|
/openbmc/linux/Documentation/networking/devlink/ |
H A D | devlink-health.rst | 25 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 D | mlx5.rst | 136 tx reporter 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 185 $ devlink health diagnose pci/0000:82:00.0 reporter rx 193 $ devlink health show pci/0000:82:00.0 reporter rx 195 fw reporter 207 $ devlink health diagnose pci/0000:82:00.0 reporter fw 217 fw fatal reporter 241 vnic reporter [all …]
|
/openbmc/openbmc/poky/meta/lib/patchtest/tests/ |
H A D | test_python_pylint.py | 39 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/phosphor-host-postd/ |
H A D | main.cpp | 73 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 219 reporter->value(std::make_tuple(~code, secondary_post_code_t{}), true); in PostCodeEventHandler() 220 reporter->value(std::make_tuple(code, secondary_post_code_t{})); in PostCodeEventHandler() 226 if (rateLimit(*reporter, s)) in PostCodeEventHandler() 382 PostReporter reporter(bus, snoopObject, deferSignals); in main() local 383 reporter.emit_object_added(); in main() 393 reporter.rateLimit = rateLimit; in main() [all …]
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | health.c | 12 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/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | devlink.sh | 395 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 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 493 devlink health set $DL_HANDLE reporter dummy grace_period 10 506 devlink health recover $DL_HANDLE reporter dummy 512 devlink health recover $DL_HANDLE reporter dummy [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/marvell/ |
H A D | octeontx2.rst | 192 reporter hw_npa_intr 194 reporter hw_npa_gen 196 reporter hw_npa_err 198 reporter hw_npa_ras 201 Each reporter dumps the 256 reporter hw_npa_gen 258 reporter hw_npa_err 260 reporter hw_npa_ras 264 reporter hw_nix_gen 266 reporter hw_nix_err [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_devlink.c | 468 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_intr_dump() 481 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_intr_recover() 499 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_gen_dump() 512 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_gen_recover() 530 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_err_dump() 543 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_err_recover() 561 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_ras_dump() 574 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_ras_recover() 1108 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_npa_intr_dump() 1121 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_npa_intr_recover() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | reporter_tx.c | 216 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_recover() 393 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose_common_config() 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 702 reporter = devlink_port_health_reporter_create(priv->netdev->devlink_port, in mlx5e_reporter_tx_create() 705 if (IS_ERR(reporter)) { in mlx5e_reporter_tx_create() 708 PTR_ERR(reporter)); in mlx5e_reporter_tx_create() [all …]
|
H A D | reporter_rx.c | 191 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() 428 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_diagnose_common_config() 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 778 if (IS_ERR(reporter)) { in mlx5e_reporter_rx_create() 780 PTR_ERR(reporter)); in mlx5e_reporter_rx_create() [all …]
|
H A D | health.c | 226 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()
|
/openbmc/linux/drivers/staging/qlge/ |
H A D | qlge_devlink.c | 51 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/qemu/docs/sphinx/ |
H A D | hxtool.py | 176 save = self.state.memo.reporter 177 self.state.memo.reporter = AutodocReporter(result, self.state.memo.reporter) 181 self.state.memo.reporter = save
|
H A D | kerneldoc.py | 161 … save = self.state.memo.title_styles, self.state.memo.section_level, self.state.memo.reporter 162 self.state.memo.reporter = AutodocReporter(result, self.state.memo.reporter) 167 … self.state.memo.title_styles, self.state.memo.section_level, self.state.memo.reporter = save
|
H A D | dbusdoc.py | 138 reporter = self.state.document.reporter 141 source, lineno = reporter.get_source_and_line(self.lineno) # type: ignore
|
/openbmc/u-boot/Documentation/sphinx/ |
H A D | kerneldoc.py | 120 … 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
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_devlink.c | 37 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 D | pds_core.rst | 108 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 D | security-bugs.rst | 26 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/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | health.c | 452 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 D | bnxt_devlink.c | 100 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/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | reporter_vnic.c | 118 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/Documentation/netlink/specs/ |
H A D | devlink.yaml | 109 name: health-reporter-name 500 name: health-reporter-get 501 doc: Get health reporter instances. 510 attributes: &health-reporter-id-attrs 514 - health-reporter-name 515 reply: &health-reporter-get-reply 516 attributes: *health-reporter-id-attrs 520 reply: *health-reporter-get-reply
|
/openbmc/linux/include/net/ |
H A D | devlink.h | 732 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);
|