#include <linux/debugfs.h>
#include <linux/kernel.h>
#include <linux/seq_file.h>
#include <linux/version.h>
#include "mlx5hws_internal.h"
static int
hws_debug_dump_matcher_template_definer(struct seq_file *f,
void *parent_obj,
struct mlx5hws_definer *definer,
enum mlx5hws_debug_res_type type)
{ … }
static int
hws_debug_dump_matcher_match_template(struct seq_file *f, struct mlx5hws_matcher *matcher)
{ … }
static int
hws_debug_dump_matcher_action_template(struct seq_file *f, struct mlx5hws_matcher *matcher)
{ … }
static int
hws_debug_dump_matcher_attr(struct seq_file *f, struct mlx5hws_matcher *matcher)
{ … }
static int hws_debug_dump_matcher(struct seq_file *f, struct mlx5hws_matcher *matcher)
{ … }
static int hws_debug_dump_table(struct seq_file *f, struct mlx5hws_table *tbl)
{ … }
static int
hws_debug_dump_context_send_engine(struct seq_file *f, struct mlx5hws_context *ctx)
{ … }
static int hws_debug_dump_context_caps(struct seq_file *f, struct mlx5hws_context *ctx)
{ … }
static int hws_debug_dump_context_attr(struct seq_file *f, struct mlx5hws_context *ctx)
{ … }
static int hws_debug_dump_context_info(struct seq_file *f, struct mlx5hws_context *ctx)
{ … }
static int hws_debug_dump_context_stc_resource(struct seq_file *f,
struct mlx5hws_context *ctx,
u32 tbl_type,
struct mlx5hws_pool_resource *resource)
{ … }
static int hws_debug_dump_context_stc(struct seq_file *f, struct mlx5hws_context *ctx)
{ … }
static int hws_debug_dump_context(struct seq_file *f, struct mlx5hws_context *ctx)
{ … }
static int
hws_debug_dump(struct seq_file *f, struct mlx5hws_context *ctx)
{ … }
static int hws_dump_show(struct seq_file *file, void *priv)
{ … }
DEFINE_SHOW_ATTRIBUTE(…);
void mlx5hws_debug_init_dump(struct mlx5hws_context *ctx)
{ … }
void mlx5hws_debug_uninit_dump(struct mlx5hws_context *ctx)
{ … }