| /linux/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_dcbnl.c | 13 static u8 qede_dcbnl_getstate(struct net_device *netdev) in qede_dcbnl_getstate() 20 static u8 qede_dcbnl_setstate(struct net_device *netdev, u8 state) in qede_dcbnl_setstate() 27 static void qede_dcbnl_getpermhwaddr(struct net_device *netdev, in qede_dcbnl_getpermhwaddr() 33 static void qede_dcbnl_getpgtccfgtx(struct net_device *netdev, int prio, in qede_dcbnl_getpgtccfgtx() 43 static void qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgtx() 51 static void qede_dcbnl_getpgtccfgrx(struct net_device *netdev, int prio, in qede_dcbnl_getpgtccfgrx() 61 static void qede_dcbnl_getpgbwgcfgrx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgrx() 69 static void qede_dcbnl_getpfccfg(struct net_device *netdev, int prio, in qede_dcbnl_getpfccfg() 77 static void qede_dcbnl_setpfccfg(struct net_device *netdev, int prio, in qede_dcbnl_setpfccfg() 85 static u8 qede_dcbnl_getcap(struct net_device *netdev, int capid, u8 *cap) in qede_dcbnl_getcap() [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_ethtool.c | 217 nfp_net_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in nfp_net_get_drvinfo() 232 nfp_net_nway_reset(struct net_device *netdev) in nfp_net_nway_reset() 263 nfp_app_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in nfp_app_get_drvinfo() 484 nfp_net_get_link_ksettings(struct net_device *netdev, in nfp_net_get_link_ksettings() 546 nfp_net_set_link_ksettings(struct net_device *netdev, in nfp_net_set_link_ksettings() 622 static void nfp_net_get_ringparam(struct net_device *netdev, in nfp_net_get_ringparam() 651 static int nfp_net_set_ringparam(struct net_device *netdev, in nfp_net_set_ringparam() 689 static int nfp_test_link(struct net_device *netdev) in nfp_test_link() 697 static int nfp_test_nsp(struct net_device *netdev) in nfp_test_nsp() 733 static int nfp_test_fw(struct net_device *netdev) in nfp_test_fw() [all …]
|
| H A D | nfp_net_repr.c | 27 nfp_repr_inc_tx_stats(struct net_device *netdev, unsigned int len, in nfp_repr_inc_tx_stats() 46 void nfp_repr_inc_rx_stats(struct net_device *netdev, unsigned int len) in nfp_repr_inc_rx_stats() 90 nfp_repr_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) in nfp_repr_get_stats64() 124 nfp_repr_get_host_stats64(const struct net_device *netdev, in nfp_repr_get_host_stats64() 167 static int nfp_repr_change_mtu(struct net_device *netdev, int new_mtu) in nfp_repr_change_mtu() 185 static netdev_tx_t nfp_repr_xmit(struct sk_buff *skb, struct net_device *netdev) in nfp_repr_xmit() 202 static int nfp_repr_stop(struct net_device *netdev) in nfp_repr_stop() 215 static int nfp_repr_open(struct net_device *netdev) in nfp_repr_open() 236 nfp_repr_fix_features(struct net_device *netdev, netdev_features_t features) in nfp_repr_fix_features() 280 nfp_repr_transfer_features(struct net_device *netdev, struct net_device *lower) in nfp_repr_transfer_features() [all …]
|
| /linux/drivers/net/ethernet/qualcomm/emac/ |
| H A D | emac-ethtool.c | 66 static u32 emac_get_msglevel(struct net_device *netdev) in emac_get_msglevel() 73 static void emac_set_msglevel(struct net_device *netdev, u32 data) in emac_set_msglevel() 80 static int emac_get_sset_count(struct net_device *netdev, int sset) in emac_get_sset_count() 92 static void emac_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in emac_get_strings() 111 static void emac_get_ethtool_stats(struct net_device *netdev, in emac_get_ethtool_stats() 125 static int emac_nway_reset(struct net_device *netdev) in emac_nway_reset() 135 static void emac_get_ringparam(struct net_device *netdev, in emac_get_ringparam() 148 static int emac_set_ringparam(struct net_device *netdev, in emac_set_ringparam() 173 static void emac_get_pauseparam(struct net_device *netdev, in emac_get_pauseparam() 183 static int emac_set_pauseparam(struct net_device *netdev, in emac_set_pauseparam() [all …]
|
| /linux/drivers/net/ethernet/atheros/atl1c/ |
| H A D | atl1c_ethtool.c | 15 static int atl1c_get_link_ksettings(struct net_device *netdev, in atl1c_get_link_ksettings() 59 static int atl1c_set_link_ksettings(struct net_device *netdev, in atl1c_set_link_ksettings() 109 static u32 atl1c_get_msglevel(struct net_device *netdev) in atl1c_get_msglevel() 115 static void atl1c_set_msglevel(struct net_device *netdev, u32 data) in atl1c_set_msglevel() 121 static int atl1c_get_regs_len(struct net_device *netdev) in atl1c_get_regs_len() 126 static void atl1c_get_regs(struct net_device *netdev, in atl1c_get_regs() 166 static int atl1c_get_eeprom_len(struct net_device *netdev) in atl1c_get_eeprom_len() 176 static int atl1c_get_eeprom(struct net_device *netdev, in atl1c_get_eeprom() 218 static void atl1c_get_drvinfo(struct net_device *netdev, in atl1c_get_drvinfo() 228 static void atl1c_get_wol(struct net_device *netdev, in atl1c_get_wol() [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_dcb_nl.c | 14 static void ice_dcbnl_devreset(struct net_device *netdev) in ice_dcbnl_devreset() 32 static int ice_dcbnl_getets(struct net_device *netdev, struct ieee_ets *ets) in ice_dcbnl_getets() 62 static int ice_dcbnl_setets(struct net_device *netdev, struct ieee_ets *ets) in ice_dcbnl_setets() 147 static u8 ice_dcbnl_getdcbx(struct net_device *netdev) in ice_dcbnl_getdcbx() 159 static u8 ice_dcbnl_setdcbx(struct net_device *netdev, u8 mode) in ice_dcbnl_setdcbx() 205 static void ice_dcbnl_get_perm_hw_addr(struct net_device *netdev, u8 *perm_addr) in ice_dcbnl_get_perm_hw_addr() 238 static int ice_dcbnl_getpfc(struct net_device *netdev, struct ieee_pfc *pfc) in ice_dcbnl_getpfc() 264 static int ice_dcbnl_setpfc(struct net_device *netdev, struct ieee_pfc *pfc) in ice_dcbnl_setpfc() 306 ice_dcbnl_get_pfc_cfg(struct net_device *netdev, int prio, u8 *setting) in ice_dcbnl_get_pfc_cfg() 329 static void ice_dcbnl_set_pfc_cfg(struct net_device *netdev, int prio, u8 set) in ice_dcbnl_set_pfc_cfg() [all …]
|
| H A D | ice_ethtool.c | 32 static int ice_q_stats_len(struct net_device *netdev) in ice_q_stats_len() argument 431 __ice_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo, in __ice_get_drvinfo() argument 456 ice_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in ice_get_drvinfo() argument 464 static int ice_get_regs_len(struct net_device __always_unused *netdev) in ice_get_regs_len() argument 753 ice_get_extended_regs(struct net_device * netdev,void * p) ice_get_extended_regs() argument 795 ice_get_regs(struct net_device * netdev,struct ethtool_regs * regs,void * p) ice_get_regs() argument 810 ice_get_msglevel(struct net_device * netdev) ice_get_msglevel() argument 823 ice_set_msglevel(struct net_device * netdev,u32 data) ice_set_msglevel() argument 837 ice_get_link_ext_stats(struct net_device * netdev,struct ethtool_link_ext_stats * stats) ice_get_link_ext_stats() argument 845 ice_get_eeprom_len(struct net_device * netdev) ice_get_eeprom_len() argument 853 ice_get_eeprom(struct net_device * netdev,struct ethtool_eeprom * eeprom,u8 * bytes) ice_get_eeprom() argument 926 ice_link_test(struct net_device * netdev) ice_link_test() argument 953 ice_eeprom_test(struct net_device * netdev) ice_eeprom_test() argument 1009 ice_reg_test(struct net_device * netdev) ice_reg_test() argument 1270 ice_loopback_test(struct net_device * netdev) ice_loopback_test() argument 1364 ice_intr_test(struct net_device * netdev) ice_intr_test() argument 1391 ice_self_test(struct net_device * netdev,struct ethtool_test * eth_test,u64 * data) ice_self_test() argument 1464 __ice_get_strings(struct net_device * netdev,u32 stringset,u8 * data,struct ice_vsi * vsi) __ice_get_strings() argument 1515 ice_get_strings(struct net_device * netdev,u32 stringset,u8 * data) ice_get_strings() argument 1523 ice_set_phys_id(struct net_device * netdev,enum ethtool_phys_id_state state) ice_set_phys_id() argument 1550 ice_set_fec_cfg(struct net_device * netdev,enum ice_fec_mode req_fec) ice_set_fec_cfg() argument 1595 ice_set_fecparam(struct net_device * netdev,struct ethtool_fecparam * fecparam) ice_set_fecparam() argument 1630 ice_get_fecparam(struct net_device * netdev,struct ethtool_fecparam * fecparam) ice_get_fecparam() argument 1692 ice_nway_reset(struct net_device * netdev) ice_nway_reset() argument 1717 ice_get_priv_flags(struct net_device * netdev) ice_get_priv_flags() argument 1739 ice_set_priv_flags(struct net_device * netdev,u32 flags) ice_set_priv_flags() argument 1889 ice_get_sset_count(struct net_device * netdev,int sset) ice_get_sset_count() argument 1922 __ice_get_ethtool_stats(struct net_device * netdev,struct ethtool_stats __always_unused * stats,u64 * data,struct ice_vsi * vsi) __ice_get_ethtool_stats() argument 2011 ice_get_ethtool_stats(struct net_device * netdev,struct ethtool_stats __always_unused * stats,u64 * data) ice_get_ethtool_stats() argument 2119 ice_phy_type_to_ethtool(struct net_device * netdev,struct ethtool_link_ksettings * ks) ice_phy_type_to_ethtool() argument 2216 ice_get_settings_link_up(struct ethtool_link_ksettings * ks,struct net_device * netdev) ice_get_settings_link_up() argument 2305 ice_get_settings_link_down(struct ethtool_link_ksettings * ks,struct net_device * netdev) ice_get_settings_link_down() argument 2325 ice_get_link_ksettings(struct net_device * netdev,struct ethtool_link_ksettings * ks) ice_get_link_ksettings() argument 2526 ice_setup_autoneg(struct ice_port_info * p,struct ethtool_link_ksettings * ks,struct ice_aqc_set_phy_cfg_data * config,u8 autoneg_enabled,u8 * autoneg_changed,struct net_device * netdev) ice_setup_autoneg() argument 2614 ice_set_link_ksettings(struct net_device * netdev,const struct ethtool_link_ksettings * ks) ice_set_link_ksettings() argument 2972 ice_set_rxfh_fields(struct net_device * netdev,const struct ethtool_rxfh_fields * nfc,struct netlink_ext_ack * extack) ice_set_rxfh_fields() argument 3024 ice_get_rxfh_fields(struct net_device * netdev,struct ethtool_rxfh_fields * nfc) ice_get_rxfh_fields() argument 3092 ice_set_rxnfc(struct net_device * netdev,struct ethtool_rxnfc * cmd) ice_set_rxnfc() argument 3114 ice_get_rx_ring_count(struct net_device * netdev) ice_get_rx_ring_count() argument 3131 ice_get_rxnfc(struct net_device * netdev,struct ethtool_rxnfc * cmd,u32 __always_unused * rule_locs) ice_get_rxnfc() argument 3162 ice_get_ringparam(struct net_device * netdev,struct ethtool_ringparam * ring,struct kernel_ethtool_ringparam * kernel_ring,struct netlink_ext_ack * extack) ice_get_ringparam() argument 3193 ice_set_ringparam(struct net_device * netdev,struct ethtool_ringparam * ring,struct kernel_ethtool_ringparam * kernel_ring,struct netlink_ext_ack * extack) ice_set_ringparam() argument 3455 ice_get_pauseparam(struct net_device * netdev,struct ethtool_pauseparam * pause) ice_get_pauseparam() argument 3501 ice_set_pauseparam(struct net_device * netdev,struct ethtool_pauseparam * pause) ice_set_pauseparam() argument 3605 ice_get_rxfh_key_size(struct net_device __always_unused * netdev) ice_get_rxfh_key_size() argument 3616 ice_get_rxfh_indir_size(struct net_device * netdev) ice_get_rxfh_indir_size() argument 3631 ice_get_rxfh(struct net_device * netdev,struct ethtool_rxfh_param * rxfh) ice_get_rxfh() argument 3687 ice_set_rxfh(struct net_device * netdev,struct ethtool_rxfh_param * rxfh,struct netlink_ext_ack * extack) ice_set_rxfh() argument 3983 ice_get_wol(struct net_device * netdev,struct ethtool_wolinfo * wol) ice_get_wol() argument 4006 ice_set_wol(struct net_device * netdev,struct ethtool_wolinfo * wol) ice_set_wol() argument 4110 __ice_get_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,int q_num) __ice_get_coalesce() argument 4125 ice_get_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) ice_get_coalesce() argument 4134 ice_get_per_q_coalesce(struct net_device * netdev,u32 q_num,struct ethtool_coalesce * ec) ice_get_per_q_coalesce() argument 4282 ice_print_if_odd_usecs(struct net_device * netdev,u16 itr_setting,u32 use_adaptive_coalesce,u32 coalesce_usecs,const char * c_type_str) ice_print_if_odd_usecs() argument 4305 __ice_set_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,int q_num) __ice_set_coalesce() argument 4350 ice_set_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) ice_set_coalesce() argument 4359 ice_set_per_q_coalesce(struct net_device * netdev,u32 q_num,struct ethtool_coalesce * ec) ice_set_per_q_coalesce() argument 4366 ice_repr_get_drvinfo(struct net_device * netdev,struct ethtool_drvinfo * drvinfo) ice_repr_get_drvinfo() argument 4378 ice_repr_get_strings(struct net_device * netdev,u32 stringset,u8 * data) ice_repr_get_strings() argument 4390 ice_repr_get_ethtool_stats(struct net_device * netdev,struct ethtool_stats __always_unused * stats,u64 * data) ice_repr_get_ethtool_stats() argument 4402 ice_repr_get_sset_count(struct net_device * netdev,int sset) ice_repr_get_sset_count() argument 4430 ice_get_module_info(struct net_device * netdev,struct ethtool_modinfo * modinfo) ice_get_module_info() argument 4502 ice_get_module_eeprom(struct net_device * netdev,struct ethtool_eeprom * ee,u8 * data) ice_get_module_eeprom() argument 4632 ice_get_fec_stats(struct net_device * netdev,struct ethtool_fec_stats * fec_stats,struct ethtool_fec_hist * hist) ice_get_fec_stats() argument 4666 ice_get_eth_mac_stats(struct net_device * netdev,struct ethtool_eth_mac_stats * mac_stats) ice_get_eth_mac_stats() argument 4689 ice_get_pause_stats(struct net_device * netdev,struct ethtool_pause_stats * pause_stats) ice_get_pause_stats() argument 4710 ice_get_rmon_stats(struct net_device * netdev,struct ethtool_rmon_stats * rmon,const struct ethtool_rmon_hist_range ** ranges) ice_get_rmon_stats() argument 4745 ice_get_ts_stats(struct net_device * netdev,struct ethtool_ts_stats * ts_stats) ice_get_ts_stats() argument 4917 ice_set_ethtool_safe_mode_ops(struct net_device * netdev) ice_set_ethtool_safe_mode_ops() argument 4935 ice_set_ethtool_repr_ops(struct net_device * netdev) ice_set_ethtool_repr_ops() argument 4946 ice_set_ethtool_ops(struct net_device * netdev) ice_set_ethtool_ops() argument [all...] |
| /linux/drivers/net/ethernet/atheros/atl1e/ |
| H A D | atl1e_ethtool.c | 15 static int atl1e_get_link_ksettings(struct net_device *netdev, in atl1e_get_link_ksettings() 60 static int atl1e_set_link_ksettings(struct net_device *netdev, in atl1e_set_link_ksettings() 131 static u32 atl1e_get_msglevel(struct net_device *netdev) in atl1e_get_msglevel() 140 static int atl1e_get_regs_len(struct net_device *netdev) in atl1e_get_regs_len() 145 static void atl1e_get_regs(struct net_device *netdev, in atl1e_get_regs() 194 static int atl1e_get_eeprom_len(struct net_device *netdev) in atl1e_get_eeprom_len() 204 static int atl1e_get_eeprom(struct net_device *netdev, in atl1e_get_eeprom() 244 static int atl1e_set_eeprom(struct net_device *netdev, in atl1e_set_eeprom() 304 static void atl1e_get_drvinfo(struct net_device *netdev, in atl1e_get_drvinfo() 315 static void atl1e_get_wol(struct net_device *netdev, in atl1e_get_wol() [all …]
|
| H A D | atl1e_main.c | 148 struct net_device *netdev = adapter->netdev; in atl1e_check_link() local 212 struct net_device *netdev = adapter->netdev; in atl1e_link_chg_event() local 249 static void atl1e_tx_timeout(struct net_device *netdev, unsigned int txqueue) in atl1e_tx_timeout() 266 static void atl1e_set_multi(struct net_device *netdev) in atl1e_set_multi() 311 static void atl1e_rx_mode(struct net_device *netdev, in atl1e_rx_mode() 338 static void atl1e_vlan_mode(struct net_device *netdev, in atl1e_vlan_mode() 366 static int atl1e_set_mac_addr(struct net_device *netdev, void *p) in atl1e_set_mac_addr() 385 static netdev_features_t atl1e_fix_features(struct net_device *netdev, in atl1e_fix_features() 400 static int atl1e_set_features(struct net_device *netdev, in atl1e_set_features() 422 static int atl1e_change_mtu(struct net_device *netdev, int new_mtu) in atl1e_change_mtu() [all …]
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_ethtool.c | 134 static void igc_ethtool_get_drvinfo(struct net_device *netdev, in igc_ethtool_get_drvinfo() 165 static int igc_ethtool_get_regs_len(struct net_device *netdev) in igc_ethtool_get_regs_len() 170 static void igc_ethtool_get_regs(struct net_device *netdev, in igc_ethtool_get_regs() 352 static void igc_ethtool_get_wol(struct net_device *netdev, in igc_ethtool_get_wol() 384 static int igc_ethtool_set_wol(struct net_device *netdev, in igc_ethtool_set_wol() 413 static u32 igc_ethtool_get_msglevel(struct net_device *netdev) in igc_ethtool_get_msglevel() 420 static void igc_ethtool_set_msglevel(struct net_device *netdev, u32 data) in igc_ethtool_set_msglevel() 427 static int igc_ethtool_nway_reset(struct net_device *netdev) in igc_ethtool_nway_reset() 436 static u32 igc_ethtool_get_link(struct net_device *netdev) in igc_ethtool_get_link() 453 static int igc_ethtool_get_eeprom_len(struct net_device *netdev) in igc_ethtool_get_eeprom_len() [all …]
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_dcb_nl.c | 105 static int i40e_dcbnl_ieee_setets(struct net_device *netdev, in i40e_dcbnl_ieee_setets() 153 static int i40e_dcbnl_ieee_setpfc(struct net_device *netdev, in i40e_dcbnl_ieee_setpfc() 192 static int i40e_dcbnl_ieee_setapp(struct net_device *netdev, in i40e_dcbnl_ieee_setapp() 244 static int i40e_dcbnl_ieee_delapp(struct net_device *netdev, in i40e_dcbnl_ieee_delapp() 307 static u8 i40e_dcbnl_getstate(struct net_device *netdev) in i40e_dcbnl_getstate() 323 static u8 i40e_dcbnl_setstate(struct net_device *netdev, u8 state) in i40e_dcbnl_setstate() 365 static void i40e_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, in i40e_dcbnl_set_pg_tc_cfg_tx() 401 static void i40e_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, in i40e_dcbnl_set_pg_bwg_cfg_tx() 431 static void i40e_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, in i40e_dcbnl_set_pg_tc_cfg_rx() 452 static void i40e_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, in i40e_dcbnl_set_pg_bwg_cfg_rx() [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_ethtool.c | 472 static void hns3_update_limit_promisc_mode(struct net_device *netdev, in hns3_update_limit_promisc_mode() 489 static int hns3_get_sset_count(struct net_device *netdev, int stringset) in hns3_get_sset_count() 540 static void hns3_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in hns3_get_strings() 600 static void hns3_get_stats(struct net_device *netdev, in hns3_get_stats() 625 static void hns3_get_drvinfo(struct net_device *netdev, in hns3_get_drvinfo() 657 static u32 hns3_get_link(struct net_device *netdev) in hns3_get_link() 667 static void hns3_get_ringparam(struct net_device *netdev, in hns3_get_ringparam() 691 static void hns3_get_pauseparam(struct net_device *netdev, in hns3_get_pauseparam() 705 static int hns3_set_pauseparam(struct net_device *netdev, in hns3_set_pauseparam() 750 static int hns3_get_link_ksettings(struct net_device *netdev, in hns3_get_link_ksettings() [all …]
|
| /linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
| H A D | pch_gbe_ethtool.c | 74 static int pch_gbe_get_link_ksettings(struct net_device *netdev, in pch_gbe_get_link_ksettings() 109 static int pch_gbe_set_link_ksettings(struct net_device *netdev, in pch_gbe_set_link_ksettings() 157 static int pch_gbe_get_regs_len(struct net_device *netdev) in pch_gbe_get_regs_len() 167 static void pch_gbe_get_drvinfo(struct net_device *netdev, in pch_gbe_get_drvinfo() 184 static void pch_gbe_get_regs(struct net_device *netdev, in pch_gbe_get_regs() 208 static void pch_gbe_get_wol(struct net_device *netdev, in pch_gbe_get_wol() 234 static int pch_gbe_set_wol(struct net_device *netdev, in pch_gbe_set_wol() 262 static int pch_gbe_nway_reset(struct net_device *netdev) in pch_gbe_nway_reset() 276 static void pch_gbe_get_ringparam(struct net_device *netdev, in pch_gbe_get_ringparam() 301 static int pch_gbe_set_ringparam(struct net_device *netdev, in pch_gbe_set_ringparam() [all …]
|
| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve_ethtool.c | 13 static void gve_get_drvinfo(struct net_device *netdev, in gve_get_drvinfo() argument 23 static void gve_set_msglevel(struct net_device *netdev, u32 value) in gve_set_msglevel() argument 30 static u32 gve_get_msglevel(struct net_device *netdev) in gve_get_msglevel() argument 92 static void gve_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in gve_get_strings() argument 130 static int gve_get_sset_count(struct net_device *netdev, int sset) in gve_get_sset_count() argument 149 gve_get_ethtool_stats(struct net_device * netdev,struct ethtool_stats * stats,u64 * data) gve_get_ethtool_stats() argument 485 gve_get_channels(struct net_device * netdev,struct ethtool_channels * cmd) gve_get_channels() argument 500 gve_set_channels(struct net_device * netdev,struct ethtool_channels * cmd) gve_set_channels() argument 543 gve_get_ringparam(struct net_device * netdev,struct ethtool_ringparam * cmd,struct kernel_ethtool_ringparam * kernel_cmd,struct netlink_ext_ack * extack) gve_get_ringparam() argument 606 gve_set_ringparam(struct net_device * netdev,struct ethtool_ringparam * cmd,struct kernel_ethtool_ringparam * kernel_cmd,struct netlink_ext_ack * extack) gve_set_ringparam() argument 648 gve_user_reset(struct net_device * netdev,u32 * flags) gve_user_reset() argument 660 gve_get_tunable(struct net_device * netdev,const struct ethtool_tunable * etuna,void * value) gve_get_tunable() argument 674 gve_set_tunable(struct net_device * netdev,const struct ethtool_tunable * etuna,const void * value) gve_set_tunable() argument 697 gve_get_priv_flags(struct net_device * netdev) gve_get_priv_flags() argument 708 gve_set_priv_flags(struct net_device * netdev,u32 flags) gve_set_priv_flags() argument 745 gve_get_link_ksettings(struct net_device * netdev,struct ethtool_link_ksettings * cmd) gve_get_link_ksettings() argument 761 gve_get_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,struct kernel_ethtool_coalesce * kernel_ec,struct netlink_ext_ack * extack) gve_get_coalesce() argument 776 gve_set_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,struct kernel_ethtool_coalesce * kernel_ec,struct netlink_ext_ack * extack) gve_set_coalesce() argument 818 gve_set_rxnfc(struct net_device * netdev,struct ethtool_rxnfc * cmd) gve_set_rxnfc() argument 841 gve_get_rx_ring_count(struct net_device * netdev) gve_get_rx_ring_count() argument 848 gve_get_rxnfc(struct net_device * netdev,struct ethtool_rxnfc * cmd,u32 * rule_locs) gve_get_rxnfc() argument 879 gve_get_rxfh_key_size(struct net_device * netdev) gve_get_rxfh_key_size() argument 886 gve_get_rxfh_indir_size(struct net_device * netdev) gve_get_rxfh_indir_size() argument 912 gve_get_rxfh(struct net_device * netdev,struct ethtool_rxfh_param * rxfh) gve_get_rxfh() argument 940 gve_set_rxfh(struct net_device * netdev,struct ethtool_rxfh_param * rxfh,struct netlink_ext_ack * extack) gve_set_rxfh() argument 961 gve_get_ts_info(struct net_device * netdev,struct kernel_ethtool_ts_info * info) gve_get_ts_info() argument [all...] |
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_ethtool.c | 255 static int hinic_get_link_ksettings(struct net_device *netdev, in hinic_get_link_ksettings() 368 struct net_device *netdev = nic_dev->netdev; in hinic_is_speed_legal() local 463 struct net_device *netdev = nic_dev->netdev; in hinic_set_settings_to_hw() local 502 static int set_link_settings(struct net_device *netdev, u8 autoneg, u32 speed) in set_link_settings() 521 static int hinic_set_link_ksettings(struct net_device *netdev, const struct in hinic_set_link_ksettings() 529 static void hinic_get_drvinfo(struct net_device *netdev, in hinic_get_drvinfo() 548 static void hinic_get_ringparam(struct net_device *netdev, in hinic_get_ringparam() 583 static int hinic_set_ringparam(struct net_device *netdev, in hinic_set_ringparam() 631 static int __hinic_get_coalesce(struct net_device *netdev, in __hinic_get_coalesce() 683 struct net_device *netdev = nic_dev->netdev; in set_queue_coalesce() local [all …]
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bnad_ethtool.c | 235 bnad_get_link_ksettings(struct net_device *netdev, in bnad_get_link_ksettings() 265 bnad_set_link_ksettings(struct net_device *netdev, in bnad_set_link_ksettings() 280 bnad_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in bnad_get_drvinfo() 304 bnad_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wolinfo) in bnad_get_wol() 310 static int bnad_get_coalesce(struct net_device *netdev, in bnad_get_coalesce() 333 static int bnad_set_coalesce(struct net_device *netdev, in bnad_set_coalesce() 407 bnad_get_ringparam(struct net_device *netdev, in bnad_get_ringparam() 422 bnad_set_ringparam(struct net_device *netdev, in bnad_set_ringparam() 501 bnad_get_pauseparam(struct net_device *netdev, in bnad_get_pauseparam() 512 bnad_set_pauseparam(struct net_device *netdev, in bnad_set_pauseparam() [all …]
|
| /linux/net/core/ |
| H A D | dev_addr_lists_test.c | 24 struct dev_addr_test_priv *datp = netdev_priv(netdev); in dev_addr_test_unsync() argument 57 struct net_device *netdev; in dev_addr_test_exit() local 15 dev_addr_test_sync(struct net_device * netdev,const unsigned char * a) dev_addr_test_sync() argument 37 struct net_device *netdev; dev_addr_test_init() local 65 struct net_device *netdev = test->priv; dev_addr_test_basic() local 83 struct net_device *netdev = test->priv; dev_addr_test_sync_one() local 112 struct net_device *netdev = test->priv; dev_addr_test_add_del() local 154 struct net_device *netdev = test->priv; dev_addr_test_del_main() local 174 struct net_device *netdev = test->priv; dev_addr_test_add_set() local 206 struct net_device *netdev = test->priv; dev_addr_test_add_excl() local [all...] |
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_ethtool.c | 253 static int iavf_get_link_ksettings(struct net_device *netdev, in iavf_get_link_ksettings() 312 static int iavf_get_sset_count(struct net_device *netdev, int sset) in iavf_get_sset_count() 335 static void iavf_get_ethtool_stats(struct net_device *netdev, in iavf_get_ethtool_stats() 371 static void iavf_get_stat_strings(struct net_device *netdev, u8 *data) in iavf_get_stat_strings() 396 static void iavf_get_strings(struct net_device *netdev, u32 sset, u8 *data) in iavf_get_strings() 413 static u32 iavf_get_msglevel(struct net_device *netdev) in iavf_get_msglevel() 428 static void iavf_set_msglevel(struct net_device *netdev, u32 data) in iavf_set_msglevel() 444 static void iavf_get_drvinfo(struct net_device *netdev, in iavf_get_drvinfo() 464 static void iavf_get_ringparam(struct net_device *netdev, in iavf_get_ringparam() 487 static int iavf_set_ringparam(struct net_device *netdev, in iavf_set_ringparam() [all …]
|
| /linux/net/openvswitch/ |
| H A D | vport-internal_dev.c | 27 static struct internal_dev *internal_dev_priv(struct net_device *netdev) in internal_dev_priv() 34 internal_dev_xmit(struct sk_buff *skb, struct net_device *netdev) in internal_dev_xmit() 53 static int internal_dev_open(struct net_device *netdev) in internal_dev_open() 59 static int internal_dev_stop(struct net_device *netdev) in internal_dev_stop() 65 static void internal_dev_getinfo(struct net_device *netdev, in internal_dev_getinfo() 94 static void do_setup(struct net_device *netdev) in do_setup() 188 struct net_device *netdev = skb->dev; in internal_dev_recv() local 215 int ovs_is_internal_dev(const struct net_device *netdev) in ovs_is_internal_dev() 220 struct vport *ovs_internal_dev_get_vport(struct net_device *netdev) in ovs_internal_dev_get_vport()
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | ethtool.c | 112 static int e1000_get_link_ksettings(struct net_device *netdev, in e1000_get_link_ksettings() argument 268 static int e1000_set_link_ksettings(struct net_device *netdev, in e1000_set_link_ksettings() argument 350 static void e1000_get_pauseparam(struct net_device *netdev, in e1000_get_pauseparam() argument 369 e1000_set_pauseparam(struct net_device * netdev,struct ethtool_pauseparam * pause) e1000_set_pauseparam() argument 417 e1000_get_msglevel(struct net_device * netdev) e1000_get_msglevel() argument 423 e1000_set_msglevel(struct net_device * netdev,u32 data) e1000_set_msglevel() argument 429 e1000_get_regs_len(struct net_device __always_unused * netdev) e1000_get_regs_len() argument 435 e1000_get_regs(struct net_device * netdev,struct ethtool_regs * regs,void * p) e1000_get_regs() argument 490 e1000_get_eeprom_len(struct net_device * netdev) e1000_get_eeprom_len() argument 496 e1000_get_eeprom(struct net_device * netdev,struct ethtool_eeprom * eeprom,u8 * bytes) e1000_get_eeprom() argument 549 e1000_set_eeprom(struct net_device * netdev,struct ethtool_eeprom * eeprom,u8 * bytes) e1000_set_eeprom() argument 626 e1000_get_drvinfo(struct net_device * netdev,struct ethtool_drvinfo * drvinfo) e1000_get_drvinfo() argument 646 e1000_get_ringparam(struct net_device * netdev,struct ethtool_ringparam * ring,struct kernel_ethtool_ringparam * kernel_ring,struct netlink_ext_ack * extack) e1000_get_ringparam() argument 659 e1000_set_ringparam(struct net_device * netdev,struct ethtool_ringparam * ring,struct kernel_ethtool_ringparam * kernel_ring,struct netlink_ext_ack * extack) e1000_set_ringparam() argument 972 struct net_device *netdev = (struct net_device *)data; e1000_test_intr() local 983 struct net_device *netdev = adapter->netdev; e1000_intr_test() local 1771 e1000e_get_sset_count(struct net_device __always_unused * netdev,int sset) e1000e_get_sset_count() argument 1786 e1000_diag_test(struct net_device * netdev,struct ethtool_test * eth_test,u64 * data) e1000_diag_test() argument 1882 e1000_get_wol(struct net_device * netdev,struct ethtool_wolinfo * wol) e1000_get_wol() argument 1917 e1000_set_wol(struct net_device * netdev,struct ethtool_wolinfo * wol) e1000_set_wol() argument 1946 e1000_set_phys_id(struct net_device * netdev,enum ethtool_phys_id_state state) e1000_set_phys_id() argument 1982 e1000_get_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) e1000_get_coalesce() argument 1997 e1000_set_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) e1000_set_coalesce() argument 2029 e1000_nway_reset(struct net_device * netdev) e1000_nway_reset() argument 2044 e1000_get_ethtool_stats(struct net_device * netdev,struct ethtool_stats __always_unused * stats,u64 * data) e1000_get_ethtool_stats() argument 2075 e1000_get_strings(struct net_device __always_unused * netdev,u32 stringset,u8 * data) e1000_get_strings() argument 2099 e1000_get_rxfh_fields(struct net_device * netdev,struct ethtool_rxfh_fields * info) e1000_get_rxfh_fields() argument 2142 e1000e_get_eee(struct net_device * netdev,struct ethtool_keee * edata) e1000e_get_eee() argument 2212 e1000e_set_eee(struct net_device * netdev,struct ethtool_keee * edata) e1000e_set_eee() argument 2258 e1000e_get_ts_info(struct net_device * netdev,struct kernel_ethtool_ts_info * info) e1000e_get_ts_info() argument 2292 e1000e_get_priv_flags(struct net_device * netdev) e1000e_get_priv_flags() argument 2306 e1000e_set_priv_flags(struct net_device * netdev,u32 priv_flags) e1000e_set_priv_flags() argument 2391 e1000e_set_ethtool_ops(struct net_device * netdev) e1000e_set_ethtool_ops() argument [all...] |
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_ethtool.c | 77 static void otx2_get_drvinfo(struct net_device *netdev, in otx2_get_drvinfo() 109 static void otx2_get_strings(struct net_device *netdev, u32 sset, u8 *data) in otx2_get_strings() 186 static void otx2_get_ethtool_stats(struct net_device *netdev, in otx2_get_ethtool_stats() 242 static int otx2_get_sset_count(struct net_device *netdev, int sset) in otx2_get_sset_count() 315 static void otx2_get_pauseparam(struct net_device *netdev, in otx2_get_pauseparam() 345 static int otx2_set_pauseparam(struct net_device *netdev, in otx2_set_pauseparam() 369 static void otx2_get_ringparam(struct net_device *netdev, in otx2_get_ringparam() 385 static int otx2_set_ringparam(struct net_device *netdev, in otx2_set_ringparam() 461 static int otx2_get_coalesce(struct net_device *netdev, in otx2_get_coalesce() 485 static int otx2_set_coalesce(struct net_device *netdev, in otx2_set_coalesce() [all …]
|
| /linux/drivers/net/ethernet/atheros/alx/ |
| H A D | ethtool.c | 128 static int alx_get_link_ksettings(struct net_device *netdev, in alx_get_link_ksettings() 179 static int alx_set_link_ksettings(struct net_device *netdev, in alx_set_link_ksettings() 212 static void alx_get_pauseparam(struct net_device *netdev, in alx_get_pauseparam() 227 static int alx_set_pauseparam(struct net_device *netdev, in alx_set_pauseparam() 272 static u32 alx_get_msglevel(struct net_device *netdev) in alx_get_msglevel() 279 static void alx_set_msglevel(struct net_device *netdev, u32 data) in alx_set_msglevel() 286 static void alx_get_ethtool_stats(struct net_device *netdev, in alx_get_ethtool_stats() 301 static void alx_get_strings(struct net_device *netdev, u32 stringset, u8 *buf) in alx_get_strings() 313 static int alx_get_sset_count(struct net_device *netdev, int sset) in alx_get_sset_count()
|
| /linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
| H A D | mlxbf_gige_ethtool.c | 14 static int mlxbf_gige_get_regs_len(struct net_device *netdev) in mlxbf_gige_get_regs_len() 19 static void mlxbf_gige_get_regs(struct net_device *netdev, in mlxbf_gige_get_regs() 35 mlxbf_gige_get_ringparam(struct net_device *netdev, in mlxbf_gige_get_ringparam() 65 static int mlxbf_gige_get_sset_count(struct net_device *netdev, int stringset) in mlxbf_gige_get_sset_count() 72 static void mlxbf_gige_get_strings(struct net_device *netdev, u32 stringset, in mlxbf_gige_get_strings() 81 static void mlxbf_gige_get_ethtool_stats(struct net_device *netdev, in mlxbf_gige_get_ethtool_stats() 119 static void mlxbf_gige_get_pauseparam(struct net_device *netdev, in mlxbf_gige_get_pauseparam() 144 static void mlxbf_gige_get_pause_stats(struct net_device *netdev, in mlxbf_gige_get_pause_stats()
|
| /linux/drivers/net/ethernet/cortina/ |
| H A D | gemini.c | 109 struct net_device *netdev; member 228 static void gmac_update_config0_reg(struct net_device *netdev, in gmac_update_config0_reg() 244 static void gmac_enable_tx_rx(struct net_device *netdev) in gmac_enable_tx_rx() 259 static void gmac_disable_tx_rx(struct net_device *netdev) in gmac_disable_tx_rx() 276 static void gmac_set_flow_control(struct net_device *netdev, bool tx, bool rx) in gmac_set_flow_control() 295 static void gmac_adjust_link(struct net_device *netdev) in gmac_adjust_link() 360 static int gmac_setup_phy(struct net_device *netdev) in gmac_setup_phy() 464 static int gmac_init(struct net_device *netdev) in gmac_init() 544 static int gmac_setup_txqs(struct net_device *netdev) in gmac_setup_txqs() 602 static void gmac_clean_txq(struct net_device *netdev, struct gmac_txq *txq, in gmac_clean_txq() [all …]
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_dcb_nl.c | 119 static u8 ixgbe_dcbnl_get_state(struct net_device *netdev) in ixgbe_dcbnl_get_state() 126 static u8 ixgbe_dcbnl_set_state(struct net_device *netdev, u8 state) in ixgbe_dcbnl_set_state() 142 static void ixgbe_dcbnl_get_perm_hw_addr(struct net_device *netdev, in ixgbe_dcbnl_get_perm_hw_addr() 166 static void ixgbe_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, in ixgbe_dcbnl_set_pg_tc_cfg_tx() 184 static void ixgbe_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int bwg_id, in ixgbe_dcbnl_set_pg_bwg_cfg_tx() 192 static void ixgbe_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, int tc, in ixgbe_dcbnl_set_pg_tc_cfg_rx() 210 static void ixgbe_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int bwg_id, in ixgbe_dcbnl_set_pg_bwg_cfg_rx() 218 static void ixgbe_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int tc, in ixgbe_dcbnl_get_pg_tc_cfg_tx() 230 static void ixgbe_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int bwg_id, in ixgbe_dcbnl_get_pg_bwg_cfg_tx() 238 static void ixgbe_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int tc, in ixgbe_dcbnl_get_pg_tc_cfg_rx() [all …]
|