| /Linux-v5.15/Documentation/networking/devlink/ |
| 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 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 58 User can access/change each reporter's parameters and driver specific callbacks 59 via ``devlink``, e.g per error type (per health reporter): 61 * Configure reporter's generic parameters (like: disable/enable auto recovery) 72 - Retrieves status and configuration info per DEV and reporter. [all …]
|
| /Linux-v5.15/tools/testing/selftests/drivers/net/netdevsim/ |
| 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 401 local show=$(devlink health show $DL_HANDLE reporter $name -j | jq -e -r ".[][][]") 432 devlink health set $DL_HANDLE reporter dummy auto_recover false 443 local dump=$(devlink health dump show $DL_HANDLE reporter dummy -j) 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 [all …]
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | reporter_tx.c | 134 static int mlx5e_tx_reporter_recover(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_recover() argument 138 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_recover() 308 mlx5e_tx_reporter_diagnose_common_config(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_diagnose_common_config() argument 311 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose_common_config() 350 static int mlx5e_tx_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_diagnose() argument 354 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose() 364 err = mlx5e_tx_reporter_diagnose_common_config(reporter, fmsg); in mlx5e_tx_reporter_diagnose() 526 static int mlx5e_tx_reporter_dump(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_dump() argument 530 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_dump() 583 struct devlink_health_reporter *reporter; in mlx5e_reporter_tx_create() local [all …]
|
| D | reporter_rx.c | 170 static int mlx5e_rx_reporter_recover(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_recover() argument 174 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_recover() 383 mlx5e_rx_reporter_diagnose_common_config(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_diagnose_common_config() argument 386 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_diagnose_common_config() 432 static int mlx5e_rx_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_diagnose() argument 436 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_diagnose() 445 err = mlx5e_rx_reporter_diagnose_common_config(reporter, fmsg); in mlx5e_rx_reporter_diagnose() 646 static int mlx5e_rx_reporter_dump(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_dump() argument 650 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_dump() 718 struct devlink_health_reporter *reporter; in mlx5e_reporter_rx_create() local [all …]
|
| 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()
|
| D | health.h | 48 struct devlink_health_reporter *reporter, char *err_str,
|
| /Linux-v5.15/drivers/net/netdevsim/ |
| 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() 186 nsim_dev_dummy_reporter_dump(struct devlink_health_reporter *reporter, in nsim_dev_dummy_reporter_dump() argument 190 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); in nsim_dev_dummy_reporter_dump() 204 nsim_dev_dummy_reporter_diagnose(struct devlink_health_reporter *reporter, in nsim_dev_dummy_reporter_diagnose() argument 208 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); in nsim_dev_dummy_reporter_diagnose()
|
| /Linux-v5.15/Documentation/networking/device_drivers/ethernet/marvell/ |
| 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 208 ~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_gen 212 ~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_intr 216 ~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_err 253 reporter hw_npa_intr 255 reporter hw_npa_gen [all …]
|
| /Linux-v5.15/net/core/ |
| D | devlink.c | 6665 devlink_health_reporter_priv(struct devlink_health_reporter *reporter) in devlink_health_reporter_priv() argument 6667 return reporter->priv; in devlink_health_reporter_priv() 6676 struct devlink_health_reporter *reporter; in __devlink_health_reporter_find_by_name() local 6679 list_for_each_entry(reporter, reporter_list, list) in __devlink_health_reporter_find_by_name() 6680 if (!strcmp(reporter->ops->name, reporter_name)) in __devlink_health_reporter_find_by_name() 6681 return reporter; in __devlink_health_reporter_find_by_name() 6708 struct devlink_health_reporter *reporter; in __devlink_health_reporter_create() local 6713 reporter = kzalloc(sizeof(*reporter), GFP_KERNEL); in __devlink_health_reporter_create() 6714 if (!reporter) in __devlink_health_reporter_create() 6717 reporter->priv = priv; in __devlink_health_reporter_create() [all …]
|
| /Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/ |
| D | rvu_devlink.c | 463 static int rvu_hw_nix_intr_dump(struct devlink_health_reporter *reporter, in rvu_hw_nix_intr_dump() argument 467 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_intr_dump() 477 static int rvu_hw_nix_intr_recover(struct devlink_health_reporter *reporter, in rvu_hw_nix_intr_recover() argument 480 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_intr_recover() 494 static int rvu_hw_nix_gen_dump(struct devlink_health_reporter *reporter, in rvu_hw_nix_gen_dump() argument 498 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_gen_dump() 508 static int rvu_hw_nix_gen_recover(struct devlink_health_reporter *reporter, in rvu_hw_nix_gen_recover() argument 511 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_gen_recover() 525 static int rvu_hw_nix_err_dump(struct devlink_health_reporter *reporter, in rvu_hw_nix_err_dump() argument 529 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_err_dump() [all …]
|
| /Linux-v5.15/drivers/staging/qlge/ |
| 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-v5.15/Documentation/admin-guide/ |
| 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-v5.15/drivers/net/ethernet/qlogic/qed/ |
| 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-v5.15/Documentation/networking/device_drivers/ethernet/mellanox/ |
| D | mlx5.rst | 463 tx reporter 465 The tx reporter is responsible for reporting and recovering of the following two error scenarios: 474 TX reporter also support on demand diagnose callback, on which it provides 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 492 The rx reporter is responsible for reporting and recovering of the following two error scenarios: 503 RX reporter also supports on demand diagnose callback, on which it 508 $ devlink health diagnose pci/0000:82:00.0 reporter rx 515 $ devlink health show pci/0000:82:00.0 reporter rx [all …]
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | health.c | 405 mlx5_fw_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5_fw_reporter_diagnose() argument 409 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_diagnose() 507 mlx5_fw_reporter_dump(struct devlink_health_reporter *reporter, in mlx5_fw_reporter_dump() argument 511 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_dump() 562 mlx5_fw_fatal_reporter_recover(struct devlink_health_reporter *reporter, in mlx5_fw_fatal_reporter_recover() argument 566 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_recover() 572 mlx5_fw_fatal_reporter_dump(struct devlink_health_reporter *reporter, in mlx5_fw_fatal_reporter_dump() argument 576 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_dump()
|
| /Linux-v5.15/include/net/ |
| D | devlink.h | 712 int (*recover)(struct devlink_health_reporter *reporter, 714 int (*dump)(struct devlink_health_reporter *reporter, 717 int (*diagnose)(struct devlink_health_reporter *reporter, 720 int (*test)(struct devlink_health_reporter *reporter, 1758 devlink_health_reporter_destroy(struct devlink_health_reporter *reporter); 1761 devlink_port_health_reporter_destroy(struct devlink_health_reporter *reporter); 1764 devlink_health_reporter_priv(struct devlink_health_reporter *reporter); 1765 int devlink_health_report(struct devlink_health_reporter *reporter, 1768 devlink_health_reporter_state_update(struct devlink_health_reporter *reporter, 1771 devlink_health_reporter_recovery_done(struct devlink_health_reporter *reporter);
|
| /Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt_devlink.c | 43 static int bnxt_fw_reporter_diagnose(struct devlink_health_reporter *reporter, in bnxt_fw_reporter_diagnose() argument 47 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_reporter_diagnose() 87 static int bnxt_fw_reset_recover(struct devlink_health_reporter *reporter, in bnxt_fw_reset_recover() argument 91 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_reset_recover() 106 static int bnxt_fw_fatal_recover(struct devlink_health_reporter *reporter, in bnxt_fw_fatal_recover() argument 110 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_fatal_recover()
|
| /Linux-v5.15/Documentation/sphinx/ |
| D | rstFlatTable.py | 115 error = self.state_machine.reporter.error( 207 error = self.directive.state_machine.reporter.error(
|
| D | kernel_feat.py | 145 buf = self.state.memo.title_styles, self.state.memo.section_level, self.state.memo.reporter
|
| D | kfigure.py | 478 return [self.state_machine.reporter.warning( 485 return [self.state_machine.reporter.warning(
|
| D | cdomain.py | 231 self.state_machine.reporter.warning(
|
| /Linux-v5.15/include/linux/ |
| D | igmp.h | 84 char reporter; member
|
| /Linux-v5.15/Documentation/networking/device_drivers/qlogic/ |
| D | qlge.rst | 94 $ devlink health dump show DEVICE reporter coredump -p -j
|
| /Linux-v5.15/drivers/net/ethernet/huawei/hinic/ |
| 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-v5.15/Documentation/process/ |
| D | code-of-conduct.rst | 72 maintain confidentiality with regard to the reporter of an incident.
|