linux/drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c

// SPDX-License-Identifier: GPL-2.0-or-later
/* Applied Micro X-Gene SoC Ethernet Driver
 *
 * Copyright (c) 2014, Applied Micro Circuits Corporation
 * Authors: Iyappan Subramanian <[email protected]>
 */

#include <linux/ethtool.h>
#include "xgene_enet_main.h"

struct xgene_gstrings_stats {};

#define XGENE_STAT(m)
#define XGENE_EXTD_STAT(s, a, m)

static const struct xgene_gstrings_stats gstrings_stats[] =;

static const struct xgene_gstrings_stats gstrings_extd_stats[] =;

#define XGENE_STATS_LEN
#define XGENE_EXTD_STATS_LEN
#define RFCS_IDX
#define RALN_IDX
#define RFLR_IDX
#define FALSE_RFLR_IDX
#define RUND_IDX
#define FALSE_RJBR_IDX
#define RX_OVERRUN_IDX
#define TFCS_IDX
#define TFRG_IDX
#define TX_UNDERRUN_IDX

static void xgene_get_drvinfo(struct net_device *ndev,
			      struct ethtool_drvinfo *info)
{}

static int xgene_get_link_ksettings(struct net_device *ndev,
				    struct ethtool_link_ksettings *cmd)
{}

static int xgene_set_link_ksettings(struct net_device *ndev,
				    const struct ethtool_link_ksettings *cmd)
{}

static void xgene_get_strings(struct net_device *ndev, u32 stringset, u8 *data)
{}

static int xgene_get_sset_count(struct net_device *ndev, int sset)
{}

static void xgene_get_extd_stats(struct xgene_enet_pdata *pdata)
{}

int xgene_extd_stats_init(struct xgene_enet_pdata *pdata)
{}

static void xgene_get_ethtool_stats(struct net_device *ndev,
				    struct ethtool_stats *dummy,
				    u64 *data)
{}

static void xgene_get_pauseparam(struct net_device *ndev,
				 struct ethtool_pauseparam *pp)
{}

static int xgene_set_pauseparam(struct net_device *ndev,
				struct ethtool_pauseparam *pp)
{}

static const struct ethtool_ops xgene_ethtool_ops =;

void xgene_enet_set_ethtool_ops(struct net_device *ndev)
{}