Lines Matching defs:err_ctx
208 static int mlx5e_tx_reporter_recover_from_ctx(struct mlx5e_err_ctx *err_ctx)
210 return err_ctx->recover(err_ctx->ctx);
218 struct mlx5e_err_ctx *err_ctx = context;
220 return err_ctx ? mlx5e_tx_reporter_recover_from_ctx(err_ctx) :
453 struct mlx5e_err_ctx *err_ctx,
456 return err_ctx->dump(priv, fmsg, err_ctx->ctx);
464 struct mlx5e_err_ctx *err_ctx = context;
466 return err_ctx ? mlx5e_tx_reporter_dump_from_ctx(priv, err_ctx, fmsg) :
474 struct mlx5e_err_ctx err_ctx = {};
476 err_ctx.ctx = sq;
477 err_ctx.recover = mlx5e_tx_reporter_err_cqe_recover;
478 err_ctx.dump = mlx5e_tx_reporter_dump_sq;
481 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx);
489 struct mlx5e_err_ctx err_ctx = {};
492 err_ctx.ctx = &to_ctx;
493 err_ctx.recover = mlx5e_tx_reporter_timeout_recover;
494 err_ctx.dump = mlx5e_tx_reporter_timeout_dump;
500 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx);
511 struct mlx5e_err_ctx err_ctx = {};
513 err_ctx.ctx = ptpsq;
514 err_ctx.recover = mlx5e_tx_reporter_ptpsq_unhealthy_recover;
515 err_ctx.dump = mlx5e_tx_reporter_ptpsq_unhealthy_dump;
520 mlx5e_health_report(priv, priv->tx_reporter, err_str, &err_ctx);