/linux-master/net/openvswitch/ |
H A D | Makefile | 19 vport-netdev.o
|
/linux-master/drivers/net/ethernet/mellanox/mlxbf_gige/ |
H A D | mlxbf_gige_tx.c | 138 stats = &priv->netdev->stats; 171 if (netif_queue_stopped(priv->netdev) && 173 netif_wake_queue(priv->netdev); 192 struct net_device *netdev) 194 struct mlxbf_gige *priv = netdev_priv(netdev); 205 netdev->stats.tx_dropped++; 223 netdev->stats.tx_dropped++; 237 netdev->stats.tx_dropped++; 273 netif_stop_queue(netdev); 191 mlxbf_gige_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument
|
/linux-master/include/linux/dsa/ |
H A D | loop.h | 38 struct net_device *netdev; member in struct:dsa_loop_priv
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | ct_fs.h | 8 const struct net_device *netdev; member in struct:mlx5_ct_fs
|
/linux-master/drivers/net/netdevsim/ |
H A D | Makefile | 6 netdev.o dev.o ethtool.o fib.o bus.o health.o hwstats.o udp_tunnels.o
|
/linux-master/net/caif/ |
H A D | chnl_net.c | 49 struct net_device *netdev; member in struct:chnl_net 75 skb->dev = priv->netdev; 93 priv->netdev->stats.rx_errors++; 106 priv->netdev->stats.rx_packets++; 107 priv->netdev->stats.rx_bytes += pktlen; 115 if (dev->netdev) 116 unregister_netdevice(dev->netdev); 130 dev_close(dev->netdev); 139 dev_hold(priv->netdev); 145 dev_put(priv->netdev); [all...] |
/linux-master/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_ethtool.c | 119 static int nicvf_get_link_ksettings(struct net_device *netdev, argument 122 struct nicvf *nic = netdev_priv(netdev); 182 static u32 nicvf_get_link(struct net_device *netdev) argument 184 struct nicvf *nic = netdev_priv(netdev); 189 static void nicvf_get_drvinfo(struct net_device *netdev, argument 192 struct nicvf *nic = netdev_priv(netdev); 198 static u32 nicvf_get_msglevel(struct net_device *netdev) argument 200 struct nicvf *nic = netdev_priv(netdev); 205 static void nicvf_set_msglevel(struct net_device *netdev, u32 lvl) argument 207 struct nicvf *nic = netdev_priv(netdev); 234 nicvf_get_strings(struct net_device *netdev, u32 sset, u8 *data) argument 272 nicvf_get_sset_count(struct net_device *netdev, int sset) argument 321 nicvf_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument 458 nicvf_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *cmd, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 469 nicvf_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument 483 nicvf_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument 644 nicvf_get_rxfh_key_size(struct net_device *netdev) argument 838 nicvf_get_ts_info(struct net_device *netdev, struct ethtool_ts_info *info) argument 890 nicvf_set_ethtool_ops(struct net_device *netdev) argument [all...] |
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_ethtool.c | 245 * @netdev: network interface device structure 251 static int iavf_get_link_ksettings(struct net_device *netdev, argument 254 struct iavf_adapter *adapter = netdev_priv(netdev); 305 * @netdev: network interface device structure 310 static int iavf_get_sset_count(struct net_device *netdev, int sset) argument 314 * use netdev->real_num_tx_queues * 2. The real_num_tx_queues is set 321 netdev->real_num_tx_queues); 328 * @netdev: network interface device structure 334 static void iavf_get_ethtool_stats(struct net_device *netdev, argument 337 struct iavf_adapter *adapter = netdev_priv(netdev); 370 iavf_get_stat_strings(struct net_device *netdev, u8 *data) argument 395 iavf_get_strings(struct net_device *netdev, u32 sset, u8 *data) argument 412 iavf_get_msglevel(struct net_device *netdev) argument 427 iavf_set_msglevel(struct net_device *netdev, u32 data) argument 443 iavf_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument 463 iavf_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument 486 iavf_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument 557 __iavf_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, int queue) argument 598 iavf_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 614 iavf_get_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *ec) argument 686 __iavf_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, int queue) argument 728 iavf_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 744 iavf_set_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *ec) argument 1615 iavf_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) argument 1645 iavf_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 *rule_locs) argument 1688 iavf_get_channels(struct net_device *netdev, struct ethtool_channels *ch) argument 1711 iavf_set_channels(struct net_device *netdev, struct ethtool_channels *ch) argument 1753 iavf_get_rxfh_key_size(struct net_device *netdev) argument 1766 iavf_get_rxfh_indir_size(struct net_device *netdev) argument 1780 iavf_get_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh) argument 1810 iavf_set_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh, struct netlink_ext_ack *extack) argument 1884 iavf_set_ethtool_ops(struct net_device *netdev) argument [all...] |
/linux-master/net/dsa/ |
H A D | tag_sja1105.c | 211 struct net_device *netdev) 213 struct dsa_port *dp = dsa_user_to_port(netdev); 233 return dsa_8021q_xmit(skb, netdev, sja1105_xmit_tpid(dp), tx_vid); 267 struct net_device *netdev) 269 struct dsa_port *dp = dsa_user_to_port(netdev); 271 u8 pcp = netdev_txq_to_tc(netdev, queue_mapping); 275 return sja1105_imprecise_xmit(skb, netdev); 289 return dsa_8021q_xmit(skb, netdev, sja1105_xmit_tpid(dp), 294 struct net_device *netdev) 297 struct dsa_port *dp = dsa_user_to_port(netdev); 210 sja1105_imprecise_xmit(struct sk_buff *skb, struct net_device *netdev) argument 266 sja1105_xmit(struct sk_buff *skb, struct net_device *netdev) argument 293 sja1110_xmit(struct sk_buff *skb, struct net_device *netdev) argument 497 sja1105_rcv(struct sk_buff *skb, struct net_device *netdev) argument 677 sja1110_rcv(struct sk_buff *skb, struct net_device *netdev) argument [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_main.c | 83 ice_indr_setup_tc_cb(struct net_device *netdev, struct Qdisc *sch, 131 if (!(vsi->netdev && netif_carrier_ok(vsi->netdev))) 197 * @netdev: the net device on which the sync is happening 205 static int ice_add_mac_to_sync_list(struct net_device *netdev, const u8 *addr) argument 207 struct ice_netdev_priv *np = netdev_priv(netdev); 219 * @netdev: the net device on which the unsync is happening 227 static int ice_add_mac_to_unsync_list(struct net_device *netdev, const u8 *addr) argument 229 struct ice_netdev_priv *np = netdev_priv(netdev); 237 if (ether_addr_equal(addr, netdev 325 struct net_device *netdev = vsi->netdev; local 3567 struct net_device *netdev = vsi->netdev; local 3594 ice_set_netdev_features(struct net_device *netdev) argument 3777 ice_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 3840 ice_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 4663 struct net_device *netdev; local 5935 ice_set_mac_address(struct net_device *netdev, void *pi) argument 6021 ice_set_rx_mode(struct net_device *netdev) argument 6050 ice_set_tx_maxrate(struct net_device *netdev, int queue_index, u32 maxrate) argument 6209 ice_fix_features(struct net_device *netdev, netdev_features_t features) argument 6365 ice_set_vlan_features(struct net_device *netdev, netdev_features_t features) argument 6431 ice_set_features(struct net_device *netdev, netdev_features_t features) argument 7080 ice_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument 7752 ice_change_mtu(struct net_device *netdev, int new_mtu) argument 7816 ice_eth_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument 8176 ice_tx_timeout(struct net_device *netdev, unsigned int txqueue) argument 9061 ice_setup_tc_mqprio_qdisc(struct net_device *netdev, void *type_data) argument 9234 ice_setup_tc(struct net_device *netdev, enum tc_setup_type type, void *type_data) argument 9283 ice_indr_block_priv_lookup(struct ice_netdev_priv *np, struct net_device *netdev) argument 9315 ice_indr_setup_tc_block(struct net_device *netdev, struct Qdisc *sch, struct ice_netdev_priv *np, struct flow_block_offload *f, void *data, void (*cleanup)(struct flow_block_cb *block_cb)) argument 9382 ice_indr_setup_tc_cb(struct net_device *netdev, struct Qdisc *sch, void *cb_priv, enum tc_setup_type type, void *type_data, void *data, void (*cleanup)(struct flow_block_cb *block_cb)) argument 9409 ice_open(struct net_device *netdev) argument 9431 ice_open_internal(struct net_device *netdev) argument 9499 ice_stop(struct net_device *netdev) argument 9538 ice_features_check(struct sk_buff *skb, struct net_device __always_unused *netdev, netdev_features_t features) argument [all...] |
H A D | ice_lag.c | 41 netdev_name(lag->netdev)); 61 netdev_name(lag->netdev)); 69 * netif_is_same_ice - determine if netdev is on the same ice NIC as local PF 71 * @netdev: netdev we are evaluating 73 static bool netif_is_same_ice(struct ice_pf *pf, struct net_device *netdev) argument 79 if (!netif_is_ice(netdev)) 82 np = netdev_priv(netdev); 102 * ice_netdev_to_lag - return pointer to associated lag struct from netdev 103 * @netdev 105 ice_netdev_to_lag(struct net_device *netdev) argument 1053 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); local 1282 struct net_device *netdev; local 1593 struct net_device *netdev; local 1618 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); local 1659 struct net_device *netdev; local 1734 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); local [all...] |
H A D | ice_arfs.h | 45 ice_rx_flow_steer(struct net_device *netdev, const struct sk_buff *skb, 71 ice_rx_flow_steer(struct net_device __always_unused *netdev, argument
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 51 /* Helper macro for defining some statistics directly copied from the netdev 313 * The PF_STATs are appended to the netdev stats only when ethtool -S 314 * is queried on the base PF netdev, not on the VMDq or FCoE netdev. 766 * @netdev: network interface device structure 771 struct net_device *netdev, 990 netdev_info(netdev, 1060 * @netdev: network interface device structure 1065 static int i40e_get_link_ksettings(struct net_device *netdev, argument 1068 struct i40e_netdev_priv *np = netdev_priv(netdev); 769 i40e_get_settings_link_up(struct i40e_hw *hw, struct ethtool_link_ksettings *ks, struct net_device *netdev, struct i40e_pf *pf) argument 1218 i40e_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *ks) argument 1484 i40e_set_fec_cfg(struct net_device *netdev, u8 fec_cfg) argument 1541 i40e_get_fec_param(struct net_device *netdev, struct ethtool_fecparam *fecparam) argument 1584 i40e_set_fec_param(struct net_device *netdev, struct ethtool_fecparam *fecparam) argument 1628 i40e_nway_reset(struct net_device *netdev) argument 1655 i40e_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) argument 1690 i40e_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) argument 1784 i40e_get_msglevel(struct net_device *netdev) argument 1796 i40e_set_msglevel(struct net_device *netdev, u32 data) argument 1807 i40e_get_regs_len(struct net_device *netdev) argument 1818 i40e_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) argument 1849 i40e_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument 1944 i40e_get_eeprom_len(struct net_device *netdev) argument 1962 i40e_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument 1996 i40e_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument 2025 i40e_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument 2055 i40e_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument 2288 i40e_get_stats_count(struct net_device *netdev) argument 2319 i40e_get_sset_count(struct net_device *netdev, int sset) argument 2400 i40e_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument 2476 i40e_get_stat_strings(struct net_device *netdev, u8 *data) argument 2513 i40e_get_priv_flag_strings(struct net_device *netdev, u8 *data) argument 2529 i40e_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument 2589 i40e_link_test(struct net_device *netdev, u64 *data) argument 2612 i40e_reg_test(struct net_device *netdev, u64 *data) argument 2623 i40e_eeprom_test(struct net_device *netdev, u64 *data) argument 2637 i40e_intr_test(struct net_device *netdev, u64 *data) argument 2672 i40e_diag_test(struct net_device *netdev, struct ethtool_test *eth_test, u64 *data) argument 2754 i40e_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 2778 i40e_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 2813 i40e_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) argument 2883 __i40e_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, int queue) argument 2936 i40e_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 2952 i40e_get_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *ec) argument 3015 __i40e_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, int queue) argument 3112 i40e_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 3128 i40e_set_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *ec) argument 3527 i40e_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 *rule_locs) argument 4955 i40e_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) argument 5099 i40e_get_rxfh_key_size(struct net_device *netdev) argument 5110 i40e_get_rxfh_indir_size(struct net_device *netdev) argument 5123 i40e_get_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh) argument 5162 i40e_set_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh, struct netlink_ext_ack *extack) argument 5491 i40e_get_module_info(struct net_device *netdev, struct ethtool_modinfo *modinfo) argument 5597 i40e_get_module_eeprom(struct net_device *netdev, struct ethtool_eeprom *ee, u8 *data) argument 5644 i40e_get_eee(struct net_device *netdev, struct ethtool_keee *edata) argument 5677 i40e_is_eee_param_supported(struct net_device *netdev, struct ethtool_keee *edata) argument 5704 i40e_set_eee(struct net_device *netdev, struct ethtool_keee *edata) argument 5828 i40e_set_ethtool_ops(struct net_device *netdev) argument [all...] |
/linux-master/drivers/net/wwan/ |
H A D | qcom_bam_dmux.c | 139 struct net_device *netdev = dmux->netdevs[i]; local 141 if (netdev && netif_running(netdev)) 142 netif_wake_queue(netdev); 153 struct net_device *netdev = dmux->netdevs[i]; local 155 if (netdev) 156 netif_stop_queue(netdev); 277 static int bam_dmux_netdev_open(struct net_device *netdev) argument 279 struct bam_dmux_netdev *bndev = netdev_priv(netdev); 286 netif_start_queue(netdev); 290 bam_dmux_netdev_stop(struct net_device *netdev) argument 334 bam_dmux_netdev_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument 437 struct net_device *netdev; local 507 struct net_device *netdev = dmux->netdevs[hdr->ch]; local 544 struct net_device *netdev = dmux->netdevs[hdr->ch]; local 563 struct net_device *netdev = dmux->netdevs[hdr->ch]; local [all...] |
/linux-master/drivers/net/vmxnet3/ |
H A D | vmxnet3_xdp.c | 37 vmxnet3_xdp_set(struct net_device *netdev, struct netdev_bpf *bpf, argument 40 struct vmxnet3_adapter *adapter = netdev_priv(netdev); 47 if (new_bpf_prog && netdev->mtu > VMXNET3_XDP_MAX_MTU) { 49 netdev->mtu); 53 if (adapter->netdev->features & NETIF_F_LRO) { 55 adapter->netdev->features &= ~NETIF_F_LRO; 62 running = netif_running(netdev); 76 xdp_features_set_redirect_target(netdev, false); 78 xdp_features_clear_redirect_target(netdev); 102 vmxnet3_xdp(struct net_device *netdev, struc argument [all...] |
/linux-master/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-mac.c | 283 struct net_device *netdev = adpt->netdev; local 289 if (netdev->features & NETIF_F_HW_VLAN_CTAG_RX) 292 if (netdev->flags & IFF_PROMISC) 295 if (netdev->flags & IFF_ALLMULTI) 443 struct net_device *netdev = adpt->netdev; local 447 emac_set_mac_address(adpt, netdev->dev_addr); 449 max_frame = netdev->mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN; 450 adpt->rxbuf_size = netdev 914 emac_adjust_link(struct net_device *netdev) argument 933 struct net_device *netdev = adpt->netdev; local 965 struct net_device *netdev = adpt->netdev; local 1091 struct net_device *netdev = adpt->netdev; local [all...] |
/linux-master/net/core/ |
H A D | net-sysfs.c | 85 struct net_device *netdev = to_net_dev(dev); local 86 struct net *net = dev_net(netdev); 100 if (dev_isalive(netdev)) { 101 ret = (*set)(netdev, new); 189 struct net_device *netdev = to_net_dev(dev); local 194 if (!netdev->netdev_ops->ndo_change_carrier) 203 struct net_device *netdev = to_net_dev(dev); local 209 if (netif_running(netdev)) { 213 linkwatch_sync_dev(netdev); 215 ret = sysfs_emit(buf, fmt_dec, !!netif_carrier_ok(netdev)); 226 struct net_device *netdev = to_net_dev(dev); local 252 struct net_device *netdev = to_net_dev(dev); local 292 struct net_device *netdev = to_net_dev(dev); local 304 struct net_device *netdev = to_net_dev(dev); local 326 const struct net_device *netdev = to_net_dev(dev); local 344 struct net_device *netdev = to_net_dev(dev); local 356 struct net_device *netdev = to_net_dev(dev); local 366 struct net_device *netdev = to_net_dev(dev); local 446 struct net_device *netdev = to_net_dev(dev); local 477 const struct net_device *netdev = to_net_dev(dev); local 518 struct net_device *netdev = to_net_dev(dev); local 546 struct net_device *netdev = to_net_dev(dev); local 575 struct net_device *netdev = to_net_dev(dev); local 605 struct net_device *netdev = to_net_dev(dev); local [all...] |
/linux-master/drivers/net/can/usb/peak_usb/ |
H A D | pcan_usb.c | 148 struct net_device *netdev; member in struct:pcan_usb_msg_context 176 netdev_err(dev->netdev, 204 netdev_err(dev->netdev, 286 netdev_info(dev->netdev, "setting BTR0=0x%02x BTR1=0x%02x\n", 325 /* notify candev and netdev */ 394 netdev_err(dev->netdev, "getting can channel id failure: %d\n", err); 414 if (dev->netdev->flags & IFF_UP) 485 skb = alloc_can_err_skb(mc->netdev, &cf); 489 netdev_dbg(mc->netdev, "data overrun interrupt\n"); 490 mc->netdev 776 struct net_device *netdev = dev->netdev; local 839 pcan_usb_get_berr_counter(const struct net_device *netdev, struct can_berr_counter *bec) argument 956 pcan_usb_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) argument 987 pcan_usb_get_eeprom_len(struct net_device *netdev) argument [all...] |
/linux-master/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_ethtool.c | 450 struct net_device *ndev = priv->netdev; 625 hns_nic_net_reset(priv->netdev); 840 * @netdev: net device 844 static void hns_get_ethtool_stats(struct net_device *netdev, argument 848 struct hns_nic_priv *priv = netdev_priv(netdev); 854 netdev_err(netdev, "get_stats or update_stats is null!\n"); 858 h->dev->ops->update_stats(h, &netdev->stats); 860 net_stats = dev_get_stats(netdev, &temp); 862 /* get netdev statistics */ 887 p[23] = 0; /* was netdev 902 hns_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument 962 hns_get_sset_count(struct net_device *netdev, int stringset) argument 996 hns_phy_led_set(struct net_device *netdev, int value) argument 1019 hns_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) argument 1140 hns_nic_nway_reset(struct net_device *netdev) argument 1157 hns_get_rss_key_size(struct net_device *netdev) argument 1173 hns_get_rss_indir_size(struct net_device *netdev) argument 1189 hns_get_rss(struct net_device *netdev, struct ethtool_rxfh_param *rxfh) argument 1210 hns_set_rss(struct net_device *netdev, struct ethtool_rxfh_param *rxfh, struct netlink_ext_ack *extack) argument 1234 hns_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 *rule_locs) argument [all...] |
/linux-master/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_wireless.c | 40 static int gelic_wl_try_associate(struct net_device *netdev); 231 static u32 gelic_wl_get_link(struct net_device *netdev) argument 233 struct gelic_wl_info *wl = port_wl(netdev_port(netdev)); 295 static int gelic_wl_get_range(struct net_device *netdev, argument 301 struct gelic_wl_info *wl = port_wl(netdev_port(netdev)); 365 static int gelic_wl_set_scan(struct net_device *netdev, argument 369 struct gelic_wl_info *wl = port_wl(netdev_priv(netdev)); 562 static char *gelic_wl_translate_scan(struct net_device *netdev, argument 694 static int gelic_wl_get_scan(struct net_device *netdev, argument 698 struct gelic_wl_info *wl = port_wl(netdev_priv(netdev)); 769 gelic_wl_set_auth(struct net_device *netdev, struct iw_request_info *info, union iwreq_data *data, char *extra) argument 894 gelic_wl_get_auth(struct net_device *netdev, struct iw_request_info *info, union iwreq_data *iwreq, char *extra) argument 947 gelic_wl_set_essid(struct net_device *netdev, struct iw_request_info *info, union iwreq_data *data, char *extra) argument 978 gelic_wl_get_essid(struct net_device *netdev, struct iw_request_info *info, union iwreq_data *data, char *extra) argument 1004 gelic_wl_set_encode(struct net_device *netdev, struct iw_request_info *info, union iwreq_data *data, char *extra) argument 1078 gelic_wl_get_encode(struct net_device *netdev, struct iw_request_info *info, union iwreq_data *data, char *extra) argument 1134 gelic_wl_set_ap(struct net_device *netdev, struct iw_request_info *info, union iwreq_data *data, char *extra) argument 1162 gelic_wl_get_ap(struct net_device *netdev, struct iw_request_info *info, union iwreq_data *data, char *extra) argument 1186 gelic_wl_set_encodeext(struct net_device *netdev, struct iw_request_info *info, union iwreq_data *data, char *extra) argument 1276 gelic_wl_get_encodeext(struct net_device *netdev, struct iw_request_info *info, union iwreq_data *data, char *extra) argument 1347 gelic_wl_set_mode(struct net_device *netdev, struct iw_request_info *info, union iwreq_data *data, char *extra) argument 1363 gelic_wl_get_mode(struct net_device *netdev, struct iw_request_info *info, union iwreq_data *data, char *extra) argument 1388 gelic_wl_get_wireless_stats( struct net_device *netdev) argument 2238 gelic_wl_interrupt(struct net_device *netdev, u64 status) argument 2285 struct net_device *netdev; local 2382 gelic_wl_try_associate(struct net_device *netdev) argument 2435 gelic_wl_open(struct net_device *netdev) argument 2494 gelic_wl_disconnect(struct net_device *netdev) argument 2512 gelic_wl_stop(struct net_device *netdev) argument 2560 gelic_wl_setup_netdev_ops(struct net_device *netdev) argument 2579 struct net_device *netdev; local 2621 struct net_device *netdev; local [all...] |
/linux-master/drivers/net/ethernet/intel/e1000e/ |
H A D | ethtool.c | 110 static int e1000_get_link_ksettings(struct net_device *netdev, argument 114 struct e1000_adapter *adapter = netdev_priv(netdev); 154 if (netif_running(netdev)) { 155 if (netif_carrier_ok(netdev)) { 183 netif_carrier_ok(netdev)) 266 static int e1000_set_link_ksettings(struct net_device *netdev, argument 269 struct e1000_adapter *adapter = netdev_priv(netdev); 336 if (netif_running(adapter->netdev)) { 348 static void e1000_get_pauseparam(struct net_device *netdev, argument 351 struct e1000_adapter *adapter = netdev_priv(netdev); 367 e1000_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) argument 415 e1000_get_msglevel(struct net_device *netdev) argument 421 e1000_set_msglevel(struct net_device *netdev, u32 data) argument 427 e1000_get_regs_len(struct net_device __always_unused *netdev) argument 433 e1000_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) argument 488 e1000_get_eeprom_len(struct net_device *netdev) argument 494 e1000_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument 547 e1000_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument 624 e1000_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument 644 e1000_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument 657 e1000_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument 970 struct net_device *netdev = (struct net_device *)data; local 981 struct net_device *netdev = adapter->netdev; local 1771 e1000e_get_sset_count(struct net_device __always_unused *netdev, int sset) argument 1786 e1000_diag_test(struct net_device *netdev, struct ethtool_test *eth_test, u64 *data) argument 1882 e1000_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 1917 e1000_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 1946 e1000_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) argument 1982 e1000_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 1997 e1000_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 2029 e1000_nway_reset(struct net_device *netdev) argument 2044 e1000_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats __always_unused *stats, u64 *data) argument 2075 e1000_get_strings(struct net_device __always_unused *netdev, u32 stringset, u8 *data) argument 2099 e1000_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info, u32 __always_unused *rule_locs) argument 2149 e1000e_get_eee(struct net_device *netdev, struct ethtool_keee *edata) argument 2219 e1000e_set_eee(struct net_device *netdev, struct ethtool_keee *edata) argument 2265 e1000e_get_ts_info(struct net_device *netdev, struct ethtool_ts_info *info) argument 2299 e1000e_get_priv_flags(struct net_device *netdev) argument 2310 e1000e_set_priv_flags(struct net_device *netdev, u32 priv_flags) argument 2365 e1000e_set_ethtool_ops(struct net_device *netdev) argument [all...] |
/linux-master/drivers/net/ethernet/engleder/ |
H A D | tsnep_main.c | 96 phy_mac_interrupt(adapter->netdev->phydev); 211 static void tsnep_phy_link_status_change(struct net_device *netdev) argument 213 struct tsnep_adapter *adapter = netdev_priv(netdev); 214 struct phy_device *phydev = netdev->phydev; 219 phy_print_status(netdev->phydev); 233 netif_carrier_on(adapter->netdev); 246 retval = phy_connect_direct(adapter->netdev, adapter->phydev, 251 phydev = adapter->netdev->phydev; 273 phy_stop(adapter->netdev->phydev); 274 phy_disconnect(adapter->netdev 1994 tsnep_netdev_open(struct net_device *netdev) argument 2049 tsnep_netdev_close(struct net_device *netdev) argument 2134 tsnep_netdev_xmit_frame(struct sk_buff *skb, struct net_device *netdev) argument 2146 tsnep_netdev_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument 2156 tsnep_netdev_set_multicast(struct net_device *netdev) argument 2172 tsnep_netdev_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument 2230 tsnep_netdev_set_mac_address(struct net_device *netdev, void *addr) argument 2245 tsnep_netdev_set_features(struct net_device *netdev, netdev_features_t features) argument 2261 tsnep_netdev_get_tstamp(struct net_device *netdev, const struct skb_shared_hwtstamps *hwtstamps, bool cycles) argument 2544 struct net_device *netdev; local [all...] |
/linux-master/drivers/net/ethernet/emulex/benet/ |
H A D | be_main.c | 305 static int be_mac_addr_set(struct net_device *netdev, void *p) argument 307 struct be_adapter *adapter = netdev_priv(netdev); 330 /* if device is not running, copy MAC to netdev->dev_addr */ 331 if (!netif_running(netdev)) 371 eth_hw_addr_set(netdev, addr->sa_data); 652 static void be_get_stats64(struct net_device *netdev, argument 655 struct be_adapter *adapter = netdev_priv(netdev); 721 struct net_device *netdev = adapter->netdev; local 724 netif_carrier_off(netdev); 1368 be_xmit(struct sk_buff *skb, struct net_device *netdev) argument 1419 be_tx_timeout(struct net_device *netdev, unsigned int txqueue) argument 1572 be_vlan_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 1595 be_vlan_rem_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 1665 be_uc_list_update(struct net_device *netdev, const unsigned char *addr) argument 1674 be_mc_list_update(struct net_device *netdev, const unsigned char *addr) argument 1685 struct net_device *netdev = adapter->netdev; local 1736 struct net_device *netdev = adapter->netdev; local 1765 struct net_device *netdev = adapter->netdev; local 1813 struct net_device *netdev = adapter->netdev; local 1825 struct net_device *netdev = adapter->netdev; local 1855 be_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) argument 1895 be_get_vf_config(struct net_device *netdev, int vf, struct ifla_vf_info *vi) argument 1975 be_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, __be16 vlan_proto) argument 2009 be_set_vf_tx_rate(struct net_device *netdev, int vf, int min_tx_rate, int max_tx_rate) argument 2071 be_set_vf_link_state(struct net_device *netdev, int vf, int link_state) argument 2095 be_set_vf_spoofchk(struct net_device *netdev, int vf, bool enable) argument 2397 struct net_device *netdev = adapter->netdev; local 3484 struct net_device *netdev = adapter->netdev; local 3512 struct net_device *netdev = adapter->netdev; local 3540 struct net_device *netdev = adapter->netdev; local 3633 be_close(struct net_device *netdev) argument 3793 be_open(struct net_device *netdev) argument 3981 be_vxlan_set_port(struct net_device *netdev, unsigned int table, unsigned int entry, struct udp_tunnel_info *ti) argument 4012 be_vxlan_unset_port(struct net_device *netdev, unsigned int table, unsigned int entry, struct udp_tunnel_info *ti) argument 4643 struct net_device *netdev = adapter->netdev; local 4708 struct net_device *netdev = adapter->netdev; local 4926 be_netpoll(struct net_device *netdev) argument 5180 be_netdev_init(struct net_device *netdev) argument 5218 struct net_device *netdev = adapter->netdev; local 5231 struct net_device *netdev = adapter->netdev; local 5813 struct net_device *netdev; local [all...] |
/linux-master/drivers/net/ethernet/atheros/alx/ |
H A D | alx.h | 53 struct net_device *netdev; member in struct:alx_rx_queue 73 struct net_device *netdev; member in struct:alx_tx_queue
|
/linux-master/drivers/net/ethernet/cisco/enic/ |
H A D | enic_dev.h | 35 int enic_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid); 36 int enic_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid);
|