linux/drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_ethtool.c

// SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause

/* Ethtool support for Mellanox Gigabit Ethernet driver
 *
 * Copyright (C) 2020-2021 NVIDIA CORPORATION & AFFILIATES
 */

#include <linux/phy.h>

#include "mlxbf_gige.h"
#include "mlxbf_gige_regs.h"

/* Start of struct ethtool_ops functions */
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 =;