Home
last modified time | relevance | path

Searched refs:netdev (Results 476 – 500 of 1122) sorted by relevance

1...<<11121314151617181920>>...45

/openbmc/linux/drivers/net/ethernet/atheros/alx/
H A Dalx.h53 struct net_device *netdev; member
73 struct net_device *netdev; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c694 struct net_device *netdev; in mlx5e_hairpin_get_mdev() local
698 if (!netdev) in mlx5e_hairpin_get_mdev()
701 priv = netdev_priv(netdev); in mlx5e_hairpin_get_mdev()
703 dev_put(netdev); in mlx5e_hairpin_get_mdev()
1299 netdev_err(priv->netdev, in mlx5e_add_offloaded_nic_rule()
3023 netdev_err(priv->netdev, in __parse_cls_flower()
5367 netdev_warn(priv->netdev, in mlx5e_tc_esw_init()
5458 if (!priv->netdev || !netif_device_present(priv->netdev)) in mlx5e_setup_tc_block_cb()
5499 netdev_dbg(priv->netdev, in mlx5e_tc_restore_tunnel()
5532 netdev_dbg(priv->netdev, in mlx5e_tc_restore_tunnel()
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/crypto/
H A Dipsec.c272 struct net_device *netdev = x->xso.real_dev; in nfp_net_xfrm_add_state() local
279 nn = netdev_priv(netdev); in nfp_net_xfrm_add_state()
516 struct net_device *netdev = x->xso.real_dev; in nfp_net_xfrm_del_state() local
520 nn = netdev_priv(netdev); in nfp_net_xfrm_del_state()
551 nn->dp.netdev->xfrmdev_ops = &nfp_net_ipsec_xfrmdev_ops; in nfp_net_ipsec_init()
582 struct net_device *netdev = skb->dev; in nfp_net_ipsec_rx() local
589 nn = netdev_priv(netdev); in nfp_net_ipsec_rx()
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc.h95 struct net_device *netdev; /* back pointer to net_device */ member
154 struct net_device *netdev; member
285 int igc_open(struct net_device *netdev);
286 int igc_close(struct net_device *netdev);
634 return netdev_get_tx_queue(tx_ring->netdev, tx_ring->queue_index); in txring_txq()
698 int igc_ptp_set_ts_config(struct net_device *netdev, struct ifreq *ifr);
699 int igc_ptp_get_ts_config(struct net_device *netdev, struct ifreq *ifr);
H A Digc_diag.c49 netdev_err(adapter->netdev, in reg_pattern_test()
71 netdev_err(adapter->netdev, in reg_set_and_check()
100 netdev_err(adapter->netdev, in igc_reg_test()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_debugfs.c26 adapter->netdev->name, dbg_buf); in ixgbe_dbg_common_ops_read()
170 adapter->netdev->netdev_ops->ndo_tx_timeout(adapter->netdev, in ixgbe_dbg_netdev_ops_write()
H A Dixgbe_sriov.c492 struct net_device *dev = adapter->netdev; in ixgbe_set_vf_lpe()
739 ixgbe_set_rx_mode(adapter->netdev); in ixgbe_vf_reset_event()
858 struct net_device *dev = adapter->netdev; in ixgbe_set_vf_rx_tx()
1060 struct net_device *dev = adapter->netdev; in ixgbe_get_vf_queues()
1422 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_ndo_set_vf_mac()
1530 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_ndo_set_vf_vlan()
1648 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_ndo_set_vf_bw()
1683 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_ndo_set_vf_spoofchk()
1761 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_ndo_set_vf_link_state()
1798 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_ndo_set_vf_rss_query_en()
[all …]
/openbmc/linux/drivers/net/usb/
H A Dsmsc75xx.c184 struct usbnet *dev = netdev_priv(netdev); in __smsc75xx_mdio_read()
231 struct usbnet *dev = netdev_priv(netdev); in __smsc75xx_mdio_write()
545 struct usbnet *dev = netdev_priv(netdev); in smsc75xx_set_multicast()
572 netdev_for_each_mc_addr(ha, netdev) { in smsc75xx_set_multicast()
685 struct usbnet *dev = netdev_priv(netdev); in smsc75xx_ethtool_get_eeprom()
695 struct usbnet *dev = netdev_priv(netdev); in smsc75xx_ethtool_set_eeprom()
752 struct usbnet *dev = netdev_priv(netdev); in smsc75xx_ioctl()
754 if (!netif_running(netdev)) in smsc75xx_ioctl()
925 struct usbnet *dev = netdev_priv(netdev); in smsc75xx_change_mtu()
934 return usbnet_change_mtu(netdev, new_mtu); in smsc75xx_change_mtu()
[all …]
/openbmc/linux/net/wireless/
H A Dmlme.c105 nl80211_send_rx_auth(rdev, wdev->netdev, buf, len, GFP_KERNEL); in cfg80211_process_auth()
117 bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); in cfg80211_process_deauth()
136 bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); in cfg80211_process_disassoc()
138 nl80211_send_disassoc(rdev, wdev->netdev, buf, len, reconnect, in cfg80211_process_disassoc()
1004 void cfg80211_cac_event(struct net_device *netdev, in cfg80211_cac_event() argument
1008 struct wireless_dev *wdev = netdev->ieee80211_ptr; in cfg80211_cac_event()
1017 trace_cfg80211_cac_event(netdev, event); in cfg80211_cac_event()
1044 nl80211_radar_notify(rdev, chandef, event, netdev, gfp); in cfg80211_cac_event()
1055 struct net_device *netdev; in __cfg80211_background_cac_event() local
1084 netdev = wdev ? wdev->netdev : NULL; in __cfg80211_background_cac_event()
[all …]
H A Dsme.c137 dev_hold(wdev->netdev); in cfg80211_conn_scan()
212 err = cfg80211_mlme_assoc(rdev, wdev->netdev, &req); in cfg80211_conn_do_work()
255 if (!wdev->netdev) in cfg80211_conn_work()
259 if (!netif_running(wdev->netdev)) { in cfg80211_conn_work()
395 __cfg80211_connect_result(wdev->netdev, &cr, false); in cfg80211_sme_rx_auth()
679 err = cfg80211_mlme_deauth(rdev, wdev->netdev, in cfg80211_sme_disconnect()
1141 wdev->netdev, info, GFP_KERNEL); in __cfg80211_roamed()
1148 wireless_send_event(wdev->netdev, IWEVASSOCREQIE, in __cfg80211_roamed()
1600 __cfg80211_leave_mesh(rdev, wdev->netdev); in cfg80211_autodisconnect_wk()
1610 cfg80211_disconnect(rdev, wdev->netdev, in cfg80211_autodisconnect_wk()
[all …]
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_enet.h60 struct net_device *netdev; member
90 void hns_nic_net_reinit(struct net_device *netdev);
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Dosdep_service_linux.h115 static inline struct adapter *rtw_netdev_priv(struct net_device *netdev) in rtw_netdev_priv() argument
117 return ((struct rtw_netdev_priv_indicator *)netdev_priv(netdev))->priv; in rtw_netdev_priv()
/openbmc/qemu/qapi/
H A Dnet.json85 # @netdev: id of -netdev to connect to
99 '*netdev': 'str',
380 # @netdev: used to connect hub to a netdev instead of a device (since
388 '*netdev': 'str' } }
629 # Configuration info for stream socket netdev
690 # Available netdev drivers.
957 # @netdev-id: QEMU netdev id that is connected
977 'data': { 'netdev-id': 'str',
985 # @netdev-id: QEMU netdev id that is disconnected
992 # 'data': {'netdev-id': 'netdev0'},
[all …]
/openbmc/qemu/docs/system/ppc/
H A Dpowernv.rst79 -device e1000e,netdev=net0,mac=C0:FF:EE:00:00:02,bus=pcie.0,addr=0x0 \
80 -netdev user,id=net0,hostfwd=::20022-:22,hostname=pnv \
102 -device e1000e,netdev=net0,mac=C0:FF:EE:00:00:02,bus=pcie.0,addr=0x0
103 -netdev bridge,id=net0,helper=/usr/libexec/qemu-bridge-helper,br=virbr0,id=hostnet0
126 -device e1000e,netdev=net0,mac=C0:FF:EE:00:00:02,bus=bridge1,addr=0x2 \
127 -netdev bridge,helper=/usr/libexec/qemu-bridge-helper,br=virbr0,id=net0 \
139 -netdev tap,helper=/usr/lib/qemu/qemu-bridge-helper,br=virbr0,id=netdev0 \
140 -device virtio-net-pci,netdev=netdev0,id=net0,bus=pcie.1 \
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A D11h.c123 cfg80211_cac_event(priv->netdev, &chandef, in mwifiex_dfs_cac_work_queue()
184 cfg80211_cac_event(priv->netdev, &priv->dfs_chandef, in mwifiex_abort_cac()
221 cfg80211_cac_event(priv->netdev, in mwifiex_11h_handle_chanrpt_ready()
291 cfg80211_ch_switch_notify(priv->netdev, &priv->dfs_chandef, 0, 0); in mwifiex_dfs_chan_sw_work_queue()
H A Ddebugfs.c67 struct net_device *netdev = priv->netdev; in mwifiex_info_read() local
91 p += sprintf(p, "\ninterface_name=\"%s\"\n", netdev->name); in mwifiex_info_read()
100 p += sprintf(p, "mac_address=\"%pM\"\n", netdev->dev_addr); in mwifiex_info_read()
104 netdev_mc_count(netdev)); in mwifiex_info_read()
113 netdev_for_each_mc_addr(ha, netdev) in mwifiex_info_read()
126 p += sprintf(p, "carrier %s\n", ((netif_carrier_ok(priv->netdev)) in mwifiex_info_read()
129 for (i = 0; i < netdev->num_tx_queues; i++) { in mwifiex_info_read()
130 txq = netdev_get_tx_queue(netdev, i); in mwifiex_info_read()
970 priv->dfs_dev_dir = debugfs_create_dir(priv->netdev->name, in mwifiex_dev_debugfs_init()
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_init.c186 struct net_device *netdev = adapter->netdev; in netxen_alloc_sw_resources() local
195 tx_ring->txq = netdev_get_tx_queue(netdev, 0); in netxen_alloc_sw_resources()
1391 struct net_device *netdev = adapter->netdev; in netxen_handle_linkevent() local
1406 netdev->name, cable_OUI, cable_len); in netxen_handle_linkevent()
1409 netdev->name, cable_len); in netxen_handle_linkevent()
1518 struct net_device *netdev = adapter->netdev; in netxen_process_rcv() local
1572 struct net_device *netdev = adapter->netdev; in netxen_process_lro() local
1742 struct net_device *netdev = adapter->netdev; in netxen_process_cmd_ring() local
1779 if (count && netif_running(netdev)) { in netxen_process_cmd_ring()
1782 if (netif_queue_stopped(netdev) && netif_carrier_ok(netdev)) in netxen_process_cmd_ring()
[all …]
/openbmc/linux/drivers/net/can/
H A Dkvaser_pciefd.c672 err = open_candev(netdev); in kvaser_pciefd_open()
678 close_candev(netdev); in kvaser_pciefd_open()
703 close_candev(netdev); in kvaser_pciefd_stop()
752 struct net_device *netdev) in kvaser_pciefd_start_xmit() argument
760 if (can_dev_dropped_skb(netdev, skb)) in kvaser_pciefd_start_xmit()
800 netif_stop_queue(netdev); in kvaser_pciefd_start_xmit()
912 struct net_device *netdev; in kvaser_pciefd_setup_can_ctrls() local
918 if (!netdev) in kvaser_pciefd_setup_can_ctrls()
921 can = netdev_priv(netdev); in kvaser_pciefd_setup_can_ctrls()
964 free_candev(netdev); in kvaser_pciefd_setup_can_ctrls()
[all …]
/openbmc/linux/drivers/net/vmxnet3/
H A Dvmxnet3_int.h372 struct net_device *netdev; member
517 vmxnet3_fix_features(struct net_device *netdev, netdev_features_t features);
521 struct net_device *netdev, netdev_features_t features);
524 vmxnet3_set_features(struct net_device *netdev, netdev_features_t features);
531 void vmxnet3_set_ethtool_ops(struct net_device *netdev);
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.c80 if (!tx_ring->netdev) in iavf_clean_tx_ring()
159 struct net_device *netdev; in iavf_detect_recover_hung() local
169 netdev = vsi->netdev; in iavf_detect_recover_hung()
170 if (!netdev) in iavf_detect_recover_hung()
173 if (!netif_carrier_ok(netdev)) in iavf_detect_recover_hung()
336 if (__netif_subqueue_stopped(tx_ring->netdev, in iavf_clean_tx_irq()
339 netif_wake_subqueue(tx_ring->netdev, in iavf_clean_tx_irq()
924 if (!rx_ring->netdev || !cleaned_count) in iavf_alloc_rx_buffers()
1004 if (!(vsi->netdev->features & NETIF_F_RXCSUM)) in iavf_rx_checksum()
1099 if (!(ring->netdev->features & NETIF_F_RXHASH)) in iavf_rx_hash()
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfd3/
H A Dnfd3.h92 nfp_nfd3_parse_meta(struct net_device *netdev, struct nfp_meta_parsed *meta,
96 netdev_tx_t nfp_nfd3_tx(struct sk_buff *skb, struct net_device *netdev);
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c699 struct net_device *ndev = priv->netdev; in bcm_sysport_rx_refill()
760 struct net_device *ndev = priv->netdev; in bcm_sysport_desc_rx()
914 struct net_device *ndev = priv->netdev; in __bcm_sysport_tx_reclaim()
1022 for (q = 0; q < priv->netdev->num_tx_queues; q++) in bcm_sysport_tx_reclaim_all()
1116 netdev_info(priv->netdev, in bcm_sysport_resume_from_wol()
1595 netif_dbg(priv, hw, priv->netdev, in bcm_sysport_init_tx_ring()
1736 netif_dbg(priv, hw, priv->netdev, in bcm_sysport_init_rx_ring()
1953 if (netdev_uses_dsa(priv->netdev)) { in gib_set_pad_extension()
2425 if (priv->netdev != dev) in bcm_sysport_netdevice_event()
2549 priv->netdev = dev; in bcm_sysport_probe()
[all …]
/openbmc/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_tx.c343 netdev_tx_t fun_start_xmit(struct sk_buff *skb, struct net_device *netdev) in fun_start_xmit() argument
345 struct funeth_priv *fp = netdev_priv(netdev); in fun_start_xmit()
649 q->netdev = dev; in fun_txq_create_sw()
667 struct funeth_priv *fp = netdev_priv(q->netdev); in fun_txq_free_sw()
682 struct funeth_priv *fp = netdev_priv(q->netdev); in fun_txq_create_dev()
709 q->ndq = netdev_get_tx_queue(q->netdev, q->qidx); in fun_txq_create_dev()
716 netif_info(fp, ifup, q->netdev, in fun_txq_create_dev()
725 netdev_err(q->netdev, in fun_txq_create_dev()
733 struct funeth_priv *fp = netdev_priv(q->netdev); in fun_txq_free_dev()
738 netif_info(fp, ifdown, q->netdev, in fun_txq_free_dev()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dlag.c290 if (ldev->pf[i].netdev == ndev) in mlx5_lag_dev_get_netdev_idx()
1166 struct net_device *netdev) in mlx5_ldev_add_netdev() argument
1175 ldev->pf[fn].netdev = netdev; in mlx5_ldev_add_netdev()
1182 struct net_device *netdev) in mlx5_ldev_remove_netdev() argument
1189 if (ldev->pf[i].netdev == netdev) { in mlx5_ldev_remove_netdev()
1190 ldev->pf[i].netdev = NULL; in mlx5_ldev_remove_netdev()
1301 struct net_device *netdev) in mlx5_lag_remove_netdev() argument
1322 struct net_device *netdev) in mlx5_lag_add_netdev() argument
1335 if (!ldev->pf[i].netdev) in mlx5_lag_add_netdev()
1485 ndev = ldev->pf[i].netdev; in mlx5_lag_get_roce_netdev()
[all …]
/openbmc/linux/Documentation/networking/
H A Dmultiqueue.rst18 the subqueue memory, as well as netdev configuration of where the queues
22 netdev->queue_lock today. Therefore base drivers should use the
24 device is still operational. netdev->queue_lock is still used when the device
66 function or based on netdev->select_queue() if you have it defined.

1...<<11121314151617181920>>...45