/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | dcbnl.h | 42 void mlx5e_dcbnl_build_netdev(struct net_device *netdev); 47 static inline void mlx5e_dcbnl_build_netdev(struct net_device *netdev) {} in mlx5e_dcbnl_build_netdev() argument
|
/openbmc/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep.h | 160 struct net_device *netdev; member 206 int tsnep_ptp_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd); 210 int tsnep_tc_setup(struct net_device *netdev, enum tc_setup_type type, 233 void tsnep_ethtool_self_test(struct net_device *netdev,
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_trace.h | 77 __string(devname, ring->tqp->handle->kinfo.netdev->name) 87 __assign_str(devname, ring->tqp->handle->kinfo.netdev->name); 109 __string(devname, ring->tqp->handle->kinfo.netdev->name) 120 __assign_str(devname, ring->tqp->handle->kinfo.netdev->name);
|
/openbmc/linux/drivers/infiniband/hw/irdma/ |
H A D | i40iw_if.c | 23 ibdev = ib_device_get_by_netdev(cdev_info->netdev, RDMA_DRIVER_IRDMA); in i40iw_l2param_change() 52 ibdev = ib_device_get_by_netdev(cdev_info->netdev, RDMA_DRIVER_IRDMA); in i40iw_close() 92 iwdev->netdev = cdev_info->netdev; in i40iw_fill_device_info()
|
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | core.c | 340 netif_tx_stop_all_queues(vif->netdev); in qtnf_vif_reset_handler() 341 if (netif_carrier_ok(vif->netdev)) in qtnf_vif_reset_handler() 342 netif_carrier_off(vif->netdev); in qtnf_vif_reset_handler() 397 if (!vif->netdev || in qtnf_vif_send_data_high_pri() 475 vif->netdev = dev; in qtnf_core_net_attach() 498 vif->netdev = NULL; in qtnf_core_net_attach() 522 if (vif->netdev && in qtnf_core_mac_detach() 524 qtnf_virtual_intf_cleanup(vif->netdev); in qtnf_core_mac_detach() 876 ndev = vif->netdev; in qtnf_classify_skb() 913 if (vif->netdev && netif_queue_stopped(vif->netdev)) in qtnf_wake_all_queues() [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/netronome/ |
H A D | nfp.rst | 123 $ ethtool -i <netdev> 193 $ ip link set dev <netdev port 0> down 194 $ ip link set dev <netdev port 1> down 198 $ ethtool -s <netdev port 0> speed 10000 199 $ ethtool -s <netdev port 1> speed 10000 203 $ ethtool -s <netdev port 0> speed 25000 204 $ ethtool -s <netdev port 1> speed 25000 221 $ ip link set dev <netdev port> mtu 9000 240 $ ethtool <netdev> 244 $ ethtool --show-fec <netdev> [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfd3/ |
H A D | rings.c | 90 if (tx_ring->is_xdp || !dp->netdev) in nfp_nfd3_tx_ring_reset() 93 nd_q = netdev_get_tx_queue(dp->netdev, tx_ring->idx); in nfp_nfd3_tx_ring_reset() 138 …netdev_warn(dp->netdev, "failed to allocate TX descriptor ring memory, requested descriptor count:… in nfp_nfd3_tx_ring_alloc() 148 if (!tx_ring->is_xdp && dp->netdev) in nfp_nfd3_tx_ring_alloc() 149 netif_set_xps_queue(dp->netdev, &r_vec->affinity_mask, in nfp_nfd3_tx_ring_alloc()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | ipoib_tx.c | 57 netif_stop_subqueue(txq->priv->netdev, txq->q_idx); in hfi1_ipoib_stop_txq() 64 netif_wake_subqueue(txq->priv->netdev, txq->q_idx); in hfi1_ipoib_wake_txq() 69 return min_t(uint, txq->priv->netdev->tx_queue_len, in hfi1_ipoib_ring_hwat() 75 return min_t(uint, txq->priv->netdev->tx_queue_len, in hfi1_ipoib_ring_lwat() 91 struct net_device *dev = txq->priv->netdev; in hfi1_ipoib_check_queue_stopped() 121 ++priv->netdev->stats.tx_errors; in hfi1_ipoib_free_tx() 271 u32 sqpn = (u32)(priv->netdev->dev_addr[1] << 16 | in hfi1_ipoib_build_ib_tx_headers() 272 priv->netdev->dev_addr[2] << 8 | in hfi1_ipoib_build_ib_tx_headers() 273 priv->netdev->dev_addr[3]); in hfi1_ipoib_build_ib_tx_headers() 675 struct net_device *dev = txq->priv->netdev; in hfi1_ipoib_flush_txq() [all …]
|
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_main.c | 686 dev_put(dev->netdev); in pvrdma_netdevice_event_handle() 687 dev->netdev = NULL; in pvrdma_netdevice_event_handle() 698 dev->netdev = ndev; in pvrdma_netdevice_event_handle() 946 if (!dev->netdev) { in pvrdma_pci_probe() 951 dev_hold(dev->netdev); in pvrdma_pci_probe() 1024 if (dev->netdev) { in pvrdma_pci_probe() 1025 dev_put(dev->netdev); in pvrdma_pci_probe() 1026 dev->netdev = NULL; in pvrdma_pci_probe() 1067 if (dev->netdev) { in pvrdma_pci_remove() 1068 dev_put(dev->netdev); in pvrdma_pci_remove() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | macsec.h | 37 void mlx5e_macsec_offload_handle_rx_skb(struct net_device *netdev, struct sk_buff *skb, 47 static inline void mlx5e_macsec_offload_handle_rx_skb(struct net_device *netdev, in mlx5e_macsec_offload_handle_rx_skb() argument
|
H A D | ipsec_rxtx.h | 62 bool mlx5e_ipsec_handle_tx_skb(struct net_device *netdev, 68 void mlx5e_ipsec_offload_handle_rx_skb(struct net_device *netdev, 141 void mlx5e_ipsec_offload_handle_rx_skb(struct net_device *netdev, in mlx5e_ipsec_offload_handle_rx_skb() argument
|
/openbmc/linux/drivers/net/usb/ |
H A D | mcs7830.c | 153 static int mcs7830_set_mac_address(struct net_device *netdev, void *p) in mcs7830_set_mac_address() argument 156 struct usbnet *dev = netdev_priv(netdev); in mcs7830_set_mac_address() 159 if (netif_running(netdev)) in mcs7830_set_mac_address() 171 eth_hw_addr_set(netdev, addr->sa_data); in mcs7830_set_mac_address() 314 static int mcs7830_mdio_read(struct net_device *netdev, int phy_id, in mcs7830_mdio_read() argument 317 struct usbnet *dev = netdev_priv(netdev); in mcs7830_mdio_read() 321 static void mcs7830_mdio_write(struct net_device *netdev, int phy_id, in mcs7830_mdio_write() argument 324 struct usbnet *dev = netdev_priv(netdev); in mcs7830_mdio_write()
|
H A D | lan78xx.c | 1892 if (!netdev->phydev) in lan78xx_get_regs_len() 1910 if (!netdev->phydev) in lan78xx_get_regs() 2531 netdev->mtu = new_mtu; in lan78xx_change_mtu() 2544 if (netif_running(netdev)) in lan78xx_set_mac_addr() 2553 netdev->dev_addr[1] << 8 | in lan78xx_set_mac_addr() 2557 netdev->dev_addr[5] << 8; in lan78xx_set_mac_addr() 4317 struct net_device *netdev; in lan78xx_probe() local 4328 if (!netdev) { in lan78xx_probe() 4337 dev = netdev_priv(netdev); in lan78xx_probe() 4340 dev->net = netdev; in lan78xx_probe() [all …]
|
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-phy-v2.c | 456 netif_dbg(pdata, drv, pdata->netdev, in xgbe_phy_redrv_write() 959 netif_dbg(pdata, drv, pdata->netdev, in xgbe_phy_finisar_phy_quirks() 1040 netif_dbg(pdata, drv, pdata->netdev, in xgbe_phy_belfuse_phy_quirks() 1082 netdev_err(pdata->netdev, in xgbe_phy_find_phy_device() 1314 netdev_name(pdata->netdev)); in xgbe_phy_sfp_read_eeprom() 1325 netdev_name(pdata->netdev)); in xgbe_phy_sfp_read_eeprom() 1377 netdev_name(pdata->netdev)); in xgbe_phy_sfp_signals() 1499 netdev_err(pdata->netdev, in xgbe_phy_module_eeprom() 1515 netdev_err(pdata->netdev, in xgbe_phy_module_eeprom() 1551 if (!netif_running(pdata->netdev)) in xgbe_phy_module_info() [all …]
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_hw.c | 397 netdev_err(adapter->netdev, in atl1e_phy_commit() 402 netdev_err(adapter->netdev, "pcie linkup after %d ms\n", i); in atl1e_phy_commit() 473 netdev_err(adapter->netdev, in atl1e_phy_init() 480 netdev_err(adapter->netdev, in atl1e_phy_init() 485 netdev_dbg(adapter->netdev, "Restarting Auto-Negotiation\n"); in atl1e_phy_init() 488 netdev_err(adapter->netdev, "Error resetting the phy\n"); in atl1e_phy_init() 542 netdev_err(adapter->netdev, in atl1e_reset_hw()
|
/openbmc/linux/Documentation/bpf/ |
H A D | map_xskmap.rst | 16 binds to a single netdev queue. A mapping of XSKs to queues is shown below: 43 An AF_XDP socket that is bound to a certain <netdev/queue_id> will *only* 44 accept XDP frames from that <netdev/queue_id>. If an XDP program tries to redirect 45 from a <netdev/queue_id> other than what the socket is bound to, the frame will 48 Typically an XSKMAP is created per netdev. This map contains an array of XSK File 51 of queues supported by the netdev. 69 for sockets attached to a netdev's queues.
|
/openbmc/qemu/docs/system/devices/ |
H A D | net.rst | 76 When using the ``'-netdev user,hostfwd=...'`` option, TCP or UDP 87 such a hub using the ``-netdev 90 default hub) unless you specify a netdev with ``-net nic,netdev=xxx`` 96 Using the ``-netdev socket`` (or ``-nic socket`` or ``-net socket``) 98 QEMU instances. See the description of the ``-netdev socket`` option in
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | cmsg.c | 154 struct net_device *netdev; in nfp_flower_cmsg_portmod_rx() local 162 netdev = nfp_app_dev_get(app, be32_to_cpu(msg->portnum), NULL); in nfp_flower_cmsg_portmod_rx() 164 if (!netdev) { in nfp_flower_cmsg_portmod_rx() 174 netif_carrier_on(netdev); in nfp_flower_cmsg_portmod_rx() 178 dev_set_mtu(netdev, mtu); in nfp_flower_cmsg_portmod_rx() 180 netif_carrier_off(netdev); in nfp_flower_cmsg_portmod_rx()
|
/openbmc/qemu/tests/avocado/ |
H A D | netdev-ethtool.py | 32 def common_test_code(self, netdev, extra_args=None): argument 58 '-device', netdev)
|
/openbmc/linux/fs/smb/server/ |
H A D | transport_rdma.h | 58 bool ksmbd_rdma_capable_netdev(struct net_device *netdev); 64 static inline bool ksmbd_rdma_capable_netdev(struct net_device *netdev) { return false; } in ksmbd_rdma_capable_netdev() argument
|
/openbmc/linux/net/wireless/ |
H A D | core.c | 166 if (!wdev->netdev) in cfg80211_switch_netns() 182 if (!wdev->netdev) in cfg80211_switch_netns() 195 if (!wdev->netdev) in cfg80211_switch_netns() 212 if (!wdev->netdev) in cfg80211_switch_netns() 279 if (wdev->netdev) { in cfg80211_shutdown_all_interfaces() 280 dev_close(wdev->netdev); in cfg80211_shutdown_all_interfaces() 347 if (wdev->netdev) in cfg80211_destroy_ifaces() 348 dev_close(wdev->netdev); in cfg80211_destroy_ifaces() 1205 if (wdev->netdev) { in _cfg80211_unregister_wdev() 1423 if (wdev->netdev && in cfg80211_register_wdev() [all …]
|
/openbmc/linux/drivers/hsi/clients/ |
H A D | ssi_protocol.c | 135 struct net_device *netdev; member 381 return netif_running(ssi->netdev); in ssip_slave_running() 391 if (netif_running(ssi->netdev)) in ssip_reset() 392 netif_carrier_off(ssi->netdev); in ssip_reset() 743 netif_wake_queue(ssi->netdev); in ssip_rx_waketest() 744 netif_carrier_on(ssi->netdev); in ssip_rx_waketest() 871 netif_wake_queue(ssi->netdev); in ssip_swbreak_complete() 1115 if (!ssi->netdev) { in ssi_protocol_probe() 1126 netif_carrier_off(ssi->netdev); in ssi_protocol_probe() 1140 free_netdev(ssi->netdev); in ssi_protocol_probe() [all …]
|
/openbmc/linux/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth.h | 85 struct net_device *netdev; member 158 void fun_set_ethtool_ops(struct net_device *netdev); 166 void fun_set_ring_count(struct net_device *netdev, unsigned int ntx,
|
/openbmc/qemu/docs/ |
H A D | COLO-FT.txt | 163 -netdev tap,id=hn0,vhost=off,helper=/usr/lib/qemu/qemu-bridge-helper \ 164 -device rtl8139,id=e0,netdev=hn0 \ 171 -object filter-mirror,id=m0,netdev=hn0,queue=tx,outdev=mirror0 \ 172 -object filter-redirector,netdev=hn0,id=redire0,queue=rx,indev=compare_out \ 173 -object filter-redirector,netdev=hn0,id=redire1,queue=rx,outdev=compare0 \ 194 -netdev tap,id=hn0,vhost=off,helper=/usr/lib/qemu/qemu-bridge-helper \ 195 -device rtl8139,id=e0,netdev=hn0 \ 198 -object filter-redirector,id=f1,netdev=hn0,queue=tx,indev=red0 \ 199 -object filter-redirector,id=f2,netdev=hn0,queue=rx,outdev=red1 \ 200 -object filter-rewriter,id=rew0,netdev=hn0,queue=all \ [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_lag.h | 26 struct net_device *netdev; member 32 struct net_device *netdev; /* this PF's netdev */ member
|