Searched refs:netdev (Results 201 - 225 of 963) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/engleder/
H A Dtsnep_xdp.c34 netdev_err(adapter->netdev,
43 netdev_err(adapter->netdev, "failed to map XSK pool\n");
67 pool = xsk_get_pool_from_qid(adapter->netdev, queue_id);
/linux-master/net/dsa/
H A Dtag_ocelot.c45 static void ocelot_xmit_common(struct sk_buff *skb, struct net_device *netdev, argument
48 struct dsa_port *dp = dsa_user_to_port(netdev);
58 qos_class = netdev_get_num_tc(netdev) ?
59 netdev_get_prio_tc_map(netdev, skb->priority) : skb->priority;
80 struct net_device *netdev)
82 struct dsa_port *dp = dsa_user_to_port(netdev);
85 ocelot_xmit_common(skb, netdev, cpu_to_be32(0x8880000a), &injection);
92 struct net_device *netdev)
94 struct dsa_port *dp = dsa_user_to_port(netdev);
97 ocelot_xmit_common(skb, netdev, cpu_to_be3
79 ocelot_xmit(struct sk_buff *skb, struct net_device *netdev) argument
91 seville_xmit(struct sk_buff *skb, struct net_device *netdev) argument
103 ocelot_rcv(struct sk_buff *skb, struct net_device *netdev) argument
[all...]
/linux-master/drivers/net/ethernet/micrel/
H A Dks8851_par.c122 netdev_err(ks->netdev, "incorrect EESK endian strap setting\n");
174 netif_dbg(ks, rx_status, ks->netdev,
198 netif_dbg(ks, tx_queued, ks->netdev, "%s: skb %p, %d@%p, irq %d\n",
241 netif_dbg(ks, tx_queued, ks->netdev,
274 struct net_device *netdev; local
278 netdev = devm_alloc_etherdev(dev, sizeof(struct ks8851_net_par));
279 if (!netdev)
282 ks = netdev_priv(netdev);
312 netdev->irq = platform_get_irq(pdev, 0);
313 if (netdev
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_eswitch.h28 ice_eswitch_port_start_xmit(struct sk_buff *skb, struct net_device *netdev);
77 ice_eswitch_port_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument
86 return rx_ring->netdev;
/linux-master/drivers/net/ethernet/cavium/liquidio/
H A Docteon_network.h82 struct net_device *netdev; member in struct:oct_nic_stats_ctrl
129 struct net_device *netdev; member in struct:lio
192 #define GET_LIO(netdev) ((struct lio *)netdev_priv(netdev))
198 * @param netdev pointer to network device
202 int liquidio_set_feature(struct net_device *netdev, int cmd, u16 param1);
204 int setup_rx_oom_poll_fn(struct net_device *netdev);
206 void cleanup_rx_oom_poll_fn(struct net_device *netdev);
232 * @param netdev pointer to network device
234 void liquidio_set_ethtool_ops(struct net_device *netdev);
559 stop_txqs(struct net_device *netdev) argument
571 wake_txqs(struct net_device *netdev) argument
591 start_txqs(struct net_device *netdev) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dmacsec.c107 const struct net_device *netdev; member in struct:mlx5e_macsec_device
315 struct net_device *netdev, u32 fs_id)
323 mlx5_macsec_fs_del_rule(macsec->mdev->macsec_fs, sa->macsec_rule, action, netdev,
330 struct net_device *netdev, u32 fs_id)
332 mlx5e_macsec_cleanup_sa_fs(macsec, sa, is_tx, netdev, fs_id);
340 struct mlx5e_priv *priv = macsec_netdev_priv(ctx->netdev);
364 struct mlx5e_priv *priv = macsec_netdev_priv(ctx->netdev);
420 struct mlx5e_priv *priv = macsec_netdev_priv(ctx->netdev);
429 mlx5e_macsec_cleanup_sa(macsec, rx_sa, false, ctx->secy->netdev, *fs_id);
442 const struct net_device *netdev local
313 mlx5e_macsec_cleanup_sa_fs(struct mlx5e_macsec *macsec, struct mlx5e_macsec_sa *sa, bool is_tx, struct net_device *netdev, u32 fs_id) argument
328 mlx5e_macsec_cleanup_sa(struct mlx5e_macsec *macsec, struct mlx5e_macsec_sa *sa, bool is_tx, struct net_device *netdev, u32 fs_id) argument
581 struct net_device *netdev; local
801 macsec_del_rxsc_ctx(struct mlx5e_macsec *macsec, struct mlx5e_macsec_rx_sc *rx_sc, struct net_device *netdev) argument
1069 const struct net_device *netdev = ctx->netdev; local
1678 mlx5e_macsec_offload_handle_rx_skb(struct net_device *netdev, struct sk_buff *skb, struct mlx5_cqe64 *cqe) argument
1708 struct net_device *netdev = priv->netdev; local
[all...]
/linux-master/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c126 netif_start_subqueue(adapter->netdev, tq - adapter->tx_queue);
134 netif_wake_subqueue(adapter->netdev, (tq - adapter->tx_queue));
143 netif_stop_subqueue(adapter->netdev, (tq - adapter->tx_queue));
178 netdev_info(adapter->netdev, "NIC Link is Up %d Mbps\n",
180 netif_carrier_on(adapter->netdev);
188 netdev_info(adapter->netdev, "NIC Link is Down\n");
189 netif_carrier_off(adapter->netdev);
222 dev_err(&adapter->netdev->dev,
224 adapter->netdev->name, i, le32_to_cpu(
228 dev_err(&adapter->netdev
1081 vmxnet3_tq_xmit(struct sk_buff *skb, struct vmxnet3_tx_queue *tq, struct vmxnet3_adapter *adapter, struct net_device *netdev) argument
1362 vmxnet3_xmit_frame(struct sk_buff *skb, struct net_device *netdev) argument
2395 vmxnet3_netpoll(struct net_device *netdev) argument
2597 vmxnet3_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument
2619 vmxnet3_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) argument
2641 vmxnet3_copy_mc(struct net_device *netdev) argument
2664 vmxnet3_set_mc(struct net_device *netdev) argument
3148 vmxnet3_set_mac_addr(struct net_device *netdev, void *p) argument
3351 vmxnet3_open(struct net_device *netdev) argument
3408 vmxnet3_close(struct net_device *netdev) argument
3455 vmxnet3_change_mtu(struct net_device *netdev, int new_mtu) argument
3505 struct net_device *netdev = adapter->netdev; local
3726 vmxnet3_tx_timeout(struct net_device *netdev, unsigned int txqueue) argument
3790 struct net_device *netdev; local
4143 struct net_device *netdev = pci_get_drvdata(pdev); local
4207 struct net_device *netdev = pci_get_drvdata(pdev); local
4238 struct net_device *netdev = pci_get_drvdata(pdev); local
4357 struct net_device *netdev = pci_get_drvdata(pdev); local
[all...]
/linux-master/drivers/net/can/softing/
H A Dsofting_fw.c409 static inline int softing_error_reporting(struct net_device *netdev) argument
411 struct softing_priv *priv = netdev_priv(netdev);
422 struct net_device *netdev; local
444 netdev = card->net[j];
445 if (!netdev)
447 priv = netdev_priv(netdev);
449 if (dev != netdev)
450 netif_stop_queue(netdev);
452 if (netif_running(netdev)) {
453 if (dev != netdev)
669 softing_default_output(struct net_device *netdev) argument
[all...]
/linux-master/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c197 struct net_device *netdev = adapter->netdev; local
223 if (netdev) {
226 pr_info("%-15s %016lX %016lX\n", netdev->name,
227 netdev->state, dev_trans_start(netdev));
239 if (!netdev || !netif_running(netdev))
547 * @netdev: pointer to netdev struc
552 e1000_receive_skb(struct e1000_adapter *adapter, struct net_device *netdev, struct sk_buff *skb, u32 staterr, __le16 vlan) argument
650 struct net_device *netdev = adapter->netdev; local
720 struct net_device *netdev = adapter->netdev; local
825 struct net_device *netdev = adapter->netdev; local
898 e1000_rx_hash(struct net_device *netdev, __le32 rss, struct sk_buff *skb) argument
918 struct net_device *netdev = adapter->netdev; local
1092 struct net_device *netdev = adapter->netdev; local
1218 struct net_device *netdev = adapter->netdev; local
1316 struct net_device *netdev = adapter->netdev; local
1510 struct net_device *netdev = adapter->netdev; local
1752 struct net_device *netdev = data; local
1818 struct net_device *netdev = data; local
1892 struct net_device *netdev = data; local
1915 struct net_device *netdev = data; local
1935 struct net_device *netdev = data; local
2102 struct net_device *netdev = adapter->netdev; local
2156 struct net_device *netdev = adapter->netdev; local
2189 struct net_device *netdev = adapter->netdev; local
2694 e1000_vlan_rx_add_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) argument
2720 e1000_vlan_rx_kill_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) argument
2754 struct net_device *netdev = adapter->netdev; local
2822 struct net_device *netdev = adapter->netdev; local
3305 e1000e_write_mc_addr_list(struct net_device *netdev) argument
3343 e1000e_write_uc_addr_list(struct net_device *netdev) argument
3400 e1000e_set_rx_mode(struct net_device *netdev) argument
4264 struct net_device *netdev = adapter->netdev; local
4441 struct net_device *netdev = adapter->netdev; local
4482 struct net_device *netdev = data; local
4507 struct net_device *netdev = adapter->netdev; local
4610 e1000e_open(struct net_device *netdev) argument
4717 e1000e_close(struct net_device *netdev) argument
4771 e1000_set_mac(struct net_device *netdev, void *p) argument
4928 struct net_device *netdev = adapter->netdev; local
5186 struct net_device *netdev = adapter->netdev; local
5778 e1000_xmit_frame(struct sk_buff *skb, struct net_device *netdev) argument
5933 e1000_tx_timeout(struct net_device *netdev, unsigned int __always_unused txqueue) argument
5969 e1000e_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument
6015 e1000_change_mtu(struct net_device *netdev, int new_mtu) argument
6077 e1000_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument
6151 e1000e_hwtstamp_set(struct net_device *netdev, struct ifreq *ifr) argument
6186 e1000e_hwtstamp_get(struct net_device *netdev, struct ifreq *ifr) argument
6194 e1000_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument
6286 struct net_device *netdev = pci_get_drvdata(pdev); local
6588 struct net_device *netdev = dev_get_drvdata(dev); local
6621 struct net_device *netdev = pci_get_drvdata(pdev); local
6866 struct net_device *netdev = dev_get_drvdata(dev); local
6890 struct net_device *netdev = pci_get_drvdata(pdev); local
6961 struct net_device *netdev = pci_get_drvdata(to_pci_dev(dev)); local
6984 struct net_device *netdev = pci_get_drvdata(to_pci_dev(dev)); local
7002 struct net_device *netdev = dev_get_drvdata(dev); local
7019 struct net_device *netdev = pci_get_drvdata(pdev); local
7038 struct net_device *netdev = pci_get_drvdata(pdev); local
7074 struct net_device *netdev = data; local
7110 e1000_netpoll(struct net_device *netdev) argument
7163 struct net_device *netdev = pci_get_drvdata(pdev); local
7208 struct net_device *netdev = pci_get_drvdata(pdev); local
7226 struct net_device *netdev = adapter->netdev; local
7265 e1000_fix_features(struct net_device *netdev, netdev_features_t features) argument
7286 e1000_set_features(struct net_device *netdev, netdev_features_t features) argument
7359 struct net_device *netdev; local
7727 struct net_device *netdev = pci_get_drvdata(pdev); local
[all...]
/linux-master/drivers/net/ethernet/wangxun/libwx/
H A Dwx_hw.h29 int wx_set_mac(struct net_device *netdev, void *p);
31 void wx_set_rx_mode(struct net_device *netdev);
32 int wx_change_mtu(struct net_device *netdev, int new_mtu);
42 int wx_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid);
43 int wx_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid);
/linux-master/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_ethtool.c14 static int txgbe_set_ringparam(struct net_device *netdev, argument
19 struct wx *wx = netdev_priv(netdev);
38 if (!netif_running(wx->netdev)) {
107 void txgbe_set_ethtool_ops(struct net_device *netdev) argument
109 netdev->ethtool_ops = &txgbe_ethtool_ops;
/linux-master/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c127 netif_dbg(adapter, tx_queued, adapter->netdev,
142 netif_err(adapter, tx_queued, adapter->netdev,
171 adapter->netdev->rx_cpu_rmap = alloc_irq_cpu_rmap(adapter->num_io_queues);
172 if (!adapter->netdev->rx_cpu_rmap)
177 rc = irq_cpu_rmap_add(adapter->netdev->rx_cpu_rmap,
180 free_irq_cpu_rmap(adapter->netdev->rx_cpu_rmap);
181 adapter->netdev->rx_cpu_rmap = NULL;
195 ring->netdev = adapter->netdev;
265 adapter->netdev, "tx_buffer_inf
1629 struct net_device *netdev; local
2265 ena_open(struct net_device *netdev) argument
2300 ena_close(struct net_device *netdev) argument
2814 ena_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument
3004 struct net_device *netdev = adapter->netdev; local
3106 struct net_device *netdev = adapter->netdev; local
3251 struct net_device *netdev = adapter->netdev; local
3637 struct net_device *netdev = adapter->netdev; local
3672 ena_update_host_info(struct ena_admin_host_info *host_info, struct net_device *netdev) argument
3750 ena_set_dev_offloads(struct ena_com_dev_get_features_ctx *feat, struct net_device *netdev) argument
3794 struct net_device *netdev = adapter->netdev; local
3880 struct net_device *netdev; local
4104 struct net_device *netdev; local
[all...]
H A Dena_xdp.h44 int ena_xdp(struct net_device *netdev, struct netdev_bpf *bpf);
74 if (adapter->netdev->mtu > ENA_XDP_MAX_MTU)
98 trace_xdp_exception(rx_ring->netdev, xdp_prog, verdict);
119 if (likely(!xdp_do_redirect(rx_ring->netdev, xdp, xdp_prog))) {
124 trace_xdp_exception(rx_ring->netdev, xdp_prog, verdict);
129 trace_xdp_exception(rx_ring->netdev, xdp_prog, verdict);
142 bpf_warn_invalid_xdp_action(rx_ring->netdev, xdp_prog, verdict);
/linux-master/drivers/net/ethernet/toshiba/
H A Dps3_gelic_net.h270 struct net_device *netdev[GELIC_PORT_MAX]; member in struct:gelic_card
316 struct net_device *netdev; member in struct:gelic_port
327 return p->netdev;
356 /* shared netdev ops */
359 int gelic_net_open(struct net_device *netdev);
360 int gelic_net_stop(struct net_device *netdev);
361 netdev_tx_t gelic_net_xmit(struct sk_buff *skb, struct net_device *netdev);
362 void gelic_net_set_multi(struct net_device *netdev);
363 void gelic_net_tx_timeout(struct net_device *netdev, unsigned int txqueue);
364 int gelic_net_setup_netdev(struct net_device *netdev, struc
[all...]
/linux-master/drivers/net/ethernet/brocade/bna/
H A Dbnad_ethtool.c235 bnad_get_link_ksettings(struct net_device *netdev, argument
253 if (netif_carrier_ok(netdev)) {
265 bnad_set_link_ksettings(struct net_device *netdev, argument
280 bnad_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument
282 struct bnad *bnad = netdev_priv(netdev);
304 bnad_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wolinfo) argument
310 static int bnad_get_coalesce(struct net_device *netdev, argument
315 struct bnad *bnad = netdev_priv(netdev);
333 static int bnad_set_coalesce(struct net_device *netdev, argument
338 struct bnad *bnad = netdev_priv(netdev);
407 bnad_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ringparam, struct kernel_ethtool_ringparam *kernel_ringparam, struct netlink_ext_ack *extack) argument
422 bnad_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ringparam, struct kernel_ethtool_ringparam *kernel_ringparam, struct netlink_ext_ack *extack) argument
501 bnad_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pauseparam) argument
512 bnad_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pauseparam) argument
598 bnad_get_strings(struct net_device *netdev, u32 stringset, u8 *string) argument
661 bnad_get_stats_count_locked(struct net_device *netdev) argument
792 bnad_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *buf) argument
884 bnad_get_sset_count(struct net_device *netdev, int sset) argument
940 bnad_get_eeprom_len(struct net_device *netdev) argument
946 bnad_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
986 bnad_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
1028 bnad_flash_device(struct net_device *netdev, struct ethtool_flash *eflash) argument
1095 bnad_set_ethtool_ops(struct net_device *netdev) argument
[all...]
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c97 if (other_dev == port_priv->netdev)
211 struct net_device *netdev = port_priv->netdev; local
219 netdev_err(netdev, "dpsw_if_get_link_state() err %d\n", err);
231 struct net_device *netdev = port_priv->netdev; local
239 netdev_err(netdev, "dpsw_if_get_tci err %d\n", err);
252 netdev_err(netdev, "dpsw_if_disable err %d\n", err);
260 netdev_err(netdev, "dpsw_if_set_tci err %d\n", err);
275 netdev_err(netdev, "dpsw_if_enabl
287 struct net_device *netdev = port_priv->netdev; local
492 dpaa2_switch_port_get_stats(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument
558 dpaa2_switch_port_has_offload_stats(const struct net_device *netdev, int attr_id) argument
564 dpaa2_switch_port_get_offload_stats(int attr_id, const struct net_device *netdev, void *sp) argument
577 dpaa2_switch_port_change_mtu(struct net_device *netdev, int mtu) argument
597 dpaa2_switch_port_link_state_update(struct net_device *netdev) argument
683 dpaa2_switch_port_open(struct net_device *netdev) argument
719 dpaa2_switch_port_stop(struct net_device *netdev) argument
760 dpaa2_switch_port_get_phys_name(struct net_device *netdev, char *name, size_t len) argument
946 dpaa2_switch_port_vlan_add(struct net_device *netdev, __be16 proto, u16 vid) argument
960 dpaa2_switch_port_vlan_kill(struct net_device *netdev, __be16 proto, u16 vid) argument
1194 struct net_device *netdev = port_priv->netdev; local
1221 struct net_device *netdev = port_priv->netdev; local
1307 dpaa2_switch_setup_tc_block_bind(struct net_device *netdev, struct flow_block_offload *f) argument
1357 dpaa2_switch_setup_tc_block_unbind(struct net_device *netdev, struct flow_block_offload *f) argument
1380 dpaa2_switch_setup_tc_block(struct net_device *netdev, struct flow_block_offload *f) argument
1399 dpaa2_switch_port_setup_tc(struct net_device *netdev, enum tc_setup_type type, void *type_data) argument
1433 dpaa2_switch_port_dev_check(const struct net_device *netdev) argument
1647 dpaa2_switch_port_attr_stp_state_set(struct net_device *netdev, u8 state) argument
1687 dpaa2_switch_port_pre_bridge_flags(struct net_device *netdev, struct switchdev_brport_flags flags, struct netlink_ext_ack *extack) argument
1709 dpaa2_switch_port_bridge_flags(struct net_device *netdev, struct switchdev_brport_flags flags, struct netlink_ext_ack *extack) argument
1734 dpaa2_switch_port_attr_set(struct net_device *netdev, const void *ctx, const struct switchdev_attr *attr, struct netlink_ext_ack *extack) argument
1766 dpaa2_switch_port_vlans_add(struct net_device *netdev, const struct switchdev_obj_port_vlan *vlan) argument
1814 dpaa2_switch_port_lookup_address(struct net_device *netdev, int is_uc, const unsigned char *addr) argument
1831 dpaa2_switch_port_mdb_add(struct net_device *netdev, const struct switchdev_obj_port_mdb *mdb) argument
1854 dpaa2_switch_port_obj_add(struct net_device *netdev, const struct switchdev_obj *obj) argument
1879 struct net_device *netdev = port_priv->netdev; local
1939 dpaa2_switch_port_vlans_del(struct net_device *netdev, const struct switchdev_obj_port_vlan *vlan) argument
1950 dpaa2_switch_port_mdb_del(struct net_device *netdev, const struct switchdev_obj_port_mdb *mdb) argument
1972 dpaa2_switch_port_obj_del(struct net_device *netdev, const struct switchdev_obj *obj) argument
1991 dpaa2_switch_port_attr_set_event(struct net_device *netdev, struct switchdev_notifier_port_attr_info *ptr) argument
2002 dpaa2_switch_port_bridge_join(struct net_device *netdev, struct net_device *upper_dev, struct netlink_ext_ack *extack) argument
2067 dpaa2_switch_port_pre_bridge_leave(struct net_device *netdev) argument
2072 dpaa2_switch_port_bridge_leave(struct net_device *netdev) argument
2130 dpaa2_switch_prevent_bridging_with_8021q_upper(struct net_device *netdev) argument
2146 dpaa2_switch_prechangeupper_sanity_checks(struct net_device *netdev, struct net_device *upper_dev, struct netlink_ext_ack *extack) argument
2183 dpaa2_switch_port_prechangeupper(struct net_device *netdev, struct netdev_notifier_changeupper_info *info) argument
2209 dpaa2_switch_port_changeupper(struct net_device *netdev, struct netdev_notifier_changeupper_info *info) argument
2236 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); local
2360 dpaa2_switch_port_obj_event(unsigned long event, struct net_device *netdev, struct switchdev_notifier_port_obj_info *port_obj_info) argument
2439 struct net_device *netdev; local
3152 struct net_device *netdev = port_priv->netdev; local
[all...]
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c17 static int iavf_close(struct net_device *netdev);
311 * @netdev: network interface device structure
314 static void iavf_tx_timeout(struct net_device *netdev, unsigned int txqueue) argument
316 struct iavf_adapter *adapter = netdev_priv(netdev);
409 * @data: pointer to netdev
413 struct net_device *netdev = data; local
414 struct iavf_adapter *adapter = netdev_priv(netdev);
636 * vector is only for the admin queue, and stays active even when the netdev
641 struct net_device *netdev = adapter->netdev; local
690 struct net_device *netdev = adapter->netdev; local
875 iavf_vlan_rx_add_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) argument
905 iavf_vlan_rx_kill_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) argument
1031 iavf_is_mac_set_handled(struct net_device *netdev, const u8 *macaddr) argument
1057 iavf_set_mac(struct net_device *netdev, void *p) argument
1101 iavf_addr_sync(struct net_device *netdev, const u8 *addr) argument
1119 iavf_addr_unsync(struct net_device *netdev, const u8 *addr) argument
1154 iavf_set_rx_mode(struct net_device *netdev) argument
1210 struct net_device *netdev = adapter->netdev; local
1357 struct net_device *netdev = adapter->netdev; local
1938 struct net_device *netdev = adapter->netdev; local
2601 struct net_device *netdev = adapter->netdev; local
2936 struct net_device *netdev = adapter->netdev; local
3516 __iavf_setup_tc(struct net_device *netdev, void *type_data) argument
4072 iavf_setup_tc(struct net_device *netdev, enum tc_setup_type type, void *type_data) argument
4129 iavf_open(struct net_device *netdev) argument
4222 iavf_close(struct net_device *netdev) argument
4296 iavf_change_mtu(struct net_device *netdev, int new_mtu) argument
4371 iavf_set_features(struct net_device *netdev, netdev_features_t features) argument
4689 struct net_device *netdev = adapter->netdev; local
4734 iavf_fix_features(struct net_device *netdev, netdev_features_t features) argument
4797 struct net_device *netdev = adapter->netdev; local
4903 struct net_device *netdev; local
5032 struct net_device *netdev = dev_get_drvdata(dev_d); local
5106 struct net_device *netdev; local
[all...]
/linux-master/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_param.c118 netdev_info(adapter->netdev,
122 netdev_info(adapter->netdev,
129 netdev_info(adapter->netdev, "%s set to %i\n",
142 netdev_info(adapter->netdev,
153 netdev_info(adapter->netdev, "Invalid %s specified (%i) %s\n",
173 netdev_notice(adapter->netdev,
175 netdev_notice(adapter->netdev,
/linux-master/drivers/net/caif/
H A Dcaif_virtio.c438 static int cfv_netdev_open(struct net_device *netdev) argument
440 struct cfv_info *cfv = netdev_priv(netdev);
445 netif_carrier_on(netdev);
454 static int cfv_netdev_close(struct net_device *netdev) argument
456 struct cfv_info *cfv = netdev_priv(netdev);
461 netif_carrier_off(netdev);
522 static netdev_tx_t cfv_netdev_tx(struct sk_buff *skb, struct net_device *netdev) argument
524 struct cfv_info *cfv = netdev_priv(netdev);
566 netif_tx_stop_all_queues(netdev);
583 /* update netdev statistic
613 cfv_netdev_setup(struct net_device *netdev) argument
653 struct net_device *netdev; local
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_sriov.c64 int nfp_app_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) argument
66 struct nfp_app *app = nfp_app_from_netdev(netdev);
96 int nfp_app_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, argument
99 struct nfp_app *app = nfp_app_from_netdev(netdev);
147 int nfp_app_set_vf_rate(struct net_device *netdev, int vf, argument
150 struct nfp_app *app = nfp_app_from_netdev(netdev);
178 int nfp_app_set_vf_spoofchk(struct net_device *netdev, int vf, bool enable) argument
180 struct nfp_app *app = nfp_app_from_netdev(netdev);
202 int nfp_app_set_vf_trust(struct net_device *netdev, int vf, bool enable) argument
204 struct nfp_app *app = nfp_app_from_netdev(netdev);
226 nfp_app_set_vf_link_state(struct net_device *netdev, int vf, int link_state) argument
260 nfp_app_get_vf_config(struct net_device *netdev, int vf, struct ifla_vf_info *ivi) argument
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_mdio.c175 static void hclge_mac_adjust_link(struct net_device *netdev) argument
177 struct hnae3_handle *h = *((void **)netdev_priv(netdev));
184 if (netdev->phydev->link == 0)
187 speed = netdev->phydev->speed;
188 duplex = netdev->phydev->duplex;
192 netdev_err(netdev, "failed to adjust link.\n");
196 netdev_err(netdev, "failed to configure flow control.\n");
203 struct net_device *netdev = hdev->vport[0].nic.netdev; local
215 ret = phy_connect_direct(netdev, phyde
265 struct net_device *netdev = hdev->vport[0].nic.netdev; local
[all...]
/linux-master/drivers/net/can/usb/etas_es58x/
H A Des58x_core.h399 * @netdev: Array of our CAN channels.
422 * @num_can_ch: Number of CAN channel (i.e. number of elements of @netdev).
437 struct net_device *netdev[ES58X_NUM_CAN_CH_MAX]; member in struct:es58x_device
603 * @netdev: CAN network device.
607 static inline struct es58x_priv *es58x_priv(struct net_device *netdev) argument
609 return (struct es58x_priv *)netdev_priv(netdev);
652 * @netdev: CAN network device.
662 struct net_device **netdev)
666 *netdev = NULL;
670 *netdev
660 es58x_get_netdev(struct es58x_device *es58x_dev, int channel_no, int channel_idx_offset, struct net_device **netdev) argument
[all...]
/linux-master/drivers/net/can/esd/
H A Desd_402_pci-core.c329 netdev_info(core->netdev, "unregister\n");
330 unregister_candev(core->netdev);
332 free_candev(core->netdev);
333 core->netdev = NULL;
345 struct net_device *netdev; local
358 netdev = alloc_candev(sizeof(*priv), core->tx_fifo_size);
359 if (!netdev) {
363 core->netdev = netdev;
365 netdev
[all...]
/linux-master/drivers/infiniband/hw/usnic/
H A Dusnic_ib_main.c103 /* Start of netdev section */
138 struct net_device *netdev; local
144 netdev = us_ibdev->netdev;
158 netif_carrier_ok(netdev)) {
167 !netif_carrier_ok(netdev)) {
183 if (!memcmp(us_ibdev->ufdev->mac, netdev->dev_addr,
191 netdev->dev_addr);
192 usnic_fwd_set_mac(us_ibdev->ufdev, netdev->dev_addr);
202 if (us_ibdev->ufdev->mtu != netdev
227 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); local
289 struct net_device *netdev = ifa->ifa_dev->dev; local
373 struct net_device *netdev; local
[all...]
/linux-master/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_main.c61 fp->netdev->dev_port);
97 fp->netdev->dev_port);
121 static void fun_report_link(struct net_device *netdev) argument
123 if (netif_carrier_ok(netdev)) {
124 const struct funeth_priv *fp = netdev_priv(netdev);
146 netdev_info(netdev, "Link up at %d %cb/s full-duplex%s%s\n",
149 netdev_info(netdev, "Link down\n");
441 static void fun_free_rings(struct net_device *netdev, struct fun_qset *qset) argument
443 struct funeth_priv *fp = netdev_priv(netdev);
454 qset->nrxqs = netdev
479 fun_alloc_rings(struct net_device *netdev, struct fun_qset *qset) argument
562 fun_port_create(struct net_device *netdev) argument
588 fun_port_destroy(struct net_device *netdev) argument
834 funeth_open(struct net_device *netdev) argument
861 funeth_close(struct net_device *netdev) argument
869 fun_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument
923 fun_change_mtu(struct net_device *netdev, int new_mtu) argument
934 fun_set_macaddr(struct net_device *netdev, void *addr) argument
953 fun_get_port_attributes(struct net_device *netdev) argument
1462 fun_set_ring_count(struct net_device *netdev, unsigned int ntx, unsigned int nrx) argument
1501 fun_dl_port_register(struct net_device *netdev) argument
1710 struct net_device *netdev; local
1821 fun_destroy_netdev(struct net_device *netdev) argument
1886 struct net_device *netdev; local
[all...]

Completed in 420 milliseconds

1234567891011>>