/linux-6.1.9/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-6.1.9/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() 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-6.1.9/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-6.1.9/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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
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() 311 mlx5e_tx_reporter_diagnose_common_config(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_diagnose_common_config() argument 314 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose_common_config() 353 static int mlx5e_tx_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_diagnose() argument 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 [all …]
|
D | reporter_rx.c | 178 static int mlx5e_rx_reporter_recover(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_recover() argument 182 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_recover() 391 mlx5e_rx_reporter_diagnose_common_config(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_diagnose_common_config() argument 394 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_diagnose_common_config() 440 static int mlx5e_rx_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_diagnose() argument 444 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_diagnose() 453 err = mlx5e_rx_reporter_diagnose_common_config(reporter, fmsg); in mlx5e_rx_reporter_diagnose() 658 static int mlx5e_rx_reporter_dump(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_dump() argument 662 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_dump() 740 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 | 49 struct devlink_health_reporter *reporter, char *err_str,
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_devlink.c | 464 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-6.1.9/net/core/ |
D | devlink.c | 7379 devlink_health_reporter_priv(struct devlink_health_reporter *reporter) in devlink_health_reporter_priv() argument 7381 return reporter->priv; in devlink_health_reporter_priv() 7390 struct devlink_health_reporter *reporter; in __devlink_health_reporter_find_by_name() local 7393 list_for_each_entry(reporter, reporter_list, list) in __devlink_health_reporter_find_by_name() 7394 if (!strcmp(reporter->ops->name, reporter_name)) in __devlink_health_reporter_find_by_name() 7395 return reporter; in __devlink_health_reporter_find_by_name() 7422 struct devlink_health_reporter *reporter; in __devlink_health_reporter_create() local 7427 reporter = kzalloc(sizeof(*reporter), GFP_KERNEL); in __devlink_health_reporter_create() 7428 if (!reporter) in __devlink_health_reporter_create() 7431 reporter->priv = priv; in __devlink_health_reporter_create() [all …]
|
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
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()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/ |
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 …]
|
/linux-6.1.9/include/net/ |
D | devlink.h | 694 int (*recover)(struct devlink_health_reporter *reporter, 696 int (*dump)(struct devlink_health_reporter *reporter, 699 int (*diagnose)(struct devlink_health_reporter *reporter, 702 int (*test)(struct devlink_health_reporter *reporter, 1788 devlink_health_reporter_destroy(struct devlink_health_reporter *reporter); 1791 devlink_port_health_reporter_destroy(struct devlink_health_reporter *reporter); 1794 devlink_health_reporter_priv(struct devlink_health_reporter *reporter); 1795 int devlink_health_report(struct devlink_health_reporter *reporter, 1798 devlink_health_reporter_state_update(struct devlink_health_reporter *reporter, 1801 devlink_health_reporter_recovery_done(struct devlink_health_reporter *reporter);
|
/linux-6.1.9/Documentation/sphinx/ |
D | rstFlatTable.py | 115 error = self.state_machine.reporter.error( 207 error = self.directive.state_machine.reporter.error(
|
D | kernel_feat.py | 161 buf = self.state.memo.title_styles, self.state.memo.section_level, self.state.memo.reporter
|
D | cdomain.py | 231 self.state_machine.reporter.warning(
|
D | kfigure.py | 588 return [self.state_machine.reporter.warning( 595 return [self.state_machine.reporter.warning(
|
/linux-6.1.9/include/linux/ |
D | igmp.h | 84 char reporter; member
|
/linux-6.1.9/Documentation/networking/device_drivers/qlogic/ |
D | qlge.rst | 94 $ devlink health dump show DEVICE reporter coredump -p -j
|
/linux-6.1.9/drivers/net/ethernet/huawei/hinic/ |
D | hinic_devlink.c | 450 static int hinic_hw_reporter_dump(struct devlink_health_reporter *reporter, in hinic_hw_reporter_dump() argument 526 static int hinic_fw_reporter_dump(struct devlink_health_reporter *reporter, in hinic_fw_reporter_dump() argument
|
/linux-6.1.9/Documentation/process/ |
D | code-of-conduct.rst | 72 maintain confidentiality with regard to the reporter of an incident.
|