#include <linux/phy.h>
#include "mlxbf_gige.h"
#include "mlxbf_gige_regs.h"
static int mlxbf_gige_get_regs_len(struct net_device *netdev)
{ … }
static void mlxbf_gige_get_regs(struct net_device *netdev,
struct ethtool_regs *regs, void *p)
{ … }
static void
mlxbf_gige_get_ringparam(struct net_device *netdev,
struct ethtool_ringparam *ering,
struct kernel_ethtool_ringparam *kernel_ering,
struct netlink_ext_ack *extack)
{ … }
static const struct { … } mlxbf_gige_ethtool_stats_keys[] = …;
static int mlxbf_gige_get_sset_count(struct net_device *netdev, int stringset)
{ … }
static void mlxbf_gige_get_strings(struct net_device *netdev, u32 stringset,
u8 *buf)
{ … }
static void mlxbf_gige_get_ethtool_stats(struct net_device *netdev,
struct ethtool_stats *estats,
u64 *data)
{ … }
static void mlxbf_gige_get_pauseparam(struct net_device *netdev,
struct ethtool_pauseparam *pause)
{ … }
static bool mlxbf_gige_llu_counters_enabled(struct mlxbf_gige *priv)
{ … }
static void mlxbf_gige_get_pause_stats(struct net_device *netdev,
struct ethtool_pause_stats *pause_stats)
{ … }
const struct ethtool_ops mlxbf_gige_ethtool_ops = …;