linux/drivers/net/ethernet/marvell/octeon_ep/octep_ethtool.c

// SPDX-License-Identifier: GPL-2.0
/* Marvell Octeon EP (EndPoint) Ethernet Driver
 *
 * Copyright (C) 2020 Marvell.
 *
 */

#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/ethtool.h>

#include "octep_config.h"
#include "octep_main.h"
#include "octep_ctrl_net.h"

static const char octep_gstrings_global_stats[][ETH_GSTRING_LEN] =;

#define OCTEP_GLOBAL_STATS_CNT

static const char octep_gstrings_tx_q_stats[][ETH_GSTRING_LEN] =;

#define OCTEP_TX_Q_STATS_CNT

static const char octep_gstrings_rx_q_stats[][ETH_GSTRING_LEN] =;

#define OCTEP_RX_Q_STATS_CNT

static void octep_get_drvinfo(struct net_device *netdev,
			      struct ethtool_drvinfo *info)
{}

static void octep_get_strings(struct net_device *netdev,
			      u32 stringset, u8 *data)
{}

static int octep_get_sset_count(struct net_device *netdev, int sset)
{}

static void
octep_get_ethtool_stats(struct net_device *netdev,
			struct ethtool_stats *stats, u64 *data)
{}

#define OCTEP_SET_ETHTOOL_LINK_MODES_BITMAP(octep_speeds, ksettings, name)

static int octep_get_link_ksettings(struct net_device *netdev,
				    struct ethtool_link_ksettings *cmd)
{}

static int octep_set_link_ksettings(struct net_device *netdev,
				    const struct ethtool_link_ksettings *cmd)
{}

static const struct ethtool_ops octep_ethtool_ops =;

void octep_set_ethtool_ops(struct net_device *netdev)
{}