Home
last modified time | relevance | path

Searched refs:reporter (Results 1 – 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/Documentation/networking/devlink/
Ddevlink-health.rst25 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
57 User can access/change each reporter's parameters and driver specific callbacks
58 via ``devlink``, e.g per error type (per health reporter):
60 * Configure reporter's generic parameters (like: disable/enable auto recovery)
71 - Retrieves status and configuration info per DEV and reporter.
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink.sh394 devlink health show $DL_HANDLE reporter empty >/dev/null
397 devlink health dump show $DL_HANDLE reporter empty >/dev/null
400 devlink health diagnose $DL_HANDLE reporter empty >/dev/null
403 devlink health recover $DL_HANDLE reporter empty
418 local show=$(devlink health show $DL_HANDLE reporter $name -j | jq -e -r ".[][][]")
449 devlink health set $DL_HANDLE reporter dummy auto_recover false
460 local dump=$(devlink health dump show $DL_HANDLE reporter dummy -j)
467 devlink health dump clear $DL_HANDLE reporter dummy
470 devlink health recover $DL_HANDLE reporter dummy
475 devlink health set $DL_HANDLE reporter dummy auto_recover true
[all …]
/kernel/linux/linux-5.10/net/core/
Ddevlink.c5844 devlink_health_reporter_priv(struct devlink_health_reporter *reporter) in devlink_health_reporter_priv() argument
5846 return reporter->priv; in devlink_health_reporter_priv()
5855 struct devlink_health_reporter *reporter; in __devlink_health_reporter_find_by_name() local
5858 list_for_each_entry(reporter, reporter_list, list) in __devlink_health_reporter_find_by_name()
5859 if (!strcmp(reporter->ops->name, reporter_name)) in __devlink_health_reporter_find_by_name()
5860 return reporter; in __devlink_health_reporter_find_by_name()
5887 struct devlink_health_reporter *reporter; in __devlink_health_reporter_create() local
5892 reporter = kzalloc(sizeof(*reporter), GFP_KERNEL); in __devlink_health_reporter_create()
5893 if (!reporter) in __devlink_health_reporter_create()
5896 reporter->priv = priv; in __devlink_health_reporter_create()
[all …]
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dhealth.c12 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dreporter_tx.c132 static int mlx5e_tx_reporter_recover(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_recover() argument
136 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_recover()
207 static int mlx5e_tx_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_diagnose() argument
211 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose()
394 static int mlx5e_tx_reporter_dump(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_dump() argument
398 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_dump()
450 struct devlink_health_reporter *reporter; in mlx5e_reporter_tx_create() local
452 reporter = devlink_port_health_reporter_create(&priv->dl_port, &mlx5_tx_reporter_ops, in mlx5e_reporter_tx_create()
454 if (IS_ERR(reporter)) { in mlx5e_reporter_tx_create()
457 PTR_ERR(reporter)); in mlx5e_reporter_tx_create()
[all …]
Dreporter_rx.c169 static int mlx5e_rx_reporter_recover(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_recover() argument
173 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_recover()
309 static int mlx5e_rx_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_diagnose() argument
313 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_diagnose()
547 static int mlx5e_rx_reporter_dump(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_dump() argument
551 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_dump()
614 struct devlink_health_reporter *reporter; in mlx5e_reporter_rx_create() local
616 reporter = devlink_port_health_reporter_create(&priv->dl_port, &mlx5_rx_reporter_ops, in mlx5e_reporter_rx_create()
618 if (IS_ERR(reporter)) { in mlx5e_reporter_rx_create()
620 PTR_ERR(reporter)); in mlx5e_reporter_rx_create()
[all …]
Dhealth.c228 struct devlink_health_reporter *reporter, char *err_str, in mlx5e_health_report() argument
233 if (!reporter) in mlx5e_health_report()
236 return devlink_health_report(reporter, err_str, err_ctx); in mlx5e_health_report()
Dhealth.h49 struct devlink_health_reporter *reporter, char *err_str,
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/mellanox/
Dmlx5.rst182 tx reporter
184 The tx reporter is responsible for reporting and recovering of the following two error scenarios:
193 TX reporter also support on demand diagnose callback, on which it provides
200 $ devlink health diagnose pci/0000:82:00.0 reporter tx
207 $ devlink health show pci/0000:82:00.0 reporter tx
209 rx reporter
211 The rx reporter is responsible for reporting and recovering of the following two error scenarios:
222 RX reporter also supports on demand diagnose callback, on which it
227 $ devlink health diagnose pci/0000:82:00.0 reporter rx
234 $ devlink health show pci/0000:82:00.0 reporter rx
[all …]
/kernel/linux/linux-5.10/Documentation/sphinx/
Dkernel_abi.py186 … buf = self.state.memo.title_styles, self.state.memo.section_level, self.state.memo.reporter
190 self.state.memo.reporter = AutodocReporter(content, self.state.memo.reporter)
194 … self.state.memo.title_styles, self.state.memo.section_level, self.state.memo.reporter = buf
Dkerneldoc.py170 … save = self.state.memo.title_styles, self.state.memo.section_level, self.state.memo.reporter
171 self.state.memo.reporter = AutodocReporter(result, self.state.memo.reporter)
176 … self.state.memo.title_styles, self.state.memo.section_level, self.state.memo.reporter = save
DrstFlatTable.py125 error = self.state_machine.reporter.error(
217 error = self.directive.state_machine.reporter.error(
Dkfigure.py490 return [self.state_machine.reporter.warning(
497 return [self.state_machine.reporter.warning(
Dcdomain.py231 self.state_machine.reporter.warning(
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_devlink.c37 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dhealth.c409 mlx5_fw_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5_fw_reporter_diagnose() argument
413 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_diagnose()
511 mlx5_fw_reporter_dump(struct devlink_health_reporter *reporter, in mlx5_fw_reporter_dump() argument
515 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_dump()
566 mlx5_fw_fatal_reporter_recover(struct devlink_health_reporter *reporter, in mlx5_fw_fatal_reporter_recover() argument
570 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_recover()
576 mlx5_fw_fatal_reporter_dump(struct devlink_health_reporter *reporter, in mlx5_fw_fatal_reporter_dump() argument
580 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_dump()
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dsecurity-bugs.rst26 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
/kernel/linux/linux-5.10/include/net/
Ddevlink.h649 int (*recover)(struct devlink_health_reporter *reporter,
651 int (*dump)(struct devlink_health_reporter *reporter,
654 int (*diagnose)(struct devlink_health_reporter *reporter,
657 int (*test)(struct devlink_health_reporter *reporter,
1559 devlink_health_reporter_destroy(struct devlink_health_reporter *reporter);
1562 devlink_port_health_reporter_destroy(struct devlink_health_reporter *reporter);
1565 devlink_health_reporter_priv(struct devlink_health_reporter *reporter);
1566 int devlink_health_report(struct devlink_health_reporter *reporter,
1569 devlink_health_reporter_state_update(struct devlink_health_reporter *reporter,
1572 devlink_health_reporter_recovery_done(struct devlink_health_reporter *reporter);
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_devlink.c44 static int bnxt_fw_reporter_diagnose(struct devlink_health_reporter *reporter, in bnxt_fw_reporter_diagnose() argument
48 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_reporter_diagnose()
89 static int bnxt_fw_reset_recover(struct devlink_health_reporter *reporter, in bnxt_fw_reset_recover() argument
93 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_reset_recover()
108 static int bnxt_fw_fatal_recover(struct devlink_health_reporter *reporter, in bnxt_fw_fatal_recover() argument
112 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_fatal_recover()
/kernel/linux/build/
Dkernel_build.py243 reporter = Reporter(arch, knl_path)
245 for report in reporter.parse(errmsg):
255 for report in reporter.parse(errmsg):
/kernel/linux/linux-5.10/include/linux/
Digmp.h87 char reporter; member
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_devlink.c462 static int hinic_hw_reporter_dump(struct devlink_health_reporter *reporter, in hinic_hw_reporter_dump() argument
538 static int hinic_fw_reporter_dump(struct devlink_health_reporter *reporter, in hinic_fw_reporter_dump() argument
/kernel/linux/linux-5.10/Documentation/process/
Dcode-of-conduct.rst72 maintain confidentiality with regard to the reporter of an incident.
Dembargoed-hardware-issues.rst30 handled by this team and the reporter will be guided to contact the regular
39 S/MIME encrypted and must be signed with the reporter's PGP key or S/MIME
134 mailing-list which will be used for initial discussion with the reporter,
/kernel/linux/linux-5.10/net/ipv4/
Digmp.c208 im->reporter = 0; in igmp_stop_timer()
849 im->reporter = 1; in igmp_timer_expire()
1296 int reporter; in __igmp_group_dropped() local
1311 reporter = im->reporter; in __igmp_group_dropped()
1318 if (reporter) in __igmp_group_dropped()
2871 im->reporter); in igmp_mc_seq_show()

12