#include "tsnep.h"
static const char tsnep_stats_strings[][ETH_GSTRING_LEN] = …;
struct tsnep_stats { … };
#define TSNEP_STATS_COUNT …
static const char tsnep_rx_queue_stats_strings[][ETH_GSTRING_LEN] = …;
struct tsnep_rx_queue_stats { … };
#define TSNEP_RX_QUEUE_STATS_COUNT …
static const char tsnep_tx_queue_stats_strings[][ETH_GSTRING_LEN] = …;
struct tsnep_tx_queue_stats { … };
#define TSNEP_TX_QUEUE_STATS_COUNT …
static void tsnep_ethtool_get_drvinfo(struct net_device *netdev,
struct ethtool_drvinfo *drvinfo)
{ … }
static int tsnep_ethtool_get_regs_len(struct net_device *netdev)
{ … }
static void tsnep_ethtool_get_regs(struct net_device *netdev,
struct ethtool_regs *regs,
void *p)
{ … }
static u32 tsnep_ethtool_get_msglevel(struct net_device *netdev)
{ … }
static void tsnep_ethtool_set_msglevel(struct net_device *netdev, u32 data)
{ … }
static void tsnep_ethtool_get_strings(struct net_device *netdev, u32 stringset,
u8 *data)
{ … }
static void tsnep_ethtool_get_ethtool_stats(struct net_device *netdev,
struct ethtool_stats *stats,
u64 *data)
{ … }
static int tsnep_ethtool_get_sset_count(struct net_device *netdev, int sset)
{ … }
static int tsnep_ethtool_get_rxnfc(struct net_device *netdev,
struct ethtool_rxnfc *cmd, u32 *rule_locs)
{ … }
static int tsnep_ethtool_set_rxnfc(struct net_device *netdev,
struct ethtool_rxnfc *cmd)
{ … }
static void tsnep_ethtool_get_channels(struct net_device *netdev,
struct ethtool_channels *ch)
{ … }
static int tsnep_ethtool_get_ts_info(struct net_device *netdev,
struct kernel_ethtool_ts_info *info)
{ … }
static struct tsnep_queue *tsnep_get_queue_with_tx(struct tsnep_adapter *adapter,
int index)
{ … }
static struct tsnep_queue *tsnep_get_queue_with_rx(struct tsnep_adapter *adapter,
int index)
{ … }
static int tsnep_ethtool_get_coalesce(struct net_device *netdev,
struct ethtool_coalesce *ec,
struct kernel_ethtool_coalesce *kernel_coal,
struct netlink_ext_ack *extack)
{ … }
static int tsnep_ethtool_set_coalesce(struct net_device *netdev,
struct ethtool_coalesce *ec,
struct kernel_ethtool_coalesce *kernel_coal,
struct netlink_ext_ack *extack)
{ … }
static int tsnep_ethtool_get_per_queue_coalesce(struct net_device *netdev,
u32 queue,
struct ethtool_coalesce *ec)
{ … }
static int tsnep_ethtool_set_per_queue_coalesce(struct net_device *netdev,
u32 queue,
struct ethtool_coalesce *ec)
{ … }
const struct ethtool_ops tsnep_ethtool_ops = …;