Lines Matching defs:ethtool_ops

954 struct ethtool_ops {  struct
955 u32 cap_link_lanes_supported:1;
956 u32 cap_rss_ctx_supported:1;
957 u32 cap_rss_sym_xor_supported:1;
958 u32 rxfh_per_ctx_key:1;
959 u32 rxfh_indir_space;
960 u16 rxfh_key_space;
961 u16 rxfh_priv_size;
962 u32 rxfh_max_num_contexts;
963 u32 supported_coalesce_params;
964 u32 supported_ring_params;
965 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
966 int (*get_regs_len)(struct net_device *);
967 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
968 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
969 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
970 u32 (*get_msglevel)(struct net_device *);
971 void (*set_msglevel)(struct net_device *, u32);
972 int (*nway_reset)(struct net_device *);
973 u32 (*get_link)(struct net_device *);
974 int (*get_link_ext_state)(struct net_device *,
976 void (*get_link_ext_stats)(struct net_device *dev,
978 int (*get_eeprom_len)(struct net_device *);
979 int (*get_eeprom)(struct net_device *,
981 int (*set_eeprom)(struct net_device *,
983 int (*get_coalesce)(struct net_device *,
987 int (*set_coalesce)(struct net_device *,
991 void (*get_ringparam)(struct net_device *,
995 int (*set_ringparam)(struct net_device *,
999 void (*get_pause_stats)(struct net_device *dev,
1001 void (*get_pauseparam)(struct net_device *,
1003 int (*set_pauseparam)(struct net_device *,
1005 void (*self_test)(struct net_device *, struct ethtool_test *, u64 *);
1006 void (*get_strings)(struct net_device *, u32 stringset, u8 *);
1007 int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state);
1008 void (*get_ethtool_stats)(struct net_device *,
1010 int (*begin)(struct net_device *);
1011 void (*complete)(struct net_device *);
1012 u32 (*get_priv_flags)(struct net_device *);
1013 int (*set_priv_flags)(struct net_device *, u32);
1014 int (*get_sset_count)(struct net_device *, int);
1015 int (*get_rxnfc)(struct net_device *,
1017 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
1018 int (*flash_device)(struct net_device *, struct ethtool_flash *);
1019 int (*reset)(struct net_device *, u32 *);
1020 u32 (*get_rxfh_key_size)(struct net_device *);
1021 u32 (*get_rxfh_indir_size)(struct net_device *);
1022 int (*get_rxfh)(struct net_device *, struct ethtool_rxfh_param *);
1023 int (*set_rxfh)(struct net_device *, struct ethtool_rxfh_param *,
1025 int (*create_rxfh_context)(struct net_device *,
1029 int (*modify_rxfh_context)(struct net_device *,
1033 int (*remove_rxfh_context)(struct net_device *,
1037 void (*get_channels)(struct net_device *, struct ethtool_channels *);
1038 int (*set_channels)(struct net_device *, struct ethtool_channels *);
1039 int (*get_dump_flag)(struct net_device *, struct ethtool_dump *);
1040 int (*get_dump_data)(struct net_device *,
1042 int (*set_dump)(struct net_device *, struct ethtool_dump *);
1043 int (*get_ts_info)(struct net_device *, struct kernel_ethtool_ts_info *);
1044 void (*get_ts_stats)(struct net_device *dev,
1046 int (*get_module_info)(struct net_device *,
1048 int (*get_module_eeprom)(struct net_device *,
1050 int (*get_eee)(struct net_device *dev, struct ethtool_keee *eee);
1051 int (*set_eee)(struct net_device *dev, struct ethtool_keee *eee);
1052 int (*get_tunable)(struct net_device *,
1054 int (*set_tunable)(struct net_device *,
1056 int (*get_per_queue_coalesce)(struct net_device *, u32,
1058 int (*set_per_queue_coalesce)(struct net_device *, u32,
1060 int (*get_link_ksettings)(struct net_device *,
1062 int (*set_link_ksettings)(struct net_device *,
1064 void (*get_fec_stats)(struct net_device *dev,
1066 int (*get_fecparam)(struct net_device *,
1068 int (*set_fecparam)(struct net_device *,
1070 void (*get_ethtool_phy_stats)(struct net_device *,
1072 int (*get_phy_tunable)(struct net_device *,
1074 int (*set_phy_tunable)(struct net_device *,
1076 int (*get_module_eeprom_by_page)(struct net_device *dev,
1079 int (*set_module_eeprom_by_page)(struct net_device *dev,
1103 int ethtool_check_ops(const struct ethtool_ops *ops); argument