Lines Matching defs:ethtool_ops
818 struct ethtool_ops { struct
819 u32 cap_link_lanes_supported:1;
820 u32 cap_rss_ctx_supported:1;
821 u32 cap_rss_sym_xor_supported:1;
822 u32 supported_coalesce_params;
823 u32 supported_ring_params;
824 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
825 int (*get_regs_len)(struct net_device *);
826 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
827 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
828 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
829 u32 (*get_msglevel)(struct net_device *);
830 void (*set_msglevel)(struct net_device *, u32);
831 int (*nway_reset)(struct net_device *);
832 u32 (*get_link)(struct net_device *);
833 int (*get_link_ext_state)(struct net_device *,
835 void (*get_link_ext_stats)(struct net_device *dev,
837 int (*get_eeprom_len)(struct net_device *);
838 int (*get_eeprom)(struct net_device *,
840 int (*set_eeprom)(struct net_device *,
842 int (*get_coalesce)(struct net_device *,
846 int (*set_coalesce)(struct net_device *,
850 void (*get_ringparam)(struct net_device *,
854 int (*set_ringparam)(struct net_device *,
858 void (*get_pause_stats)(struct net_device *dev,
860 void (*get_pauseparam)(struct net_device *,
862 int (*set_pauseparam)(struct net_device *,
864 void (*self_test)(struct net_device *, struct ethtool_test *, u64 *);
865 void (*get_strings)(struct net_device *, u32 stringset, u8 *);
866 int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state);
867 void (*get_ethtool_stats)(struct net_device *,
869 int (*begin)(struct net_device *);
870 void (*complete)(struct net_device *);
871 u32 (*get_priv_flags)(struct net_device *);
872 int (*set_priv_flags)(struct net_device *, u32);
873 int (*get_sset_count)(struct net_device *, int);
874 int (*get_rxnfc)(struct net_device *,
876 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
877 int (*flash_device)(struct net_device *, struct ethtool_flash *);
878 int (*reset)(struct net_device *, u32 *);
879 u32 (*get_rxfh_key_size)(struct net_device *);
880 u32 (*get_rxfh_indir_size)(struct net_device *);
881 int (*get_rxfh)(struct net_device *, struct ethtool_rxfh_param *);
882 int (*set_rxfh)(struct net_device *, struct ethtool_rxfh_param *,
884 void (*get_channels)(struct net_device *, struct ethtool_channels *);
885 int (*set_channels)(struct net_device *, struct ethtool_channels *);
886 int (*get_dump_flag)(struct net_device *, struct ethtool_dump *);
887 int (*get_dump_data)(struct net_device *,
889 int (*set_dump)(struct net_device *, struct ethtool_dump *);
890 int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *);
891 int (*get_module_info)(struct net_device *,
893 int (*get_module_eeprom)(struct net_device *,
895 int (*get_eee)(struct net_device *, struct ethtool_eee *);
896 int (*set_eee)(struct net_device *, struct ethtool_eee *);
897 int (*get_tunable)(struct net_device *,
899 int (*set_tunable)(struct net_device *,
901 int (*get_per_queue_coalesce)(struct net_device *, u32,
903 int (*set_per_queue_coalesce)(struct net_device *, u32,
905 int (*get_link_ksettings)(struct net_device *,
907 int (*set_link_ksettings)(struct net_device *,
909 void (*get_fec_stats)(struct net_device *dev,
911 int (*get_fecparam)(struct net_device *,
913 int (*set_fecparam)(struct net_device *,
915 void (*get_ethtool_phy_stats)(struct net_device *,
917 int (*get_phy_tunable)(struct net_device *,
919 int (*set_phy_tunable)(struct net_device *,
921 int (*get_module_eeprom_by_page)(struct net_device *dev,
945 int ethtool_check_ops(const struct ethtool_ops *ops); argument