Lines Matching refs:ethtool_ops
518 if (!dev->ethtool_ops->get_link)
521 return netif_running(dev) && dev->ethtool_ops->get_link(dev);
526 const struct ethtool_ops *ops = dev->ethtool_ops;
541 const struct ethtool_ops *ops = dev->ethtool_ops;
596 if (!dev->ethtool_ops->get_rxfh_indir_size ||
597 !dev->ethtool_ops->get_rxfh)
599 dev_size = dev->ethtool_ops->get_rxfh_indir_size(dev);
607 ret = dev->ethtool_ops->get_rxfh(dev, indir, NULL, NULL);
621 int ethtool_check_ops(const struct ethtool_ops *ops)
625 /* NOTE: sufficiently insane drivers may swap ethtool_ops at runtime,
634 const struct ethtool_ops *ops = dev->ethtool_ops;