/linux/net/devlink/ |
H A D | health.c | 118 reporter = kzalloc(sizeof(*reporter), GFP_KERNEL); in __devlink_health_reporter_create() 119 if (!reporter) in __devlink_health_reporter_create() 128 return reporter; in __devlink_health_reporter_create() 160 return reporter; in devl_port_health_reporter_create() 176 return reporter; in devlink_port_health_reporter_create() 366 if (!reporter) in devlink_nl_health_reporter_get_doit() 462 if (!reporter) in devlink_nl_health_reporter_set_doit() 539 err = reporter->ops->recover(reporter, priv_ctx, extack); in devlink_health_reporter_recover() 577 err = reporter->ops->dump(reporter, reporter->dump_fmsg, in devlink_health_do_dump() 671 if (!reporter) in devlink_nl_health_reporter_recover_doit() [all …]
|
/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 | 140 tx reporter 161 $ devlink health diagnose pci/0000:82:00.0 reporter tx 169 $ devlink health show pci/0000:82:00.0 reporter tx 171 rx reporter 189 $ devlink health diagnose pci/0000:82:00.0 reporter rx 197 $ devlink health show pci/0000:82:00.0 reporter rx 199 fw reporter 211 $ devlink health diagnose pci/0000:82:00.0 reporter fw 221 fw fatal reporter 245 vnic reporter [all …]
|
/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() 108 nsim_dev_dummy_reporter_dump(struct devlink_health_reporter *reporter, in nsim_dev_dummy_reporter_dump() argument 112 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); in nsim_dev_dummy_reporter_dump() 122 nsim_dev_dummy_reporter_diagnose(struct devlink_health_reporter *reporter, in nsim_dev_dummy_reporter_diagnose() argument 126 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); in nsim_dev_dummy_reporter_diagnose()
|
/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | devlink.sh | 402 devlink health show $DL_HANDLE reporter empty >/dev/null 405 devlink health dump show $DL_HANDLE reporter empty >/dev/null 408 devlink health diagnose $DL_HANDLE reporter empty >/dev/null 411 devlink health recover $DL_HANDLE reporter empty 475 devlink health dump clear $DL_HANDLE reporter dummy 478 devlink health recover $DL_HANDLE reporter dummy 483 devlink health set $DL_HANDLE reporter dummy auto_recover true 500 devlink health set $DL_HANDLE reporter dummy grace_period 10 513 devlink health recover $DL_HANDLE reporter dummy 519 devlink health recover $DL_HANDLE reporter dummy [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | reporter_tx.c | 217 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_recover() 300 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose_common_config() 324 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose() 334 mlx5e_tx_reporter_diagnose_common_config(reporter, fmsg); in mlx5e_tx_reporter_diagnose() 459 static int mlx5e_tx_reporter_dump(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_dump() argument 463 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_dump() 534 struct devlink_health_reporter *reporter; in mlx5e_reporter_tx_create() local 536 reporter = devlink_port_health_reporter_create(priv->netdev->devlink_port, in mlx5e_reporter_tx_create() 539 if (IS_ERR(reporter)) { in mlx5e_reporter_tx_create() 542 PTR_ERR(reporter)); in mlx5e_reporter_tx_create() [all …]
|
H A D | reporter_rx.c | 195 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_recover() 323 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_diagnose_common_config() 347 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_diagnose() 356 mlx5e_rx_reporter_diagnose_common_config(reporter, fmsg); in mlx5e_rx_reporter_diagnose() 482 static int mlx5e_rx_reporter_dump(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_dump() argument 486 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_dump() 563 struct devlink_health_reporter *reporter; in mlx5e_reporter_rx_create() local 565 reporter = devlink_port_health_reporter_create(priv->netdev->devlink_port, in mlx5e_reporter_rx_create() 568 if (IS_ERR(reporter)) { in mlx5e_reporter_rx_create() 570 PTR_ERR(reporter)); in mlx5e_reporter_rx_create() [all …]
|
H A D | health.c | 151 struct devlink_health_reporter *reporter, char *err_str, in mlx5e_health_report() argument 156 if (!reporter) in mlx5e_health_report() 159 return devlink_health_report(reporter, err_str, err_ctx); in mlx5e_health_report()
|
H A D | health.h | 50 struct devlink_health_reporter *reporter, char *err_str,
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_devlink.c | 364 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_intr_dump() 377 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_intr_recover() 395 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_gen_dump() 408 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_gen_recover() 426 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_err_dump() 439 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_err_recover() 457 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_ras_dump() 470 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_ras_recover() 910 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_npa_intr_dump() 923 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_npa_intr_recover() [all …]
|
/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 …]
|
/linux/Documentation/netlink/specs/ |
H A D | devlink.yaml | 599 name: health-reporter 604 name: health-reporter-name 607 name: health-reporter-state 1166 name: dl-health-reporter 1170 name: health-reporter-name 1172 name: health-reporter-state 1875 name: health-reporter-get 1887 - health-reporter-name 1896 name: health-reporter-set 1909 - health-reporter-name [all …]
|
/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()
|
/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
|
/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. 85 As such, the kernel security team strongly recommends that as a reporter 101 delay the bug handling. If a reporter wishes to have a CVE identifier
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | health.c | 454 mlx5_fw_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5_fw_reporter_diagnose() argument 458 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_diagnose() 521 mlx5_fw_reporter_dump(struct devlink_health_reporter *reporter, in mlx5_fw_reporter_dump() argument 525 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_dump() 578 mlx5_fw_fatal_reporter_recover(struct devlink_health_reporter *reporter, in mlx5_fw_fatal_reporter_recover() argument 582 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_recover() 588 mlx5_fw_fatal_reporter_dump(struct devlink_health_reporter *reporter, in mlx5_fw_fatal_reporter_dump() argument 592 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_dump()
|
H A D | en_rep.c | 1410 mlx5e_rep_vnic_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5e_rep_vnic_reporter_diagnose() argument 1414 struct mlx5e_rep_priv *rpriv = devlink_health_reporter_priv(reporter); in mlx5e_rep_vnic_reporter_diagnose() 1431 struct devlink_health_reporter *reporter; in mlx5e_rep_vnic_reporter_create() local 1433 reporter = devl_port_health_reporter_create(dl_port, in mlx5e_rep_vnic_reporter_create() 1436 if (IS_ERR(reporter)) { in mlx5e_rep_vnic_reporter_create() 1439 PTR_ERR(reporter)); in mlx5e_rep_vnic_reporter_create() 1443 rpriv->rep_vnic_reporter = reporter; in mlx5e_rep_vnic_reporter_create()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | reporter_vnic.c | 67 static int mlx5_reporter_vnic_diagnose(struct devlink_health_reporter *reporter, in mlx5_reporter_vnic_diagnose() argument 71 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_reporter_vnic_diagnose()
|
/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() 161 static int bnxt_fw_dump(struct devlink_health_reporter *reporter, in bnxt_fw_dump() argument 165 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_dump() 194 static int bnxt_fw_recover(struct devlink_health_reporter *reporter, in bnxt_fw_recover() argument 198 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_recover() 220 struct devlink_health_reporter *reporter; in __bnxt_dl_reporter_create() local 222 reporter = devlink_health_reporter_create(bp->dl, ops, 0, bp); in __bnxt_dl_reporter_create() 223 if (IS_ERR(reporter)) { in __bnxt_dl_reporter_create() 225 ops->name, PTR_ERR(reporter)); in __bnxt_dl_reporter_create() [all …]
|
/linux/include/net/ |
H A D | devlink.h | 736 int (*recover)(struct devlink_health_reporter *reporter, 738 int (*dump)(struct devlink_health_reporter *reporter, 741 int (*diagnose)(struct devlink_health_reporter *reporter, 744 int (*test)(struct devlink_health_reporter *reporter, 1926 devl_health_reporter_destroy(struct devlink_health_reporter *reporter); 1929 devlink_health_reporter_destroy(struct devlink_health_reporter *reporter); 1932 devlink_health_reporter_priv(struct devlink_health_reporter *reporter); 1933 int devlink_health_report(struct devlink_health_reporter *reporter, 1936 devlink_health_reporter_state_update(struct devlink_health_reporter *reporter, 1939 devlink_health_reporter_recovery_done(struct devlink_health_reporter *reporter);
|
/linux/drivers/net/ethernet/amd/pds_core/ |
H A D | devlink.c | 156 int pdsc_fw_reporter_diagnose(struct devlink_health_reporter *reporter, in pdsc_fw_reporter_diagnose() argument 160 struct pdsc *pdsc = devlink_health_reporter_priv(reporter); in pdsc_fw_reporter_diagnose()
|
/linux/Documentation/sphinx/ |
H A D | rstFlatTable.py | 115 error = self.state_machine.reporter.error( 207 error = self.directive.state_machine.reporter.error(
|
H A D | kernel_feat.py | 128 buf = self.state.memo.title_styles, self.state.memo.section_level, self.state.memo.reporter
|
/linux/include/linux/ |
H A D | igmp.h | 85 char reporter; member
|
/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_devlink.c | 390 static int hinic_hw_reporter_dump(struct devlink_health_reporter *reporter, in hinic_hw_reporter_dump() argument 421 static int hinic_fw_reporter_dump(struct devlink_health_reporter *reporter, in hinic_fw_reporter_dump() argument
|