#include <linux/inetdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <net/mana/mana.h>
static const struct { … } mana_eth_stats[] = …;
static int mana_get_sset_count(struct net_device *ndev, int stringset)
{ … }
static void mana_get_strings(struct net_device *ndev, u32 stringset, u8 *data)
{ … }
static void mana_get_ethtool_stats(struct net_device *ndev,
struct ethtool_stats *e_stats, u64 *data)
{ … }
static int mana_get_rxnfc(struct net_device *ndev, struct ethtool_rxnfc *cmd,
u32 *rules)
{ … }
static u32 mana_get_rxfh_key_size(struct net_device *ndev)
{ … }
static u32 mana_rss_indir_size(struct net_device *ndev)
{ … }
static int mana_get_rxfh(struct net_device *ndev,
struct ethtool_rxfh_param *rxfh)
{ … }
static int mana_set_rxfh(struct net_device *ndev,
struct ethtool_rxfh_param *rxfh,
struct netlink_ext_ack *extack)
{ … }
static void mana_get_channels(struct net_device *ndev,
struct ethtool_channels *channel)
{ … }
static int mana_set_channels(struct net_device *ndev,
struct ethtool_channels *channels)
{ … }
const struct ethtool_ops mana_ethtool_ops = …;