Searched refs:reporter (Results 1 - 24 of 24) sorted by relevance

/linux-master/net/devlink/
H A Dhealth.c74 devlink_health_reporter_priv(struct devlink_health_reporter *reporter) argument
76 return reporter->priv;
84 struct devlink_health_reporter *reporter; local
86 list_for_each_entry(reporter, reporter_list, list)
87 if (!strcmp(reporter->ops->name, reporter_name))
88 return reporter;
113 struct devlink_health_reporter *reporter; local
118 reporter = kzalloc(sizeof(*reporter), GFP_KERNEL);
119 if (!reporter)
145 struct devlink_health_reporter *reporter; local
169 struct devlink_health_reporter *reporter; local
193 struct devlink_health_reporter *reporter; local
215 struct devlink_health_reporter *reporter; local
226 devlink_health_reporter_free(struct devlink_health_reporter *reporter) argument
239 devl_health_reporter_destroy(struct devlink_health_reporter *reporter) argument
249 devlink_health_reporter_destroy(struct devlink_health_reporter *reporter) argument
260 devlink_nl_health_reporter_fill(struct sk_buff *msg, struct devlink_health_reporter *reporter, enum devlink_command cmd, u32 portid, u32 seq, int flags) argument
361 struct devlink_health_reporter *reporter; local
392 struct devlink_health_reporter *reporter; local
459 struct devlink_health_reporter *reporter; local
489 devlink_recover_notify(struct devlink_health_reporter *reporter, enum devlink_command cmd) argument
520 devlink_health_reporter_recovery_done(struct devlink_health_reporter *reporter) argument
528 devlink_health_reporter_recover(struct devlink_health_reporter *reporter, void *priv_ctx, struct netlink_ext_ack *extack) argument
551 devlink_health_dump_clear(struct devlink_health_reporter *reporter) argument
559 devlink_health_do_dump(struct devlink_health_reporter *reporter, void *priv_ctx, struct netlink_ext_ack *extack) argument
597 devlink_health_report(struct devlink_health_reporter *reporter, const char *msg, void *priv_ctx) argument
647 devlink_health_reporter_state_update(struct devlink_health_reporter *reporter, enum devlink_health_reporter_state state) argument
668 struct devlink_health_reporter *reporter; local
1121 struct devlink_health_reporter *reporter; local
1156 struct devlink_health_reporter *reporter; local
1177 struct devlink_health_reporter *reporter; local
1216 struct devlink_health_reporter *reporter; local
1233 struct devlink_health_reporter *reporter; local
[all...]
/linux-master/drivers/net/netdevsim/
H A Dhealth.c12 nsim_dev_empty_reporter_dump(struct devlink_health_reporter *reporter, argument
20 nsim_dev_empty_reporter_diagnose(struct devlink_health_reporter *reporter, argument
39 nsim_dev_dummy_reporter_recover(struct devlink_health_reporter *reporter, argument
43 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter);
108 nsim_dev_dummy_reporter_dump(struct devlink_health_reporter *reporter, argument
112 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter);
122 nsim_dev_dummy_reporter_diagnose(struct devlink_health_reporter *reporter, argument
126 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter);
/linux-master/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink.sh402 devlink health show $DL_HANDLE reporter empty >/dev/null
403 check_err $? "Failed show empty reporter"
405 devlink health dump show $DL_HANDLE reporter empty >/dev/null
406 check_err $? "Failed show dump of empty reporter"
408 devlink health diagnose $DL_HANDLE reporter empty >/dev/null
409 check_err $? "Failed diagnose empty reporter"
411 devlink health recover $DL_HANDLE reporter empty
412 check_err $? "Failed recover empty reporter"
414 log_test "empty reporter test"
426 local show=$(devlink health show $DL_HANDLE reporter
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_rx.c191 static int mlx5e_rx_reporter_recover(struct devlink_health_reporter *reporter, argument
195 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter);
320 mlx5e_rx_reporter_diagnose_common_config(struct devlink_health_reporter *reporter, argument
323 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter);
343 static int mlx5e_rx_reporter_diagnose(struct devlink_health_reporter *reporter, argument
347 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter);
356 mlx5e_rx_reporter_diagnose_common_config(reporter, fmsg);
482 static int mlx5e_rx_reporter_dump(struct devlink_health_reporter *reporter, argument
486 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter);
563 struct devlink_health_reporter *reporter; local
[all...]
H A Dreporter_tx.c213 static int mlx5e_tx_reporter_recover(struct devlink_health_reporter *reporter, argument
217 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter);
297 mlx5e_tx_reporter_diagnose_common_config(struct devlink_health_reporter *reporter, argument
300 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter);
320 static int mlx5e_tx_reporter_diagnose(struct devlink_health_reporter *reporter, argument
324 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter);
334 mlx5e_tx_reporter_diagnose_common_config(reporter, fmsg);
459 static int mlx5e_tx_reporter_dump(struct devlink_health_reporter *reporter, argument
463 struct mlx5e_priv *priv = devlink_health_reporter_priv(reporter);
534 struct devlink_health_reporter *reporter; local
[all...]
H A Dhealth.h50 struct devlink_health_reporter *reporter, char *err_str,
H A Dhealth.c151 struct devlink_health_reporter *reporter, char *err_str,
156 if (!reporter)
159 return devlink_health_report(reporter, err_str, err_ctx);
150 mlx5e_health_report(struct mlx5e_priv *priv, struct devlink_health_reporter *reporter, char *err_str, struct mlx5e_err_ctx *err_ctx) argument
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dreporter_vnic.c67 static int mlx5_reporter_vnic_diagnose(struct devlink_health_reporter *reporter, argument
71 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter);
93 "Failed to create vnic reporter, err = %ld\n",
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_devlink.c360 static int rvu_hw_nix_intr_dump(struct devlink_health_reporter *reporter, argument
364 struct rvu *rvu = devlink_health_reporter_priv(reporter);
374 static int rvu_hw_nix_intr_recover(struct devlink_health_reporter *reporter, argument
377 struct rvu *rvu = devlink_health_reporter_priv(reporter);
391 static int rvu_hw_nix_gen_dump(struct devlink_health_reporter *reporter, argument
395 struct rvu *rvu = devlink_health_reporter_priv(reporter);
405 static int rvu_hw_nix_gen_recover(struct devlink_health_reporter *reporter, argument
408 struct rvu *rvu = devlink_health_reporter_priv(reporter);
422 static int rvu_hw_nix_err_dump(struct devlink_health_reporter *reporter, argument
426 struct rvu *rvu = devlink_health_reporter_priv(reporter);
436 rvu_hw_nix_err_recover(struct devlink_health_reporter *reporter, void *ctx, struct netlink_ext_ack *netlink_extack) argument
453 rvu_hw_nix_ras_dump(struct devlink_health_reporter *reporter, struct devlink_fmsg *fmsg, void *ctx, struct netlink_ext_ack *netlink_extack) argument
467 rvu_hw_nix_ras_recover(struct devlink_health_reporter *reporter, void *ctx, struct netlink_ext_ack *netlink_extack) argument
906 rvu_hw_npa_intr_dump(struct devlink_health_reporter *reporter, struct devlink_fmsg *fmsg, void *ctx, struct netlink_ext_ack *netlink_extack) argument
920 rvu_hw_npa_intr_recover(struct devlink_health_reporter *reporter, void *ctx, struct netlink_ext_ack *netlink_extack) argument
937 rvu_hw_npa_gen_dump(struct devlink_health_reporter *reporter, struct devlink_fmsg *fmsg, void *ctx, struct netlink_ext_ack *netlink_extack) argument
951 rvu_hw_npa_gen_recover(struct devlink_health_reporter *reporter, void *ctx, struct netlink_ext_ack *netlink_extack) argument
968 rvu_hw_npa_err_dump(struct devlink_health_reporter *reporter, struct devlink_fmsg *fmsg, void *ctx, struct netlink_ext_ack *netlink_extack) argument
982 rvu_hw_npa_err_recover(struct devlink_health_reporter *reporter, void *ctx, struct netlink_ext_ack *netlink_extack) argument
999 rvu_hw_npa_ras_dump(struct devlink_health_reporter *reporter, struct devlink_fmsg *fmsg, void *ctx, struct netlink_ext_ack *netlink_extack) argument
1013 rvu_hw_npa_ras_recover(struct devlink_health_reporter *reporter, void *ctx, struct netlink_ext_ack *netlink_extack) argument
[all...]
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_devlink.c37 qed_fw_fatal_reporter_dump(struct devlink_health_reporter *reporter, argument
41 struct qed_devlink *qdl = devlink_health_reporter_priv(reporter);
78 qed_fw_fatal_reporter_recover(struct devlink_health_reporter *reporter, argument
82 struct qed_devlink *qdl = devlink_health_reporter_priv(reporter);
105 DP_NOTICE(dl->cdev, "Failed to create fw reporter, err = %ld\n",
/linux-master/drivers/net/ethernet/amd/pds_core/
H A Ddevlink.c155 int pdsc_fw_reporter_diagnose(struct devlink_health_reporter *reporter, argument
159 struct pdsc *pdsc = devlink_health_reporter_priv(reporter);
H A Dcore.h248 int pdsc_fw_reporter_diagnose(struct devlink_health_reporter *reporter,
/linux-master/Documentation/sphinx/
H A Dkernel_feat.py128 buf = self.state.memo.title_styles, self.state.memo.section_level, self.state.memo.reporter
H A DrstFlatTable.py115 error = self.state_machine.reporter.error(
207 error = self.directive.state_machine.reporter.error(
H A Dcdomain.py227 self.state_machine.reporter.warning(
H A Dkfigure.py582 return [self.state_machine.reporter.warning(
589 return [self.state_machine.reporter.warning(
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_devlink.c100 static int bnxt_fw_diagnose(struct devlink_health_reporter *reporter, argument
104 struct bnxt *bp = devlink_health_reporter_priv(reporter);
161 static int bnxt_fw_dump(struct devlink_health_reporter *reporter, argument
165 struct bnxt *bp = devlink_health_reporter_priv(reporter);
194 static int bnxt_fw_recover(struct devlink_health_reporter *reporter, argument
198 struct bnxt *bp = devlink_health_reporter_priv(reporter);
220 struct devlink_health_reporter *reporter; local
222 reporter = devlink_health_reporter_create(bp->dl, ops, 0, bp);
223 if (IS_ERR(reporter)) {
224 netdev_warn(bp->dev, "Failed to create %s health reporter, r
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhealth.c446 mlx5_fw_reporter_diagnose(struct devlink_health_reporter *reporter, argument
450 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter);
513 mlx5_fw_reporter_dump(struct devlink_health_reporter *reporter, argument
517 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter);
570 mlx5_fw_fatal_reporter_recover(struct devlink_health_reporter *reporter, argument
574 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter);
580 mlx5_fw_fatal_reporter_dump(struct devlink_health_reporter *reporter, argument
584 struct mlx5_core_dev *dev = devlink_health_reporter_priv(reporter);
694 mlx5_core_warn(dev, "Failed to create fw reporter, err = %ld\n",
703 mlx5_core_warn(dev, "Failed to create fw fatal reporter, er
[all...]
H A Den_rep.c1372 mlx5e_rep_vnic_reporter_diagnose(struct devlink_health_reporter *reporter, argument
1376 struct mlx5e_rep_priv *rpriv = devlink_health_reporter_priv(reporter);
1393 struct devlink_health_reporter *reporter; local
1395 reporter = devl_port_health_reporter_create(dl_port,
1398 if (IS_ERR(reporter)) {
1400 "Failed to create representor vnic reporter, err = %ld\n",
1401 PTR_ERR(reporter));
1405 rpriv->rep_vnic_reporter = reporter;
/linux-master/include/net/
H A Ddevlink.h722 * @name: reporter name
733 int (*recover)(struct devlink_health_reporter *reporter,
735 int (*dump)(struct devlink_health_reporter *reporter,
738 int (*diagnose)(struct devlink_health_reporter *reporter,
741 int (*test)(struct devlink_health_reporter *reporter,
1909 devl_health_reporter_destroy(struct devlink_health_reporter *reporter);
1912 devlink_health_reporter_destroy(struct devlink_health_reporter *reporter);
1915 devlink_health_reporter_priv(struct devlink_health_reporter *reporter);
1916 int devlink_health_report(struct devlink_health_reporter *reporter,
1919 devlink_health_reporter_state_update(struct devlink_health_reporter *reporter,
[all...]
/linux-master/include/linux/
H A Digmp.h85 char reporter; member in struct:ip_mc_list
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_devlink.c390 static int hinic_hw_reporter_dump(struct devlink_health_reporter *reporter, argument
421 static int hinic_fw_reporter_dump(struct devlink_health_reporter *reporter, argument
449 dev_warn(&priv->hwdev->hwif->pdev->dev, "Failed to create hw fault reporter, err: %ld\n",
458 dev_warn(&priv->hwdev->hwif->pdev->dev, "Failed to create fw fault reporter, err: %ld\n",
/linux-master/net/ipv4/
H A Digmp.c208 im->reporter = 0;
849 im->reporter = 1;
1296 int reporter; local
1311 reporter = im->reporter;
1318 if (reporter)
2880 im->reporter);
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.c1883 static int mlxsw_core_health_fw_fatal_dump(struct devlink_health_reporter *reporter, argument
2001 mlxsw_core_health_fw_fatal_test(struct devlink_health_reporter *reporter, argument
2004 struct mlxsw_core *mlxsw_core = devlink_health_reporter_priv(reporter);
2049 dev_err(mlxsw_core->bus_info->dev, "Failed to create fw fatal reporter");

Completed in 282 milliseconds