Lines Matching defs:ethtool_ops

1004 struct ethtool_ops {  struct
1005 u32 supported_input_xfrm:8;
1006 u32 cap_link_lanes_supported:1;
1007 u32 cap_rss_ctx_supported:1;
1008 u32 rxfh_per_ctx_key:1;
1009 u32 cap_rss_rxnfc_adds:1;
1010 u32 rxfh_indir_space;
1011 u16 rxfh_key_space;
1012 u16 rxfh_priv_size;
1013 u32 rxfh_max_num_contexts;
1014 u32 supported_coalesce_params;
1015 u32 supported_ring_params;
1016 u32 supported_hwtstamp_qualifiers;
1017 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
1018 int (*get_regs_len)(struct net_device *);
1019 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
1020 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
1021 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
1022 u32 (*get_msglevel)(struct net_device *);
1023 void (*set_msglevel)(struct net_device *, u32);
1024 int (*nway_reset)(struct net_device *);
1025 u32 (*get_link)(struct net_device *);
1026 int (*get_link_ext_state)(struct net_device *,
1028 void (*get_link_ext_stats)(struct net_device *dev,
1030 int (*get_eeprom_len)(struct net_device *);
1031 int (*get_eeprom)(struct net_device *,
1033 int (*set_eeprom)(struct net_device *,
1035 int (*get_coalesce)(struct net_device *,
1039 int (*set_coalesce)(struct net_device *,
1043 void (*get_ringparam)(struct net_device *,
1047 int (*set_ringparam)(struct net_device *,
1051 void (*get_pause_stats)(struct net_device *dev,
1053 void (*get_pauseparam)(struct net_device *,
1055 int (*set_pauseparam)(struct net_device *,
1057 void (*self_test)(struct net_device *, struct ethtool_test *, u64 *);
1058 void (*get_strings)(struct net_device *, u32 stringset, u8 *);
1059 int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state);
1060 void (*get_ethtool_stats)(struct net_device *,
1062 int (*begin)(struct net_device *);
1063 void (*complete)(struct net_device *);
1064 u32 (*get_priv_flags)(struct net_device *);
1065 int (*set_priv_flags)(struct net_device *, u32);
1066 int (*get_sset_count)(struct net_device *, int);
1067 int (*get_rxnfc)(struct net_device *,
1069 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
1070 int (*flash_device)(struct net_device *, struct ethtool_flash *);
1071 int (*reset)(struct net_device *, u32 *);
1072 u32 (*get_rxfh_key_size)(struct net_device *);
1073 u32 (*get_rxfh_indir_size)(struct net_device *);
1074 int (*get_rxfh)(struct net_device *, struct ethtool_rxfh_param *);
1075 int (*set_rxfh)(struct net_device *, struct ethtool_rxfh_param *,
1077 int (*create_rxfh_context)(struct net_device *,
1081 int (*modify_rxfh_context)(struct net_device *,
1085 int (*remove_rxfh_context)(struct net_device *,
1089 void (*get_channels)(struct net_device *, struct ethtool_channels *);
1090 int (*set_channels)(struct net_device *, struct ethtool_channels *);
1091 int (*get_dump_flag)(struct net_device *, struct ethtool_dump *);
1092 int (*get_dump_data)(struct net_device *,
1094 int (*set_dump)(struct net_device *, struct ethtool_dump *);
1095 int (*get_ts_info)(struct net_device *, struct kernel_ethtool_ts_info *);
1096 void (*get_ts_stats)(struct net_device *dev,
1098 int (*get_module_info)(struct net_device *,
1100 int (*get_module_eeprom)(struct net_device *,
1102 int (*get_eee)(struct net_device *dev, struct ethtool_keee *eee);
1103 int (*set_eee)(struct net_device *dev, struct ethtool_keee *eee);
1104 int (*get_tunable)(struct net_device *,
1106 int (*set_tunable)(struct net_device *,
1108 int (*get_per_queue_coalesce)(struct net_device *, u32,
1110 int (*set_per_queue_coalesce)(struct net_device *, u32,
1112 int (*get_link_ksettings)(struct net_device *,
1114 int (*set_link_ksettings)(struct net_device *,
1116 void (*get_fec_stats)(struct net_device *dev,
1118 int (*get_fecparam)(struct net_device *,
1120 int (*set_fecparam)(struct net_device *,
1122 void (*get_ethtool_phy_stats)(struct net_device *,
1124 int (*get_phy_tunable)(struct net_device *,
1126 int (*set_phy_tunable)(struct net_device *,
1128 int (*get_module_eeprom_by_page)(struct net_device *dev,
1131 int (*set_module_eeprom_by_page)(struct net_device *dev,
1155 int ethtool_check_ops(const struct ethtool_ops *ops); argument