Lines Matching defs:ethtool_ops
981 struct ethtool_ops { struct
982 u32 cap_link_lanes_supported:1;
983 u32 cap_rss_ctx_supported:1;
984 u32 cap_rss_sym_xor_supported:1;
985 u32 rxfh_per_ctx_key:1;
986 u32 cap_rss_rxnfc_adds:1;
987 u32 rxfh_indir_space;
988 u16 rxfh_key_space;
989 u16 rxfh_priv_size;
990 u32 rxfh_max_num_contexts;
991 u32 supported_coalesce_params;
992 u32 supported_ring_params;
993 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
994 int (*get_regs_len)(struct net_device *);
995 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
996 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
997 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
998 u32 (*get_msglevel)(struct net_device *);
999 void (*set_msglevel)(struct net_device *, u32);
1000 int (*nway_reset)(struct net_device *);
1001 u32 (*get_link)(struct net_device *);
1002 int (*get_link_ext_state)(struct net_device *,
1004 void (*get_link_ext_stats)(struct net_device *dev,
1006 int (*get_eeprom_len)(struct net_device *);
1007 int (*get_eeprom)(struct net_device *,
1009 int (*set_eeprom)(struct net_device *,
1011 int (*get_coalesce)(struct net_device *,
1015 int (*set_coalesce)(struct net_device *,
1019 void (*get_ringparam)(struct net_device *,
1023 int (*set_ringparam)(struct net_device *,
1027 void (*get_pause_stats)(struct net_device *dev,
1029 void (*get_pauseparam)(struct net_device *,
1031 int (*set_pauseparam)(struct net_device *,
1033 void (*self_test)(struct net_device *, struct ethtool_test *, u64 *);
1034 void (*get_strings)(struct net_device *, u32 stringset, u8 *);
1035 int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state);
1036 void (*get_ethtool_stats)(struct net_device *,
1038 int (*begin)(struct net_device *);
1039 void (*complete)(struct net_device *);
1040 u32 (*get_priv_flags)(struct net_device *);
1041 int (*set_priv_flags)(struct net_device *, u32);
1042 int (*get_sset_count)(struct net_device *, int);
1043 int (*get_rxnfc)(struct net_device *,
1045 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
1046 int (*flash_device)(struct net_device *, struct ethtool_flash *);
1047 int (*reset)(struct net_device *, u32 *);
1048 u32 (*get_rxfh_key_size)(struct net_device *);
1049 u32 (*get_rxfh_indir_size)(struct net_device *);
1050 int (*get_rxfh)(struct net_device *, struct ethtool_rxfh_param *);
1051 int (*set_rxfh)(struct net_device *, struct ethtool_rxfh_param *,
1053 int (*create_rxfh_context)(struct net_device *,
1057 int (*modify_rxfh_context)(struct net_device *,
1061 int (*remove_rxfh_context)(struct net_device *,
1065 void (*get_channels)(struct net_device *, struct ethtool_channels *);
1066 int (*set_channels)(struct net_device *, struct ethtool_channels *);
1067 int (*get_dump_flag)(struct net_device *, struct ethtool_dump *);
1068 int (*get_dump_data)(struct net_device *,
1070 int (*set_dump)(struct net_device *, struct ethtool_dump *);
1071 int (*get_ts_info)(struct net_device *, struct kernel_ethtool_ts_info *);
1072 void (*get_ts_stats)(struct net_device *dev,
1074 int (*get_module_info)(struct net_device *,
1076 int (*get_module_eeprom)(struct net_device *,
1078 int (*get_eee)(struct net_device *dev, struct ethtool_keee *eee);
1079 int (*set_eee)(struct net_device *dev, struct ethtool_keee *eee);
1080 int (*get_tunable)(struct net_device *,
1082 int (*set_tunable)(struct net_device *,
1084 int (*get_per_queue_coalesce)(struct net_device *, u32,
1086 int (*set_per_queue_coalesce)(struct net_device *, u32,
1088 int (*get_link_ksettings)(struct net_device *,
1090 int (*set_link_ksettings)(struct net_device *,
1092 void (*get_fec_stats)(struct net_device *dev,
1094 int (*get_fecparam)(struct net_device *,
1096 int (*set_fecparam)(struct net_device *,
1098 void (*get_ethtool_phy_stats)(struct net_device *,
1100 int (*get_phy_tunable)(struct net_device *,
1102 int (*set_phy_tunable)(struct net_device *,
1104 int (*get_module_eeprom_by_page)(struct net_device *dev,
1107 int (*set_module_eeprom_by_page)(struct net_device *dev,
1110 void (*get_eth_phy_stats)(struct net_device *dev,
1112 void (*get_eth_mac_stats)(struct net_device *dev,
1136 int ethtool_check_ops(const struct ethtool_ops *ops); argument