Home
last modified time | relevance | path

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

12

/linux/net/devlink/
H A Dhealth.c74 devlink_health_reporter_priv(struct devlink_health_reporter *reporter) in devlink_health_reporter_priv() argument
76 return reporter->priv; in devlink_health_reporter_priv()
84 struct devlink_health_reporter *reporter; in __devlink_health_reporter_find_by_name() local
86 list_for_each_entry(reporter, reporter_list, list) in __devlink_health_reporter_find_by_name()
87 if (!strcmp(reporter->ops->name, reporter_name)) in __devlink_health_reporter_find_by_name()
88 return reporter; in __devlink_health_reporter_find_by_name()
113 struct devlink_health_reporter *reporter; in __devlink_health_reporter_create() local
118 reporter = kzalloc(sizeof(*reporter), GFP_KERNEL); in __devlink_health_reporter_create()
119 if (!reporter) in __devlink_health_reporter_create()
145 struct devlink_health_reporter *reporter; devl_port_health_reporter_create() local
169 struct devlink_health_reporter *reporter; devlink_port_health_reporter_create() local
193 struct devlink_health_reporter *reporter; devl_health_reporter_create() local
215 struct devlink_health_reporter *reporter; devlink_health_reporter_create() local
226 devlink_health_reporter_free(struct devlink_health_reporter * reporter) devlink_health_reporter_free() argument
239 devl_health_reporter_destroy(struct devlink_health_reporter * reporter) devl_health_reporter_destroy() argument
249 devlink_health_reporter_destroy(struct devlink_health_reporter * reporter) devlink_health_reporter_destroy() argument
261 devlink_nl_health_reporter_fill(struct sk_buff * msg,struct devlink_health_reporter * reporter,enum devlink_command cmd,u32 portid,u32 seq,int flags) devlink_nl_health_reporter_fill() argument
359 struct devlink_health_reporter *reporter; devlink_nl_health_reporter_get_doit() local
390 struct devlink_health_reporter *reporter; devlink_nl_health_reporter_get_dump_one() local
457 struct devlink_health_reporter *reporter; devlink_nl_health_reporter_set_doit() local
487 devlink_recover_notify(struct devlink_health_reporter * reporter,enum devlink_command cmd) devlink_recover_notify() argument
518 devlink_health_reporter_recovery_done(struct devlink_health_reporter * reporter) devlink_health_reporter_recovery_done() argument
526 devlink_health_reporter_recover(struct devlink_health_reporter * reporter,void * priv_ctx,struct netlink_ext_ack * extack) devlink_health_reporter_recover() argument
549 devlink_health_dump_clear(struct devlink_health_reporter * reporter) devlink_health_dump_clear() argument
557 devlink_health_do_dump(struct devlink_health_reporter * reporter,void * priv_ctx,struct netlink_ext_ack * extack) devlink_health_do_dump() argument
595 devlink_health_report(struct devlink_health_reporter * reporter,const char * msg,void * priv_ctx) devlink_health_report() argument
645 devlink_health_reporter_state_update(struct devlink_health_reporter * reporter,enum devlink_health_reporter_state state) devlink_health_reporter_state_update() argument
666 struct devlink_health_reporter *reporter; devlink_nl_health_reporter_recover_doit() local
1108 struct devlink_health_reporter *reporter; devlink_nl_health_reporter_diagnose_doit() local
1143 struct devlink_health_reporter *reporter; devlink_health_reporter_get_from_cb_lock() local
1164 struct devlink_health_reporter *reporter; devlink_nl_health_reporter_dump_get_dumpit() local
1203 struct devlink_health_reporter *reporter; devlink_nl_health_reporter_dump_clear_doit() local
1220 struct devlink_health_reporter *reporter; devlink_nl_health_reporter_test_doit() local
[all...]
/linux/Documentation/networking/devlink/
H A 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
77 User can access/change each reporter's parameters and driver specific callbacks
78 via ``devlink``, e.g per error type (per health reporter):
80 * Configure reporter's generic parameters (like: disable/enable auto recovery)
91 - Retrieves status and configuration info per DEV and reporter
[all...]
H A Dmlx5.rst143 tx reporter
145 The tx reporter is responsible for reporting and recovering of the following three error scenarios:
157 tx reporter also support on demand diagnose callback, on which it provides
164 $ devlink health diagnose pci/0000:82:00.0 reporter tx
172 $ devlink health show pci/0000:82:00.0 reporter tx
174 rx reporter
176 The rx reporter is responsible for reporting and recovering of the following two error scenarios:
187 rx reporter also supports on demand diagnose callback, on which it
192 $ devlink health diagnose pci/0000:82:00.0 reporter rx
200 $ devlink health show pci/0000:82:00.0 reporter r
[all...]
H A Ddevlink-reload.rst32 * ``devlink-health-reporter``
/linux/drivers/net/ethernet/intel/ice/devlink/
H A Dhealth.c155 ice_port_reporter_diagnose(struct devlink_health_reporter *reporter, struct devlink_fmsg *fmsg, in ice_port_reporter_diagnose() argument
158 struct ice_pf *pf = devlink_health_reporter_priv(reporter); in ice_port_reporter_diagnose()
165 ice_port_reporter_dump(struct devlink_health_reporter *reporter, struct devlink_fmsg *fmsg, in ice_port_reporter_dump() argument
168 struct ice_pf *pf = devlink_health_reporter_priv(reporter); in ice_port_reporter_dump()
175 ice_fw_reporter_diagnose(struct devlink_health_reporter *reporter, struct devlink_fmsg *fmsg, in ice_fw_reporter_diagnose() argument
178 struct ice_pf *pf = devlink_health_reporter_priv(reporter); in ice_fw_reporter_diagnose()
185 ice_fw_reporter_dump(struct devlink_health_reporter *reporter, struct devlink_fmsg *fmsg, in ice_fw_reporter_dump() argument
188 struct ice_pf *pf = devlink_health_reporter_priv(reporter); in ice_fw_reporter_dump()
271 * ice_devlink_health_report - boilerplate to call given @reporter
273 * @reporter
277 ice_devlink_health_report(struct devlink_health_reporter * reporter,const char * msg,void * priv_ctx) ice_devlink_health_report() argument
314 ice_mdd_reporter_dump(struct devlink_health_reporter * reporter,struct devlink_fmsg * fmsg,void * priv_ctx,struct netlink_ext_ack * extack) ice_mdd_reporter_dump() argument
388 ice_tx_hang_reporter_dump(struct devlink_health_reporter * reporter,struct devlink_fmsg * fmsg,void * priv_ctx,struct netlink_ext_ack * extack) ice_tx_hang_reporter_dump() argument
511 ice_deinit_devl_reporter(struct devlink_health_reporter * reporter) ice_deinit_devl_reporter() argument
535 ice_health_assign_healthy_state(struct devlink_health_reporter * reporter) ice_health_assign_healthy_state() argument
[all...]
/linux/drivers/net/netdevsim/
H A 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()
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/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_tx.c207 static int mlx5e_tx_reporter_recover(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_recover() argument
211 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_recover()
291 mlx5e_tx_reporter_diagnose_common_config(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_diagnose_common_config() argument
294 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose_common_config()
315 mlx5e_tx_reporter_diagnose_tis_config(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_diagnose_tis_config() argument
318 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose_tis_config()
338 static int mlx5e_tx_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5e_tx_reporter_diagnose() argument
342 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_tx_reporter_diagnose()
352 mlx5e_tx_reporter_diagnose_common_config(reporter, fmsg); in mlx5e_tx_reporter_diagnose()
353 mlx5e_tx_reporter_diagnose_tis_config(reporter, fms in mlx5e_tx_reporter_diagnose()
478 mlx5e_tx_reporter_dump(struct devlink_health_reporter * reporter,struct devlink_fmsg * fmsg,void * context,struct netlink_ext_ack * extack) mlx5e_tx_reporter_dump() argument
553 struct devlink_health_reporter *reporter; mlx5e_reporter_tx_create() local
[all...]
H A Dreporter_rx.c198 static int mlx5e_rx_reporter_recover(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_recover() argument
202 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_recover()
459 static int mlx5e_rx_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_diagnose() argument
463 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_diagnose()
584 static int mlx5e_rx_reporter_dump(struct devlink_health_reporter *reporter, in mlx5e_rx_reporter_dump() argument
588 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter); in mlx5e_rx_reporter_dump()
665 struct devlink_health_reporter *reporter; in mlx5e_reporter_rx_create() local
667 reporter = devlink_port_health_reporter_create(priv->netdev->devlink_port, in mlx5e_reporter_rx_create()
670 if (IS_ERR(reporter)) { in mlx5e_reporter_rx_create()
671 netdev_warn(priv->netdev, "Failed to create rx reporter, er in mlx5e_reporter_rx_create()
[all...]
H A Dhealth.c153 struct devlink_health_reporter *reporter, char *err_str, in mlx5e_health_report() argument
158 if (!reporter) in mlx5e_health_report()
161 return devlink_health_report(reporter, err_str, err_ctx); in mlx5e_health_report()
H A Dhealth.h50 struct devlink_health_reporter *reporter, char *err_str,
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink.sh404 devlink health show $DL_HANDLE reporter empty >/dev/null
405 check_err $? "Failed show empty reporter"
407 devlink health dump show $DL_HANDLE reporter empty >/dev/null
408 check_err $? "Failed show dump of empty reporter"
410 devlink health diagnose $DL_HANDLE reporter empty >/dev/null
411 check_err $? "Failed diagnose empty reporter"
413 devlink health recover $DL_HANDLE reporter empty
414 check_err $? "Failed recover empty reporter"
416 log_test "empty reporter test"
428 local show=$(devlink health show $DL_HANDLE reporter
[all...]
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_devlink.c360 static int rvu_hw_nix_intr_dump(struct devlink_health_reporter *reporter, in rvu_hw_nix_intr_dump() argument
364 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_intr_dump()
374 static int rvu_hw_nix_intr_recover(struct devlink_health_reporter *reporter, in rvu_hw_nix_intr_recover() argument
377 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_intr_recover()
391 static int rvu_hw_nix_gen_dump(struct devlink_health_reporter *reporter, in rvu_hw_nix_gen_dump() argument
395 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_gen_dump()
405 static int rvu_hw_nix_gen_recover(struct devlink_health_reporter *reporter, in rvu_hw_nix_gen_recover() argument
408 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_gen_recover()
422 static int rvu_hw_nix_err_dump(struct devlink_health_reporter *reporter, in rvu_hw_nix_err_dump() argument
426 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_err_dump()
436 rvu_hw_nix_err_recover(struct devlink_health_reporter * reporter,void * ctx,struct netlink_ext_ack * netlink_extack) rvu_hw_nix_err_recover() argument
453 rvu_hw_nix_ras_dump(struct devlink_health_reporter * reporter,struct devlink_fmsg * fmsg,void * ctx,struct netlink_ext_ack * netlink_extack) rvu_hw_nix_ras_dump() argument
467 rvu_hw_nix_ras_recover(struct devlink_health_reporter * reporter,void * ctx,struct netlink_ext_ack * netlink_extack) rvu_hw_nix_ras_recover() argument
906 rvu_hw_npa_intr_dump(struct devlink_health_reporter * reporter,struct devlink_fmsg * fmsg,void * ctx,struct netlink_ext_ack * netlink_extack) rvu_hw_npa_intr_dump() argument
920 rvu_hw_npa_intr_recover(struct devlink_health_reporter * reporter,void * ctx,struct netlink_ext_ack * netlink_extack) rvu_hw_npa_intr_recover() argument
937 rvu_hw_npa_gen_dump(struct devlink_health_reporter * reporter,struct devlink_fmsg * fmsg,void * ctx,struct netlink_ext_ack * netlink_extack) rvu_hw_npa_gen_dump() argument
951 rvu_hw_npa_gen_recover(struct devlink_health_reporter * reporter,void * ctx,struct netlink_ext_ack * netlink_extack) rvu_hw_npa_gen_recover() argument
968 rvu_hw_npa_err_dump(struct devlink_health_reporter * reporter,struct devlink_fmsg * fmsg,void * ctx,struct netlink_ext_ack * netlink_extack) rvu_hw_npa_err_dump() argument
982 rvu_hw_npa_err_recover(struct devlink_health_reporter * reporter,void * ctx,struct netlink_ext_ack * netlink_extack) rvu_hw_npa_err_recover() argument
999 rvu_hw_npa_ras_dump(struct devlink_health_reporter * reporter,struct devlink_fmsg * fmsg,void * ctx,struct netlink_ext_ack * netlink_extack) rvu_hw_npa_ras_dump() argument
1013 rvu_hw_npa_ras_recover(struct devlink_health_reporter * reporter,void * ctx,struct netlink_ext_ack * netlink_extack) rvu_hw_npa_ras_recover() argument
[all...]
/linux/Documentation/networking/device_drivers/ethernet/marvell/
H A Docteontx2.rst193 reporter hw_npa_intr
195 reporter hw_npa_gen
197 reporter hw_npa_err
199 reporter hw_npa_ras
202 Each reporter dumps the
210 ~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_gen
214 ~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_intr
218 ~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_err
255 reporter hw_npa_intr
257 reporter hw_npa_ge
[all...]
/linux/drivers/net/ethernet/qlogic/qed/
H A 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()
105 DP_NOTICE(dl->cdev, "Failed to create fw reporter, err = %ld\n", in qed_fw_reporters_create()
/linux/Documentation/networking/device_drivers/ethernet/amd/
H A Dpds_core.rst108 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 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.
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 Dhealth.c464 mlx5_fw_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5_fw_reporter_diagnose() argument
468 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_diagnose()
531 mlx5_fw_reporter_dump(struct devlink_health_reporter *reporter, in mlx5_fw_reporter_dump() argument
535 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_reporter_dump()
588 mlx5_fw_fatal_reporter_recover(struct devlink_health_reporter *reporter, in mlx5_fw_fatal_reporter_recover() argument
592 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_recover()
598 mlx5_fw_fatal_reporter_dump(struct devlink_health_reporter *reporter, in mlx5_fw_fatal_reporter_dump() argument
602 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_fw_fatal_reporter_dump()
712 mlx5_core_warn(dev, "Failed to create fw reporter, err = %ld\n", in mlx5_fw_reporters_create()
721 mlx5_core_warn(dev, "Failed to create fw fatal reporter, er in mlx5_fw_reporters_create()
[all...]
H A Den_rep.c1425 mlx5e_rep_vnic_reporter_diagnose(struct devlink_health_reporter *reporter, in mlx5e_rep_vnic_reporter_diagnose() argument
1429 struct mlx5e_rep_priv *rpriv = devlink_health_reporter_priv(reporter); in mlx5e_rep_vnic_reporter_diagnose()
1446 struct devlink_health_reporter *reporter; in mlx5e_rep_vnic_reporter_create() local
1448 reporter = devl_port_health_reporter_create(dl_port, in mlx5e_rep_vnic_reporter_create()
1451 if (IS_ERR(reporter)) { in mlx5e_rep_vnic_reporter_create()
1453 "Failed to create representor vnic reporter, err = %ld\n", in mlx5e_rep_vnic_reporter_create()
1454 PTR_ERR(reporter)); in mlx5e_rep_vnic_reporter_create()
1458 rpriv->rep_vnic_reporter = reporter; in mlx5e_rep_vnic_reporter_create()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_devlink.c101 static int bnxt_fw_diagnose(struct devlink_health_reporter *reporter, in bnxt_fw_diagnose() argument
105 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_diagnose()
162 static int bnxt_fw_dump(struct devlink_health_reporter *reporter, in bnxt_fw_dump() argument
166 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_dump()
195 static int bnxt_fw_recover(struct devlink_health_reporter *reporter, in bnxt_fw_recover() argument
199 struct bnxt *bp = devlink_health_reporter_priv(reporter); in bnxt_fw_recover()
221 struct devlink_health_reporter *reporter; in __bnxt_dl_reporter_create() local
223 reporter = devlink_health_reporter_create(bp->dl, ops, 0, bp); in __bnxt_dl_reporter_create()
224 if (IS_ERR(reporter)) { in __bnxt_dl_reporter_create()
225 netdev_warn(bp->dev, "Failed to create %s health reporter, r in __bnxt_dl_reporter_create()
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dreporter_vnic.c113 static int mlx5_reporter_vnic_diagnose(struct devlink_health_reporter *reporter, in mlx5_reporter_vnic_diagnose() argument
117 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter); in mlx5_reporter_vnic_diagnose()
139 "Failed to create vnic reporter, err = %ld\n", in mlx5_reporter_vnic_create()
/linux/include/net/
H A Ddevlink.h753 int (*recover)(struct devlink_health_reporter *reporter,
755 int (*dump)(struct devlink_health_reporter *reporter,
758 int (*diagnose)(struct devlink_health_reporter *reporter,
761 int (*test)(struct devlink_health_reporter *reporter,
1949 devl_health_reporter_destroy(struct devlink_health_reporter *reporter);
1952 devlink_health_reporter_destroy(struct devlink_health_reporter *reporter);
1955 devlink_health_reporter_priv(struct devlink_health_reporter *reporter);
1956 int devlink_health_report(struct devlink_health_reporter *reporter,
1959 devlink_health_reporter_state_update(struct devlink_health_reporter *reporter,
1962 devlink_health_reporter_recovery_done(struct devlink_health_reporter *reporter);
/linux/drivers/net/ethernet/amd/pds_core/
H A Ddevlink.c157 int pdsc_fw_reporter_diagnose(struct devlink_health_reporter *reporter, in pdsc_fw_reporter_diagnose() argument
161 struct pdsc *pdsc = devlink_health_reporter_priv(reporter); in pdsc_fw_reporter_diagnose()
/linux/Documentation/sphinx/
H A DrstFlatTable.py116 error = self.state_machine.reporter.error(
208 error = self.directive.state_machine.reporter.error(
H A Dkernel_feat.py128 buf = self.state.memo.title_styles, self.state.memo.section_level, self.state.memo.reporter
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_devlink.c390 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
449 dev_warn(&priv->hwdev->hwif->pdev->dev, "Failed to create hw fault reporter, err: %ld\n", in hinic_health_reporters_create()
458 dev_warn(&priv->hwdev->hwif->pdev->dev, "Failed to create fw fault reporter, err: %ld\n", in hinic_health_reporters_create()

12