linux/drivers/net/ethernet/mellanox/mlx5/core/en/health.c

// SPDX-License-Identifier: GPL-2.0
// Copyright (c) 2019 Mellanox Technologies.

#include "health.h"
#include "lib/eq.h"
#include "lib/mlx5.h"

void mlx5e_health_fmsg_named_obj_nest_start(struct devlink_fmsg *fmsg, char *name)
{}

void mlx5e_health_fmsg_named_obj_nest_end(struct devlink_fmsg *fmsg)
{}

void mlx5e_health_cq_diag_fmsg(struct mlx5e_cq *cq, struct devlink_fmsg *fmsg)
{}

void mlx5e_health_cq_common_diag_fmsg(struct mlx5e_cq *cq, struct devlink_fmsg *fmsg)
{}

void mlx5e_health_eq_diag_fmsg(struct mlx5_eq_comp *eq, struct devlink_fmsg *fmsg)
{}

void mlx5e_health_create_reporters(struct mlx5e_priv *priv)
{}

void mlx5e_health_destroy_reporters(struct mlx5e_priv *priv)
{}

void mlx5e_health_channels_update(struct mlx5e_priv *priv)
{}

int mlx5e_health_sq_to_ready(struct mlx5_core_dev *mdev, struct net_device *dev, u32 sqn)
{}

int mlx5e_health_recover_channels(struct mlx5e_priv *priv)
{}

int mlx5e_health_channel_eq_recover(struct net_device *dev, struct mlx5_eq_comp *eq,
				    struct mlx5e_ch_stats *stats)
{}

int mlx5e_health_report(struct mlx5e_priv *priv,
			struct devlink_health_reporter *reporter, char *err_str,
			struct mlx5e_err_ctx *err_ctx)
{}

#define MLX5_HEALTH_DEVLINK_MAX_SIZE
static void mlx5e_health_rsc_fmsg_binary(struct devlink_fmsg *fmsg,
					 const void *value, u32 value_len)

{}

int mlx5e_health_rsc_fmsg_dump(struct mlx5e_priv *priv, struct mlx5_rsc_key *key,
			       struct devlink_fmsg *fmsg)
{}

void mlx5e_health_queue_dump(struct mlx5e_priv *priv, struct devlink_fmsg *fmsg,
			     int queue_idx, char *lbl)
{}