Lines Matching defs:ethtool_ops

997 struct ethtool_ops {  struct
998 u32 cap_link_lanes_supported:1;
999 u32 cap_rss_ctx_supported:1;
1000 u32 cap_rss_sym_xor_supported:1;
1001 u32 rxfh_per_ctx_key:1;
1002 u32 cap_rss_rxnfc_adds:1;
1003 u32 rxfh_indir_space;
1004 u16 rxfh_key_space;
1005 u16 rxfh_priv_size;
1006 u32 rxfh_max_num_contexts;
1007 u32 supported_coalesce_params;
1008 u32 supported_ring_params;
1009 u32 supported_hwtstamp_qualifiers;
1010 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
1011 int (*get_regs_len)(struct net_device *);
1012 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
1013 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
1014 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
1015 u32 (*get_msglevel)(struct net_device *);
1016 void (*set_msglevel)(struct net_device *, u32);
1017 int (*nway_reset)(struct net_device *);
1018 u32 (*get_link)(struct net_device *);
1019 int (*get_link_ext_state)(struct net_device *,
1021 void (*get_link_ext_stats)(struct net_device *dev,
1023 int (*get_eeprom_len)(struct net_device *);
1024 int (*get_eeprom)(struct net_device *,
1026 int (*set_eeprom)(struct net_device *,
1028 int (*get_coalesce)(struct net_device *,
1032 int (*set_coalesce)(struct net_device *,
1036 void (*get_ringparam)(struct net_device *,
1040 int (*set_ringparam)(struct net_device *,
1044 void (*get_pause_stats)(struct net_device *dev,
1046 void (*get_pauseparam)(struct net_device *,
1048 int (*set_pauseparam)(struct net_device *,
1050 void (*self_test)(struct net_device *, struct ethtool_test *, u64 *);
1051 void (*get_strings)(struct net_device *, u32 stringset, u8 *);
1052 int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state);
1053 void (*get_ethtool_stats)(struct net_device *,
1055 int (*begin)(struct net_device *);
1056 void (*complete)(struct net_device *);
1057 u32 (*get_priv_flags)(struct net_device *);
1058 int (*set_priv_flags)(struct net_device *, u32);
1059 int (*get_sset_count)(struct net_device *, int);
1060 int (*get_rxnfc)(struct net_device *,
1062 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
1063 int (*flash_device)(struct net_device *, struct ethtool_flash *);
1064 int (*reset)(struct net_device *, u32 *);
1065 u32 (*get_rxfh_key_size)(struct net_device *);
1066 u32 (*get_rxfh_indir_size)(struct net_device *);
1067 int (*get_rxfh)(struct net_device *, struct ethtool_rxfh_param *);
1068 int (*set_rxfh)(struct net_device *, struct ethtool_rxfh_param *,
1070 int (*create_rxfh_context)(struct net_device *,
1074 int (*modify_rxfh_context)(struct net_device *,
1078 int (*remove_rxfh_context)(struct net_device *,
1082 void (*get_channels)(struct net_device *, struct ethtool_channels *);
1083 int (*set_channels)(struct net_device *, struct ethtool_channels *);
1084 int (*get_dump_flag)(struct net_device *, struct ethtool_dump *);
1085 int (*get_dump_data)(struct net_device *,
1087 int (*set_dump)(struct net_device *, struct ethtool_dump *);
1088 int (*get_ts_info)(struct net_device *, struct kernel_ethtool_ts_info *);
1089 void (*get_ts_stats)(struct net_device *dev,
1091 int (*get_module_info)(struct net_device *,
1093 int (*get_module_eeprom)(struct net_device *,
1095 int (*get_eee)(struct net_device *dev, struct ethtool_keee *eee);
1096 int (*set_eee)(struct net_device *dev, struct ethtool_keee *eee);
1097 int (*get_tunable)(struct net_device *,
1099 int (*set_tunable)(struct net_device *,
1101 int (*get_per_queue_coalesce)(struct net_device *, u32,
1103 int (*set_per_queue_coalesce)(struct net_device *, u32,
1105 int (*get_link_ksettings)(struct net_device *,
1107 int (*set_link_ksettings)(struct net_device *,
1109 void (*get_fec_stats)(struct net_device *dev,
1111 int (*get_fecparam)(struct net_device *,
1113 int (*set_fecparam)(struct net_device *,
1115 void (*get_ethtool_phy_stats)(struct net_device *,
1117 int (*get_phy_tunable)(struct net_device *,
1119 int (*set_phy_tunable)(struct net_device *,
1121 int (*get_module_eeprom_by_page)(struct net_device *dev,
1124 int (*set_module_eeprom_by_page)(struct net_device *dev,
1148 int ethtool_check_ops(const struct ethtool_ops *ops); argument