Home
last modified time | relevance | path

Searched defs:netdev (Results 1 – 25 of 559) sorted by relevance

12345678910>>...23

/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_dcbnl.c13 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/huawei/hinic3/
H A Dhinic3_netdev_ops.c29 static u16 hinic3_qp_irq_change(struct net_device *netdev, in hinic3_qp_irq_change()
65 static void hinic3_config_num_qps(struct net_device *netdev, in hinic3_config_num_qps()
96 static int hinic3_setup_num_qps(struct net_device *netdev) in hinic3_setup_num_qps()
112 static void hinic3_destroy_num_qps(struct net_device *netdev) in hinic3_destroy_num_qps()
124 static int hinic3_alloc_txrxq_resources(struct net_device *netdev, in hinic3_alloc_txrxq_resources()
179 static void hinic3_free_txrxq_resources(struct net_device *netdev, in hinic3_free_txrxq_resources()
197 static int hinic3_configure_txrxqs(struct net_device *netdev, in hinic3_configure_txrxqs()
219 static int hinic3_configure(struct net_device *netdev) in hinic3_configure()
246 static void hinic3_remove_configure(struct net_device *netdev) in hinic3_remove_configure()
254 static int hinic3_alloc_channel_resources(struct net_device *netdev, in hinic3_alloc_channel_resources()
[all …]
H A Dhinic3_main.c35 static void init_intr_coal_param(struct net_device *netdev) in init_intr_coal_param()
56 static int hinic3_init_intr_coalesce(struct net_device *netdev) in hinic3_init_intr_coalesce()
71 static void hinic3_free_intr_coalesce(struct net_device *netdev) in hinic3_free_intr_coalesce()
78 static int hinic3_alloc_txrxqs(struct net_device *netdev) in hinic3_alloc_txrxqs()
112 static void hinic3_free_txrxqs(struct net_device *netdev) in hinic3_free_txrxqs()
135 static int hinic3_init_nic_dev(struct net_device *netdev, in hinic3_init_nic_dev()
172 static int hinic3_sw_init(struct net_device *netdev) in hinic3_sw_init()
230 static void hinic3_sw_uninit(struct net_device *netdev) in hinic3_sw_uninit()
241 static void hinic3_assign_netdev_ops(struct net_device *netdev) in hinic3_assign_netdev_ops()
246 static void netdev_feature_init(struct net_device *netdev) in netdev_feature_init()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c217 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 Dnfp_net_repr.c27 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 Demac-ethtool.c66 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/intel/ice/
H A Dice_dcb_nl.c14 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 Dice_ethtool.c32 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
2003 ice_get_ethtool_stats(struct net_device * netdev,struct ethtool_stats __always_unused * stats,u64 * data) ice_get_ethtool_stats() argument
2111 ice_phy_type_to_ethtool(struct net_device * netdev,struct ethtool_link_ksettings * ks) ice_phy_type_to_ethtool() argument
2208 ice_get_settings_link_up(struct ethtool_link_ksettings * ks,struct net_device * netdev) ice_get_settings_link_up() argument
2297 ice_get_settings_link_down(struct ethtool_link_ksettings * ks,struct net_device * netdev) ice_get_settings_link_down() argument
2317 ice_get_link_ksettings(struct net_device * netdev,struct ethtool_link_ksettings * ks) ice_get_link_ksettings() argument
2518 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
2606 ice_set_link_ksettings(struct net_device * netdev,const struct ethtool_link_ksettings * ks) ice_set_link_ksettings() argument
2964 ice_set_rxfh_fields(struct net_device * netdev,const struct ethtool_rxfh_fields * nfc,struct netlink_ext_ack * extack) ice_set_rxfh_fields() argument
3016 ice_get_rxfh_fields(struct net_device * netdev,struct ethtool_rxfh_fields * nfc) ice_get_rxfh_fields() argument
3084 ice_set_rxnfc(struct net_device * netdev,struct ethtool_rxnfc * cmd) ice_set_rxnfc() argument
3106 ice_get_rx_ring_count(struct net_device * netdev) ice_get_rx_ring_count() argument
3123 ice_get_rxnfc(struct net_device * netdev,struct ethtool_rxnfc * cmd,u32 __always_unused * rule_locs) ice_get_rxnfc() argument
3154 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
3185 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
3446 ice_get_pauseparam(struct net_device * netdev,struct ethtool_pauseparam * pause) ice_get_pauseparam() argument
3492 ice_set_pauseparam(struct net_device * netdev,struct ethtool_pauseparam * pause) ice_set_pauseparam() argument
3596 ice_get_rxfh_key_size(struct net_device __always_unused * netdev) ice_get_rxfh_key_size() argument
3607 ice_get_rxfh_indir_size(struct net_device * netdev) ice_get_rxfh_indir_size() argument
3622 ice_get_rxfh(struct net_device * netdev,struct ethtool_rxfh_param * rxfh) ice_get_rxfh() argument
3678 ice_set_rxfh(struct net_device * netdev,struct ethtool_rxfh_param * rxfh,struct netlink_ext_ack * extack) ice_set_rxfh() argument
3992 ice_get_wol(struct net_device * netdev,struct ethtool_wolinfo * wol) ice_get_wol() argument
4015 ice_set_wol(struct net_device * netdev,struct ethtool_wolinfo * wol) ice_set_wol() argument
4119 __ice_get_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,int q_num) __ice_get_coalesce() argument
4134 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
4143 ice_get_per_q_coalesce(struct net_device * netdev,u32 q_num,struct ethtool_coalesce * ec) ice_get_per_q_coalesce() argument
4291 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
4314 __ice_set_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,int q_num) __ice_set_coalesce() argument
4359 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
4368 ice_set_per_q_coalesce(struct net_device * netdev,u32 q_num,struct ethtool_coalesce * ec) ice_set_per_q_coalesce() argument
4375 ice_repr_get_drvinfo(struct net_device * netdev,struct ethtool_drvinfo * drvinfo) ice_repr_get_drvinfo() argument
4387 ice_repr_get_strings(struct net_device * netdev,u32 stringset,u8 * data) ice_repr_get_strings() argument
4399 ice_repr_get_ethtool_stats(struct net_device * netdev,struct ethtool_stats __always_unused * stats,u64 * data) ice_repr_get_ethtool_stats() argument
4411 ice_repr_get_sset_count(struct net_device * netdev,int sset) ice_repr_get_sset_count() argument
4439 ice_get_module_info(struct net_device * netdev,struct ethtool_modinfo * modinfo) ice_get_module_info() argument
4511 ice_get_module_eeprom(struct net_device * netdev,struct ethtool_eeprom * ee,u8 * data) ice_get_module_eeprom() argument
4641 ice_get_fec_stats(struct net_device * netdev,struct ethtool_fec_stats * fec_stats,struct ethtool_fec_hist * hist) ice_get_fec_stats() argument
4675 ice_get_eth_mac_stats(struct net_device * netdev,struct ethtool_eth_mac_stats * mac_stats) ice_get_eth_mac_stats() argument
4698 ice_get_pause_stats(struct net_device * netdev,struct ethtool_pause_stats * pause_stats) ice_get_pause_stats() argument
4719 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
4754 ice_get_ts_stats(struct net_device * netdev,struct ethtool_ts_stats * ts_stats) ice_get_ts_stats() argument
4926 ice_set_ethtool_safe_mode_ops(struct net_device * netdev) ice_set_ethtool_safe_mode_ops() argument
4944 ice_set_ethtool_repr_ops(struct net_device * netdev) ice_set_ethtool_repr_ops() argument
4955 ice_set_ethtool_ops(struct net_device * netdev) ice_set_ethtool_ops() argument
[all...]
/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_ethtool.c15 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/atheros/atl1e/
H A Datl1e_ethtool.c15 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 Datl1e_main.c148 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 Digc_ethtool.c134 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 Di40e_dcb_nl.c105 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 Dhns3_ethtool.c472 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 Dpch_gbe_ethtool.c74 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 Dgve_ethtool.c13 static void gve_get_drvinfo(struct net_device *netdev, in gve_get_drvinfo()
23 static void gve_set_msglevel(struct net_device *netdev, u32 value) in gve_set_msglevel()
30 static u32 gve_get_msglevel(struct net_device *netdev) in gve_get_msglevel()
92 static void gve_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in gve_get_strings()
130 static int gve_get_sset_count(struct net_device *netdev, int sset) in gve_get_sset_count()
149 gve_get_ethtool_stats(struct net_device *netdev, in gve_get_ethtool_stats()
485 static void gve_get_channels(struct net_device *netdev, in gve_get_channels()
500 static int gve_set_channels(struct net_device *netdev, in gve_set_channels()
543 static void gve_get_ringparam(struct net_device *netdev, in gve_get_ringparam()
606 static int gve_set_ringparam(struct net_device *netdev, in gve_set_ringparam()
[all …]
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_ethtool.c255 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/intel/iavf/
H A Diavf_ethtool.c253 static int iavf_get_link_ksettings(struct net_device *netdev, in iavf_get_link_ksettings() argument
312 static int iavf_get_sset_count(struct net_device *netdev, int sset) in iavf_get_sset_count() argument
336 iavf_get_ethtool_stats(struct net_device * netdev,struct ethtool_stats * stats,u64 * data) iavf_get_ethtool_stats() argument
372 iavf_get_stat_strings(struct net_device * netdev,u8 * data) iavf_get_stat_strings() argument
397 iavf_get_strings(struct net_device * netdev,u32 sset,u8 * data) iavf_get_strings() argument
414 iavf_get_msglevel(struct net_device * netdev) iavf_get_msglevel() argument
429 iavf_set_msglevel(struct net_device * netdev,u32 data) iavf_set_msglevel() argument
445 iavf_get_drvinfo(struct net_device * netdev,struct ethtool_drvinfo * drvinfo) iavf_get_drvinfo() argument
465 iavf_get_ringparam(struct net_device * netdev,struct ethtool_ringparam * ring,struct kernel_ethtool_ringparam * kernel_ring,struct netlink_ext_ack * extack) iavf_get_ringparam() argument
488 iavf_set_ringparam(struct net_device * netdev,struct ethtool_ringparam * ring,struct kernel_ethtool_ringparam * kernel_ring,struct netlink_ext_ack * extack) iavf_set_ringparam() argument
556 __iavf_get_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,int queue) __iavf_get_coalesce() argument
597 iavf_get_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) iavf_get_coalesce() argument
613 iavf_get_per_queue_coalesce(struct net_device * netdev,u32 queue,struct ethtool_coalesce * ec) iavf_get_per_queue_coalesce() argument
685 __iavf_set_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,int queue) __iavf_set_coalesce() argument
727 iavf_set_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) iavf_set_coalesce() argument
743 iavf_set_per_queue_coalesce(struct net_device * netdev,u32 queue,struct ethtool_coalesce * ec) iavf_set_per_queue_coalesce() argument
1492 iavf_set_rxfh_fields(struct net_device * netdev,const struct ethtool_rxfh_fields * cmd,struct netlink_ext_ack * extack) iavf_set_rxfh_fields() argument
1564 iavf_get_rxfh_fields(struct net_device * netdev,struct ethtool_rxfh_fields * cmd) iavf_get_rxfh_fields() argument
1619 iavf_set_rxnfc(struct net_device * netdev,struct ethtool_rxnfc * cmd) iavf_set_rxnfc() argument
1644 iavf_get_rx_ring_count(struct net_device * netdev) iavf_get_rx_ring_count() argument
1659 iavf_get_rxnfc(struct net_device * netdev,struct ethtool_rxnfc * cmd,u32 * rule_locs) iavf_get_rxnfc() argument
1695 iavf_get_channels(struct net_device * netdev,struct ethtool_channels * ch) iavf_get_channels() argument
1718 iavf_set_channels(struct net_device * netdev,struct ethtool_channels * ch) iavf_set_channels() argument
1756 iavf_get_rxfh_key_size(struct net_device * netdev) iavf_get_rxfh_key_size() argument
1769 iavf_get_rxfh_indir_size(struct net_device * netdev) iavf_get_rxfh_indir_size() argument
1783 iavf_get_rxfh(struct net_device * netdev,struct ethtool_rxfh_param * rxfh) iavf_get_rxfh() argument
1813 iavf_set_rxfh(struct net_device * netdev,struct ethtool_rxfh_param * rxfh,struct netlink_ext_ack * extack) iavf_set_rxfh() argument
1890 iavf_set_ethtool_ops(struct net_device * netdev) iavf_set_ethtool_ops() argument
[all...]
/linux/drivers/net/ethernet/brocade/bna/
H A Dbnad_ethtool.c235 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 Ddev_addr_lists_test.c15 static int dev_addr_test_sync(struct net_device *netdev, const unsigned char *a) in dev_addr_test_sync()
24 static int dev_addr_test_unsync(struct net_device *netdev, in dev_addr_test_unsync()
37 struct net_device *netdev; in dev_addr_test_init() local
57 struct net_device *netdev = test->priv; in dev_addr_test_exit() local
65 struct net_device *netdev = test->priv; in dev_addr_test_basic() local
83 struct net_device *netdev = test->priv; in dev_addr_test_sync_one() local
112 struct net_device *netdev = test->priv; in dev_addr_test_add_del() local
154 struct net_device *netdev = test->priv; in dev_addr_test_del_main() local
174 struct net_device *netdev = test->priv; in dev_addr_test_add_set() local
206 struct net_device *netdev = test->priv; in dev_addr_test_add_excl() local
/linux/net/openvswitch/
H A Dvport-internal_dev.c27 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/infiniband/ulp/opa_vnic/
H A Dopa_vnic_netdev.c64 static void opa_vnic_get_stats64(struct net_device *netdev, in opa_vnic_get_stats64()
79 struct net_device *netdev) in opa_netdev_start_xmit()
96 static u16 opa_vnic_select_queue(struct net_device *netdev, struct sk_buff *skb, in opa_vnic_select_queue()
139 struct net_device *netdev = adapter->netdev; in opa_vnic_process_vema_config() local
202 static int opa_vnic_set_mac_addr(struct net_device *netdev, void *addr) in opa_vnic_set_mac_addr()
228 static void opa_vnic_mac_send_event(struct net_device *netdev, u8 event) in opa_vnic_mac_send_event()
263 static void opa_vnic_set_rx_mode(struct net_device *netdev) in opa_vnic_set_rx_mode()
273 static int opa_netdev_open(struct net_device *netdev) in opa_netdev_open()
292 static int opa_netdev_close(struct net_device *netdev) in opa_netdev_close()
326 struct net_device *netdev; in opa_vnic_add_netdev() local
[all …]
/linux/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c112 static int e1000_get_link_ksettings(struct net_device *netdev, in e1000_get_link_ksettings()
268 static int e1000_set_link_ksettings(struct net_device *netdev, in e1000_set_link_ksettings()
350 static void e1000_get_pauseparam(struct net_device *netdev, in e1000_get_pauseparam()
369 static int e1000_set_pauseparam(struct net_device *netdev, in e1000_set_pauseparam()
417 static u32 e1000_get_msglevel(struct net_device *netdev) in e1000_get_msglevel()
423 static void e1000_set_msglevel(struct net_device *netdev, u32 data) in e1000_set_msglevel()
429 static int e1000_get_regs_len(struct net_device __always_unused *netdev) in e1000_get_regs_len()
435 static void e1000_get_regs(struct net_device *netdev, in e1000_get_regs()
490 static int e1000_get_eeprom_len(struct net_device *netdev) in e1000_get_eeprom_len()
496 static int e1000_get_eeprom(struct net_device *netdev, in e1000_get_eeprom()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c77 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 Dethtool.c128 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()

12345678910>>...23