linux/drivers/vdpa/mlx5/net/debug.c

// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
/* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */

#include <linux/debugfs.h>
#include <linux/mlx5/fs.h>
#include "mlx5_vnet.h"

static int tirn_show(struct seq_file *file, void *priv)
{}

DEFINE_SHOW_ATTRIBUTE();

void mlx5_vdpa_remove_tirn(struct mlx5_vdpa_net *ndev)
{}

void mlx5_vdpa_add_tirn(struct mlx5_vdpa_net *ndev)
{}

static int rx_flow_table_show(struct seq_file *file, void *priv)
{}

DEFINE_SHOW_ATTRIBUTE();

void mlx5_vdpa_remove_rx_flow_table(struct mlx5_vdpa_net *ndev)
{}

void mlx5_vdpa_add_rx_flow_table(struct mlx5_vdpa_net *ndev)
{}

#if defined(CONFIG_MLX5_VDPA_STEERING_DEBUG)
static int packets_show(struct seq_file *file, void *priv)
{}

static int bytes_show(struct seq_file *file, void *priv)
{}

DEFINE_SHOW_ATTRIBUTE();
DEFINE_SHOW_ATTRIBUTE();

static void add_counter_node(struct mlx5_vdpa_counter *counter,
			     struct dentry *parent)
{}

void mlx5_vdpa_add_rx_counters(struct mlx5_vdpa_net *ndev,
			       struct macvlan_node *node)
{}

void mlx5_vdpa_remove_rx_counters(struct mlx5_vdpa_net *ndev,
				  struct macvlan_node *node)
{}
#endif

void mlx5_vdpa_add_debugfs(struct mlx5_vdpa_net *ndev)
{}

void mlx5_vdpa_remove_debugfs(struct mlx5_vdpa_net *ndev)
{}