linux/drivers/net/ethernet/pensando/ionic/ionic_stats.c

// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 2017 - 2019 Pensando Systems, Inc */

#include <linux/ethtool.h>
#include <linux/kernel.h>
#include <linux/mutex.h>
#include <linux/netdevice.h>

#include "ionic.h"
#include "ionic_lif.h"
#include "ionic_stats.h"

static const struct ionic_stat_desc ionic_lif_stats_desc[] =;

static const struct ionic_stat_desc ionic_port_stats_desc[] =;

static const struct ionic_stat_desc ionic_tx_stats_desc[] =;

static const struct ionic_stat_desc ionic_rx_stats_desc[] =;

#define IONIC_NUM_LIF_STATS
#define IONIC_NUM_PORT_STATS
#define IONIC_NUM_TX_STATS
#define IONIC_NUM_RX_STATS

#define MAX_Q(lif)

static void ionic_add_lif_txq_stats(struct ionic_lif *lif, int q_num,
				    struct ionic_lif_sw_stats *stats)
{}

static void ionic_add_lif_rxq_stats(struct ionic_lif *lif, int q_num,
				    struct ionic_lif_sw_stats *stats)
{}

static void ionic_get_lif_stats(struct ionic_lif *lif,
				struct ionic_lif_sw_stats *stats)
{}

static u64 ionic_sw_stats_get_count(struct ionic_lif *lif)
{}

static void ionic_sw_stats_get_tx_strings(struct ionic_lif *lif, u8 **buf,
					  int q_num)
{}

static void ionic_sw_stats_get_rx_strings(struct ionic_lif *lif, u8 **buf,
					  int q_num)
{}

static void ionic_sw_stats_get_strings(struct ionic_lif *lif, u8 **buf)
{}

static void ionic_sw_stats_get_txq_values(struct ionic_lif *lif, u64 **buf,
					  int q_num)
{}

static void ionic_sw_stats_get_rxq_values(struct ionic_lif *lif, u64 **buf,
					  int q_num)
{}

static void ionic_sw_stats_get_values(struct ionic_lif *lif, u64 **buf)
{}

const struct ionic_stats_group_intf ionic_stats_groups[] =;

const int ionic_num_stats_grps =;