/linux/Documentation/networking/devlink/ |
A D | devlink-health.rst | 25 The ``devlink`` health reporter: 26 Device driver creates a "health reporter" per each error/health type. 59 via ``devlink``, e.g per error type (per health reporter): 72 - Retrieves status and configuration info per DEV and reporter. 74 - Allows reporter-related configuration setting. 76 - Triggers reporter's recovery procedure. 82 - Retrieves current device state related to the reporter. 86 for this reporter, devlink generates a new dump. 87 Dump output is defined by the reporter. 89 - Clears the last saved dump file for the specified reporter. [all …]
|
/linux/net/core/ |
A D | devlink.c | 6757 reporter = kzalloc(sizeof(*reporter), GFP_KERNEL); in __devlink_health_reporter_create() 6758 if (!reporter) in __devlink_health_reporter_create() 7011 err = reporter->ops->recover(reporter, priv_ctx, extack); in devlink_health_reporter_recover() 7053 err = reporter->ops->dump(reporter, reporter->dump_fmsg, in devlink_health_do_dump() 7135 if (reporter) in devlink_health_reporter_get_from_attrs() 7141 if (reporter) in devlink_health_reporter_get_from_attrs() 7205 if (!reporter) in devlink_nl_cmd_health_reporter_get_doit() 7322 if (!reporter) in devlink_nl_cmd_health_reporter_set_doit() 7364 if (!reporter) in devlink_nl_cmd_health_reporter_recover_doit() 7382 if (!reporter) in devlink_nl_cmd_health_reporter_diagnose_doit() [all …]
|
/linux/tools/testing/selftests/drivers/net/netdevsim/ |
A D | devlink.sh | 377 devlink health show $DL_HANDLE reporter empty >/dev/null 380 devlink health dump show $DL_HANDLE reporter empty >/dev/null 383 devlink health diagnose $DL_HANDLE reporter empty >/dev/null 386 devlink health recover $DL_HANDLE reporter empty 450 devlink health dump clear $DL_HANDLE reporter dummy 453 devlink health recover $DL_HANDLE reporter dummy 458 devlink health set $DL_HANDLE reporter dummy auto_recover true 475 devlink health set $DL_HANDLE reporter dummy grace_period 10 488 devlink health recover $DL_HANDLE reporter dummy 494 devlink health recover $DL_HANDLE reporter dummy [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/marvell/ |
A D | octeontx2.rst | 191 reporter hw_npa_intr 193 reporter hw_npa_gen 195 reporter hw_npa_err 197 reporter hw_npa_ras 200 Each reporter dumps the 255 reporter hw_npa_gen 257 reporter hw_npa_err 259 reporter hw_npa_ras 263 reporter hw_nix_gen 265 reporter hw_nix_err [all …]
|
/linux/drivers/net/netdevsim/ |
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()
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
A D | rvu_devlink.c | 467 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_intr_dump() 480 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_intr_recover() 498 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_gen_dump() 511 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_gen_recover() 529 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_err_dump() 542 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_err_recover() 560 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_ras_dump() 573 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_ras_recover() 1110 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_npa_intr_dump() 1123 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_npa_intr_recover() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | reporter_tx.c | 137 static int mlx5e_tx_reporter_recover(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_recover() argument 141 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_recover() 314 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose_common_config() 357 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose() 367 err = mlx5e_tx_reporter_diagnose_common_config(reporter, fmsg); in mlx5e_tx_reporter_diagnose() 537 static int mlx5e_tx_reporter_dump(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_dump() argument 541 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_dump() 594 struct devlink_health_reporter *reporter; in mlx5e_reporter_tx_create() local 598 if (IS_ERR(reporter)) { in mlx5e_reporter_tx_create() 601 PTR_ERR(reporter)); in mlx5e_reporter_tx_create() [all …]
|
A D | reporter_rx.c | 196 static int mlx5e_rx_reporter_recover(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_recover() argument 200 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_recover() 412 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_diagnose_common_config() 462 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_diagnose() 471 err = mlx5e_rx_reporter_diagnose_common_config(reporter, fmsg); in mlx5e_rx_reporter_diagnose() 672 static int mlx5e_rx_reporter_dump(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_dump() argument 676 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_dump() 754 struct devlink_health_reporter *reporter; in mlx5e_reporter_rx_create() local 758 if (IS_ERR(reporter)) { in mlx5e_reporter_rx_create() 760 PTR_ERR(reporter)); in mlx5e_reporter_rx_create() [all …]
|
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()
|
A D | health.h | 49 struct devlink_health_reporter *reporter, char *err_str,
|
/linux/drivers/staging/qlge/ |
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()
|
/linux/Documentation/admin-guide/ |
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. 76 the security team can assist with this coordination, or the reporter can 86 may delay the bug handling. If a reporter wishes to have a CVE identifier 90 message if the reporter agrees.
|
/linux/drivers/net/ethernet/qlogic/qed/ |
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()
|
/linux/Documentation/networking/device_drivers/ethernet/mellanox/ |
A D | mlx5.rst | 463 tx reporter 481 $ devlink health diagnose pci/0000:82:00.0 reporter tx 488 $ devlink health show pci/0000:82:00.0 reporter tx 490 rx reporter 508 $ devlink health diagnose pci/0000:82:00.0 reporter rx 515 $ devlink health show pci/0000:82:00.0 reporter rx 517 fw reporter 519 The fw reporter implements diagnose and dump callbacks. 529 $ devlink health diagnose pci/0000:82:00.0 reporter fw 533 $ devlink health dump show pci/0000:82:00.0 reporter fw [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | health.c | 448 mlx5_fw_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5_fw_reporter_diagnose() argument 452 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_diagnose() 561 mlx5_fw_reporter_dump(struct devlink_health_reporter *reporter, in mlx5_fw_reporter_dump() argument 565 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_dump() 616 mlx5_fw_fatal_reporter_recover(struct devlink_health_reporter *reporter, in mlx5_fw_fatal_reporter_recover() argument 620 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_recover() 626 mlx5_fw_fatal_reporter_dump(struct devlink_health_reporter *reporter, in mlx5_fw_fatal_reporter_dump() argument 630 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_dump()
|
/linux/include/net/ |
A D | devlink.h | 673 int (*recover)(struct devlink_health_reporter *reporter, 675 int (*dump)(struct devlink_health_reporter *reporter, 678 int (*diagnose)(struct devlink_health_reporter *reporter, 681 int (*test)(struct devlink_health_reporter *reporter, 1672 devlink_health_reporter_destroy(struct devlink_health_reporter *reporter); 1675 devlink_port_health_reporter_destroy(struct devlink_health_reporter *reporter); 1678 devlink_health_reporter_priv(struct devlink_health_reporter *reporter); 1679 int devlink_health_report(struct devlink_health_reporter *reporter, 1682 devlink_health_reporter_state_update(struct devlink_health_reporter *reporter, 1685 devlink_health_reporter_recovery_done(struct devlink_health_reporter *reporter);
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_devlink.c | 98 static int bnxt_fw_diagnose(struct devlink_health_reporter *reporter, in bnxt_fw_diagnose() argument 102 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_diagnose() 181 static int bnxt_fw_dump(struct devlink_health_reporter *reporter, in bnxt_fw_dump() argument 185 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_dump() 221 static int bnxt_fw_recover(struct devlink_health_reporter *reporter, in bnxt_fw_recover() argument 225 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_recover()
|
/linux/Documentation/sphinx/ |
A D | rstFlatTable.py | 115 error = self.state_machine.reporter.error( 207 error = self.directive.state_machine.reporter.error(
|
A D | kfigure.py | 478 return [self.state_machine.reporter.warning( 485 return [self.state_machine.reporter.warning(
|
A D | kernel_feat.py | 145 buf = self.state.memo.title_styles, self.state.memo.section_level, self.state.memo.reporter
|
A D | cdomain.py | 231 self.state_machine.reporter.warning(
|
/linux/include/linux/ |
A D | igmp.h | 84 char reporter; member
|
/linux/Documentation/networking/device_drivers/qlogic/ |
A D | qlge.rst | 94 $ devlink health dump show DEVICE reporter coredump -p -j
|
/linux/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_devlink.c | 452 static int hinic_hw_reporter_dump(struct devlink_health_reporter *reporter, in hinic_hw_reporter_dump() argument 528 static int hinic_fw_reporter_dump(struct devlink_health_reporter *reporter, in hinic_fw_reporter_dump() argument
|
/linux/Documentation/process/ |
A D | code-of-conduct.rst | 72 maintain confidentiality with regard to the reporter of an incident.
|