Lines Matching refs:netdev

61 	(((struct ixgbevf_adapter *)netdev_priv(netdev))->num_tx_queues + \
62 ((struct ixgbevf_adapter *)netdev_priv(netdev))->num_xdp_queues + \
63 ((struct ixgbevf_adapter *)netdev_priv(netdev))->num_rx_queues) * \
82 static int ixgbevf_get_link_ksettings(struct net_device *netdev, in ixgbevf_get_link_ksettings() argument
85 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_link_ksettings()
117 static u32 ixgbevf_get_msglevel(struct net_device *netdev) in ixgbevf_get_msglevel() argument
119 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_msglevel()
124 static void ixgbevf_set_msglevel(struct net_device *netdev, u32 data) in ixgbevf_set_msglevel() argument
126 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_set_msglevel()
131 static int ixgbevf_get_regs_len(struct net_device *netdev) in ixgbevf_get_regs_len() argument
137 static void ixgbevf_get_regs(struct net_device *netdev, in ixgbevf_get_regs() argument
141 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_regs()
144 u32 regs_len = ixgbevf_get_regs_len(netdev); in ixgbevf_get_regs()
211 static void ixgbevf_get_drvinfo(struct net_device *netdev, in ixgbevf_get_drvinfo() argument
214 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_drvinfo()
223 static void ixgbevf_get_ringparam(struct net_device *netdev, in ixgbevf_get_ringparam() argument
228 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_ringparam()
236 static int ixgbevf_set_ringparam(struct net_device *netdev, in ixgbevf_set_ringparam() argument
241 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_set_ringparam()
265 if (!netif_running(adapter->netdev)) { in ixgbevf_set_ringparam()
405 static int ixgbevf_get_sset_count(struct net_device *netdev, int stringset) in ixgbevf_get_sset_count() argument
419 static void ixgbevf_get_ethtool_stats(struct net_device *netdev, in ixgbevf_get_ethtool_stats() argument
422 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_ethtool_stats()
431 net_stats = dev_get_stats(netdev, &temp); in ixgbevf_get_ethtool_stats()
503 static void ixgbevf_get_strings(struct net_device *netdev, u32 stringset, in ixgbevf_get_strings() argument
506 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_strings()
724 static void ixgbevf_diag_test(struct net_device *netdev, in ixgbevf_diag_test() argument
727 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_diag_test()
728 bool if_running = netif_running(netdev); in ixgbevf_diag_test()
752 ixgbevf_close(netdev); in ixgbevf_diag_test()
764 ixgbevf_open(netdev); in ixgbevf_diag_test()
779 static int ixgbevf_nway_reset(struct net_device *netdev) in ixgbevf_nway_reset() argument
781 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_nway_reset()
783 if (netif_running(netdev)) in ixgbevf_nway_reset()
789 static int ixgbevf_get_coalesce(struct net_device *netdev, in ixgbevf_get_coalesce() argument
794 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_coalesce()
815 static int ixgbevf_set_coalesce(struct net_device *netdev, in ixgbevf_set_coalesce() argument
820 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_set_coalesce()
885 static u32 ixgbevf_get_rxfh_indir_size(struct net_device *netdev) in ixgbevf_get_rxfh_indir_size() argument
887 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_rxfh_indir_size()
895 static u32 ixgbevf_get_rxfh_key_size(struct net_device *netdev) in ixgbevf_get_rxfh_key_size() argument
900 static int ixgbevf_get_rxfh(struct net_device *netdev, u32 *indir, u8 *key, in ixgbevf_get_rxfh() argument
903 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_rxfh()
912 ixgbevf_get_rxfh_key_size(netdev)); in ixgbevf_get_rxfh()
941 static u32 ixgbevf_get_priv_flags(struct net_device *netdev) in ixgbevf_get_priv_flags() argument
943 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_priv_flags()
952 static int ixgbevf_set_priv_flags(struct net_device *netdev, u32 priv_flags) in ixgbevf_set_priv_flags() argument
954 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_set_priv_flags()
965 if (netif_running(netdev)) in ixgbevf_set_priv_flags()
998 void ixgbevf_set_ethtool_ops(struct net_device *netdev) in ixgbevf_set_ethtool_ops() argument
1000 netdev->ethtool_ops = &ixgbevf_ethtool_ops; in ixgbevf_set_ethtool_ops()