/linux-master/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_trace.h | 27 __string(devname, txq->netdev->name) 35 __assign_str(devname, txq->netdev->name); 57 __string(devname, txq->netdev->name) 65 __assign_str(devname, txq->netdev->name); 90 __string(devname, rxq->netdev->name) 100 __assign_str(devname, rxq->netdev->name);
|
/linux-master/drivers/net/can/usb/kvaser_usb/ |
H A D | kvaser_usb.h | 119 struct net_device *netdev; member in struct:kvaser_usb_net_priv 160 int (*dev_set_mode)(struct net_device *netdev, enum can_mode mode); 161 int (*dev_set_bittiming)(const struct net_device *netdev, 164 int (*dev_set_data_bittiming)(const struct net_device *netdev, 167 int (*dev_get_berr_counter)(const struct net_device *netdev, 215 int kvaser_usb_can_rx_over_error(struct net_device *netdev);
|
/linux-master/net/xdp/ |
H A D | xsk_buff_pool.c | 152 err = pool->netdev->netdev_ops->ndo_bpf(pool->netdev, &bpf); 164 struct net_device *netdev, u16 queue_id, u16 flags) 178 if (xsk_get_pool_from_qid(netdev, queue_id)) 181 pool->netdev = netdev; 183 err = xsk_reg_pool_at_qid(netdev, pool, queue_id); 198 dev_hold(netdev); 204 if ((netdev->xdp_features & NETDEV_XDP_ACT_ZC) != NETDEV_XDP_ACT_ZC) { 209 if (netdev 163 xp_assign_dev(struct xsk_buff_pool *pool, struct net_device *netdev, u16 queue_id, u16 flags) argument 324 xp_create_dma_map(struct device *dev, struct net_device *netdev, u32 nr_pages, struct xdp_umem *umem) argument [all...] |
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_pf.c | 54 static int otx2_change_mtu(struct net_device *netdev, int new_mtu) argument 56 struct otx2_nic *pf = netdev_priv(netdev); 57 bool if_up = netif_running(netdev); 61 netdev_warn(netdev, "Jumbo frames not yet supported with XDP, current MTU %d.\n", 62 netdev->mtu); 66 otx2_stop(netdev); 68 netdev_info(netdev, "Changing MTU from %d to %d\n", 69 netdev->mtu, new_mtu); 70 netdev->mtu = new_mtu; 73 err = otx2_open(netdev); 837 struct net_device *netdev = pf->netdev; local 1179 otx2_set_real_num_queues(struct net_device *netdev, int tx_queues, int rx_queues) argument 1696 struct net_device *netdev = pf->netdev; local 1760 otx2_open(struct net_device *netdev) argument 1969 otx2_stop(struct net_device *netdev) argument 2040 otx2_xmit(struct sk_buff *skb, struct net_device *netdev) argument 2094 otx2_select_queue(struct net_device *netdev, struct sk_buff *skb, struct net_device *sb_dev) argument 2152 otx2_set_rx_mode(struct net_device *netdev) argument 2166 otx2_set_features(struct net_device *netdev, netdev_features_t features) argument 2262 otx2_config_hwtstamp(struct net_device *netdev, struct ifreq *ifr) argument 2327 otx2_ioctl(struct net_device *netdev, struct ifreq *req, int cmd) argument 2372 otx2_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) argument 2538 otx2_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, __be16 proto) argument 2563 otx2_get_vf_config(struct net_device *netdev, int vf, struct ifla_vf_info *ivi) argument 2608 otx2_xdp_xmit(struct net_device *netdev, int n, struct xdp_frame **frames, u32 flags) argument 2679 otx2_xdp(struct net_device *netdev, struct netdev_bpf *xdp) argument 2719 otx2_ndo_set_vf_trust(struct net_device *netdev, int vf, bool enable) argument 2858 struct net_device *netdev; local 3160 struct net_device *netdev = pci_get_drvdata(pdev); local 3199 struct net_device *netdev = pci_get_drvdata(pdev); local 3226 struct net_device *netdev = pci_get_drvdata(pdev); local [all...] |
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc_main.c | 81 struct net_device *dev = adapter->netdev; 113 if (!netif_running(adapter->netdev)) 216 netdev_warn_once(tx_ring->netdev, "Unknown Tx buffer type\n"); 354 struct net_device *ndev = tx_ring->netdev; 392 struct net_device *dev = adapter->netdev; 536 struct net_device *ndev = rx_ring->netdev; 592 struct net_device *dev = adapter->netdev; 615 return xsk_get_pool_from_qid(ring->netdev, ring->queue_index); 863 if (adapter->netdev->features & NETIF_F_RXALL) { 916 struct net_device *dev = adapter->netdev; 982 igc_set_mac(struct net_device *netdev, void *p) argument 1009 igc_write_mc_addr_list(struct net_device *netdev) argument 1224 struct net_device *netdev = tx_ring->netdev; local 1698 igc_xmit_frame(struct sk_buff *skb, struct net_device *netdev) argument 1831 igc_vlan_mode(struct net_device *netdev, netdev_features_t features) argument 2131 struct net_device *netdev = rx_ring->netdev; local 3847 igc_uc_sync(struct net_device *netdev, const unsigned char *addr) argument 3854 igc_uc_unsync(struct net_device *netdev, const unsigned char *addr) argument 3871 igc_set_rx_mode(struct net_device *netdev) argument 3919 struct net_device *netdev = adapter->netdev; local 4801 struct net_device *netdev = adapter->netdev; local 5054 struct net_device *netdev = adapter->netdev; local 5155 igc_change_mtu(struct net_device *netdev, int new_mtu) argument 5196 igc_tx_timeout(struct net_device *netdev, unsigned int __always_unused txqueue) argument 5217 igc_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument 5229 igc_fix_features(struct net_device *netdev, netdev_features_t features) argument 5243 igc_set_features(struct net_device *netdev, netdev_features_t features) argument 5439 struct net_device *netdev = adapter->netdev; local 5564 struct net_device *netdev = adapter->netdev; local 5838 struct net_device *netdev = adapter->netdev; local 5895 __igc_open(struct net_device *netdev, bool resuming) argument 5978 igc_open(struct net_device *netdev) argument 5995 __igc_close(struct net_device *netdev, bool suspending) argument 6020 igc_close(struct net_device *netdev) argument 6033 igc_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument 6345 struct net_device *netdev = adapter->netdev; local 6639 struct net_device *netdev = igc->netdev; local 6747 struct net_device *netdev; local 7003 struct net_device *netdev = pci_get_drvdata(pdev); local 7045 struct net_device *netdev = pci_get_drvdata(pdev); local 7117 igc_deliver_wake_packet(struct net_device *netdev) argument 7150 struct net_device *netdev = pci_get_drvdata(pdev); local 7212 struct net_device *netdev = dev_get_drvdata(dev); local 7245 struct net_device *netdev = pci_get_drvdata(pdev); local 7270 struct net_device *netdev = pci_get_drvdata(pdev); local 7309 struct net_device *netdev = pci_get_drvdata(pdev); local 7361 struct net_device *netdev = adapter->netdev; local [all...] |
/linux-master/drivers/net/ethernet/cisco/enic/ |
H A D | enic_pp.c | 56 struct net_device *netdev = enic->netdev; local 85 client_mac = netdev->dev_addr; 87 netdev_err(netdev, "Cannot find pp mac address " 183 struct net_device *netdev = enic->netdev; local 195 else if (vf == PORT_SELF_VF && !is_zero_ether_addr(netdev->dev_addr)) 197 netdev->dev_addr); 244 struct net_device *netdev = enic->netdev; local [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_trace.h | 68 __string(devname, q_vector->rx.rx_ring->netdev->name)), 72 __assign_str(devname, q_vector->rx.rx_ring->netdev->name);), 74 TP_printk("netdev: %s Rx-Q: %d dim-state: %d dim-profile: %d dim-tune: %d dim-st-right: %d dim-st-left: %d dim-tired: %d", 95 __string(devname, q_vector->tx.tx_ring->netdev->name)), 99 __assign_str(devname, q_vector->tx.tx_ring->netdev->name);), 101 TP_printk("netdev: %s Tx-Q: %d dim-state: %d dim-profile: %d dim-tune: %d dim-st-right: %d dim-st-left: %d dim-tired: %d", 126 __string(devname, ring->netdev->name)), 131 __assign_str(devname, ring->netdev->name);), 133 TP_printk("netdev: %s ring: %pK desc: %pK buf %pK", __get_str(devname), 155 __string(devname, ring->netdev [all...] |
H A D | ice_main.c | 81 ice_indr_setup_tc_cb(struct net_device *netdev, struct Qdisc *sch, 129 if (!(vsi->netdev && netif_carrier_ok(vsi->netdev))) 195 * @netdev: the net device on which the sync is happening 203 static int ice_add_mac_to_sync_list(struct net_device *netdev, const u8 *addr) argument 205 struct ice_netdev_priv *np = netdev_priv(netdev); 217 * @netdev: the net device on which the unsync is happening 225 static int ice_add_mac_to_unsync_list(struct net_device *netdev, const u8 *addr) argument 227 struct ice_netdev_priv *np = netdev_priv(netdev); 235 if (ether_addr_equal(addr, netdev 323 struct net_device *netdev = vsi->netdev; local 3510 struct net_device *netdev = vsi->netdev; local 3537 ice_set_netdev_features(struct net_device *netdev) argument 3720 ice_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 3783 ice_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 4538 struct net_device *netdev; local 5799 ice_set_mac_address(struct net_device *netdev, void *pi) argument 5885 ice_set_rx_mode(struct net_device *netdev) argument 5914 ice_set_tx_maxrate(struct net_device *netdev, int queue_index, u32 maxrate) argument 6073 ice_fix_features(struct net_device *netdev, netdev_features_t features) argument 6229 ice_set_vlan_features(struct net_device *netdev, netdev_features_t features) argument 6295 ice_set_features(struct net_device *netdev, netdev_features_t features) argument 6944 ice_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument 7622 ice_change_mtu(struct net_device *netdev, int new_mtu) argument 7686 ice_eth_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument 8049 ice_tx_timeout(struct net_device *netdev, unsigned int txqueue) argument 8934 ice_setup_tc_mqprio_qdisc(struct net_device *netdev, void *type_data) argument 9107 ice_setup_tc(struct net_device *netdev, enum tc_setup_type type, void *type_data) argument 9156 ice_indr_block_priv_lookup(struct ice_netdev_priv *np, struct net_device *netdev) argument 9188 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 9255 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 9282 ice_open(struct net_device *netdev) argument 9304 ice_open_internal(struct net_device *netdev) argument 9372 ice_stop(struct net_device *netdev) argument 9411 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 1029 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); local 1258 struct net_device *netdev; local 1569 struct net_device *netdev; local 1594 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); local 1635 struct net_device *netdev; local 1710 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | trap.h | 16 struct net_device *netdev; member in struct:mlx5e_trap
|
/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/hisilicon/hns3/hns3pf/ |
H A D | hclge_trace.h | 27 __string(devname, hdev->vport[0].nic.kinfo.netdev->name) 36 __assign_str(devname, hdev->vport[0].nic.kinfo.netdev->name); 59 __string(devname, hdev->vport[0].nic.kinfo.netdev->name) 67 __assign_str(devname, hdev->vport[0].nic.kinfo.netdev->name);
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_trace.h | 26 __string(devname, hdev->nic.kinfo.netdev->name) 34 __assign_str(devname, hdev->nic.kinfo.netdev->name); 58 __string(devname, hdev->nic.kinfo.netdev->name) 67 __assign_str(devname, hdev->nic.kinfo.netdev->name);
|
/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/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 2479 i40e_get_stat_strings(struct net_device *netdev, u8 *data) argument 2516 i40e_get_priv_flag_strings(struct net_device *netdev, u8 *data) argument 2532 i40e_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument 2592 i40e_link_test(struct net_device *netdev, u64 *data) argument 2615 i40e_reg_test(struct net_device *netdev, u64 *data) argument 2626 i40e_eeprom_test(struct net_device *netdev, u64 *data) argument 2640 i40e_intr_test(struct net_device *netdev, u64 *data) argument 2675 i40e_diag_test(struct net_device *netdev, struct ethtool_test *eth_test, u64 *data) argument 2757 i40e_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 2781 i40e_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 2816 i40e_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) argument 2886 __i40e_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, int queue) argument 2939 i40e_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 2955 i40e_get_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *ec) argument 3018 __i40e_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, int queue) argument 3115 i40e_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 3131 i40e_set_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *ec) argument 3530 i40e_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 *rule_locs) argument 4958 i40e_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) argument 5102 i40e_get_rxfh_key_size(struct net_device *netdev) argument 5113 i40e_get_rxfh_indir_size(struct net_device *netdev) argument 5126 i40e_get_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh) argument 5165 i40e_set_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh, struct netlink_ext_ack *extack) argument 5494 i40e_get_module_info(struct net_device *netdev, struct ethtool_modinfo *modinfo) argument 5600 i40e_get_module_eeprom(struct net_device *netdev, struct ethtool_eeprom *ee, u8 *data) argument 5647 i40e_get_eee(struct net_device *netdev, struct ethtool_keee *edata) argument 5680 i40e_is_eee_param_supported(struct net_device *netdev, struct ethtool_keee *edata) argument 5707 i40e_set_eee(struct net_device *netdev, struct ethtool_keee *edata) argument 5831 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...] |