Home
last modified time | relevance | path

Searched refs:netdev (Results 501 – 525 of 1122) sorted by relevance

1...<<21222324252627282930>>...45

/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dmain.c149 rdev->qplib_res.netdev = NULL; in bnxt_re_destroy_chip_ctx()
919 rdev->netdev = en_dev->net; in bnxt_re_dev_add()
1160 rdev->netdev, &rdev->dev_attr); in bnxt_re_alloc_res()
1291 rdev->qplib_res.netdev->dev_addr); in bnxt_re_update_gid()
1301 struct net_device *netdev; in bnxt_re_get_priority_mask() local
1304 netdev = rdev->netdev; in bnxt_re_get_priority_mask()
1308 tmp_map = dcb_ieee_getapp_mask(netdev, &app); in bnxt_re_get_priority_mask()
1390 event = netif_running(rdev->netdev) && netif_carrier_ok(rdev->netdev) ? in bnxt_re_ib_init()
1698 real_dev = rdma_vlan_dev_real_dev(netdev); in bnxt_re_netdev_event()
1700 real_dev = netdev; in bnxt_re_netdev_event()
[all …]
/openbmc/qemu/docs/system/
H A Dreplay.rst42 -netdev user,id=net1 -device rtl8139,netdev=net1 \\
43 -object filter-replay,id=replay,netdev=net1
53 -netdev user,id=net1 -device rtl8139,netdev=net1 \\
54 -object filter-replay,id=replay,netdev=net1
168 -netdev user,id=net1 -device rtl8139,netdev=net1
169 -object filter-replay,id=replay,netdev=net1
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A Digb.h317 struct net_device *netdev; /* back pointer to net_device */ member
538 struct net_device *netdev; member
721 int igb_open(struct net_device *netdev);
722 int igb_close(struct net_device *netdev);
755 int igb_ptp_set_ts_config(struct net_device *netdev, struct ifreq *ifr);
756 int igb_ptp_get_ts_config(struct net_device *netdev, struct ifreq *ifr);
797 return netdev_get_tx_queue(tx_ring->netdev, tx_ring->queue_index); in txring_txq()
/openbmc/openbmc-build-scripts/scripts/
H A Dboot-qemu.sh114 -device virtio-net,netdev=mynet \
115 …-netdev "user,id=mynet,hostfwd=tcp:${IP}:22-:22,hostfwd=tcp:${IP}:443-:443,hostfwd=tcp:${IP}:80-:8…
/openbmc/openbmc/poky/meta/conf/machine/include/loongarch/
H A Dqemuloongarch.inc29 QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"
30 QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@"
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mei/
H A Diwl-mei.h418 void iwl_mei_set_netdev(struct net_device *netdev);
504 static inline void iwl_mei_set_netdev(struct net_device *netdev) in iwl_mei_set_netdev() argument
/openbmc/openbmc/poky/meta/conf/machine/include/riscv/
H A Dqemuriscv.inc32 QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"
33 QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@"
/openbmc/linux/drivers/usb/gadget/function/
H A Df_ncm.c69 struct net_device *netdev; member
872 if (ncm->netdev) { in ncm_set_alt()
874 ncm->netdev = NULL; in ncm_set_alt()
910 ncm->netdev = net; in ncm_set_alt()
1070 ncm->skb_tx_ndp->dev = ncm->netdev; in ncm_wrap_ntb()
1119 ncm->netdev->stats.tx_dropped++; in ncm_wrap_ntb()
1138 struct net_device *netdev = READ_ONCE(ncm->netdev); in ncm_tx_timeout() local
1140 if (netdev) { in ncm_tx_timeout()
1149 netdev->netdev_ops->ndo_start_xmit(NULL, netdev); in ncm_tx_timeout()
1357 if (ncm->netdev) { in ncm_disable()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c90 netdev_err(pfvf->netdev, in otx2_alloc_mcam_entries()
157 netdev_info(pfvf->netdev, in otx2_alloc_mcam_entries()
204 netdev_info(pfvf->netdev, in otx2_mcam_entry_init()
396 struct otx2_nic *pf = netdev_priv(netdev); in otx2_add_macfilter()
400 netdev_warn(netdev, in otx2_add_macfilter()
1095 netdev_err(pfvf->netdev, in otx2_add_flow()
1149 netdev_warn(pfvf->netdev, in otx2_add_flow()
1176 netdev_warn(pfvf->netdev, in otx2_add_flow()
1201 netdev_info(pfvf->netdev, in otx2_add_flow()
1244 pfvf->netdev->dev_addr); in otx2_update_rem_pfmac()
[all …]
H A Dqos.c38 netdev_err(pfvf->netdev, in otx2_qos_update_tx_netdev_queues()
986 if (!(pfvf->netdev->flags & IFF_UP)) { in otx2_qos_push_txschq_cfg()
1017 netdev_dbg(pfvf->netdev, in otx2_qos_root_add()
1045 netdev_dbg(pfvf->netdev, in otx2_qos_root_add()
1183 netdev_err(pfvf->netdev, in is_qos_node_dwrr()
1212 netdev_dbg(pfvf->netdev, in otx2_qos_leaf_alloc_queue()
1305 netdev_err(pfvf->netdev, in otx2_qos_leaf_alloc_queue()
1351 netdev_dbg(pfvf->netdev, in otx2_qos_leaf_to_inner()
1443 netdev_err(pfvf->netdev, in otx2_qos_leaf_to_inner()
1449 netdev_err(pfvf->netdev, in otx2_qos_leaf_to_inner()
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_hw.c513 if (netdev->flags & IFF_PROMISC) { in netxen_p2_nic_set_multi()
524 if (netdev_mc_empty(netdev)) { in netxen_p2_nic_set_multi()
532 if (netdev->flags & IFF_ALLMULTI || in netxen_p2_nic_set_multi()
541 netdev_for_each_mc_addr(ha, netdev) in netxen_p2_nic_set_multi()
667 if (netdev->flags & IFF_PROMISC) { in netxen_p3_nic_set_multi()
678 if (!netdev_mc_empty(netdev)) { in netxen_p3_nic_set_multi()
869 adapter->netdev->name); in netxen_config_rss()
893 adapter->netdev->name, in netxen_config_ipaddr()
915 adapter->netdev->name); in netxen_linkevent_request()
942 adapter->netdev->name); in netxen_send_lro_cleanup()
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_init.c375 struct net_device *netdev = adapter->netdev; in qlcnic_83xx_idc_tx_soft_reset() local
380 netif_device_detach(netdev); in qlcnic_83xx_idc_tx_soft_reset()
381 qlcnic_down(adapter, netdev); in qlcnic_83xx_idc_tx_soft_reset()
382 qlcnic_up(adapter, netdev); in qlcnic_83xx_idc_tx_soft_reset()
383 netif_device_attach(netdev); in qlcnic_83xx_idc_tx_soft_reset()
401 struct net_device *netdev = adapter->netdev; in qlcnic_83xx_idc_detach_driver() local
403 netif_device_detach(netdev); in qlcnic_83xx_idc_detach_driver()
408 qlcnic_down(adapter, netdev); in qlcnic_83xx_idc_detach_driver()
430 struct net_device *netdev = adapter->netdev; in qlcnic_83xx_idc_attach_driver() local
432 if (netif_running(netdev)) { in qlcnic_83xx_idc_attach_driver()
[all …]
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnic.h278 struct net_device *netdev; member
627 int nicvf_set_real_num_queues(struct net_device *netdev,
629 int nicvf_open(struct net_device *netdev);
630 int nicvf_stop(struct net_device *netdev);
634 void nicvf_set_ethtool_ops(struct net_device *netdev);
/openbmc/linux/net/netfilter/
H A Dnfnetlink_hook.c245 struct net_device *netdev; in nfnl_hook_entries_head() local
281 netdev = dev_get_by_name_rcu(net, dev); in nfnl_hook_entries_head()
282 if (!netdev) in nfnl_hook_entries_head()
287 return rcu_dereference(netdev->nf_hooks_ingress); in nfnl_hook_entries_head()
291 return rcu_dereference(netdev->nf_hooks_egress); in nfnl_hook_entries_head()
/openbmc/u-boot/doc/
H A DREADME.virtio78 -netdev tap,ifname=tap0,id=net0 \
79 -device virtio-net-device,netdev=net0 \
86 -netdev tap,ifname=tap0,id=net0 \
87 -device virtio-net-pci,netdev=net0 \
97 -netdev tap,ifname=tap0,id=net0 \
98 -device virtio-net-pci,netdev=net0 \
108 -netdev tap,ifname=tap0,id=net0 \
109 -device virtio-net-pci,netdev=net0,disable-legacy=true,disable-modern=false \
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dmetadata.c24 struct net_device *netdev; member
103 struct net_device *netdev) in nfp_flower_search_fl_table() argument
108 flower_cmp_arg.netdev = netdev; in nfp_flower_search_fl_table()
307 struct net_device *netdev, in nfp_compile_flow_metadata() argument
325 nfp_flow->ingress_dev = netdev; in nfp_compile_flow_metadata()
366 check_entry = nfp_flower_search_fl_table(app, cookie, netdev); in nfp_compile_flow_metadata()
454 if (flow_entry->ingress_dev == cmp_arg->netdev) in nfp_fl_obj_cmpfn()
H A Daction.c404 struct net_device *netdev, struct netlink_ext_ack *extack) in nfp_fl_set_tun() argument
452 struct net *net = dev_net(netdev); in nfp_fl_set_tun()
467 struct net *net = dev_net(netdev); in nfp_fl_set_tun()
946 struct net_device *netdev, in nfp_flower_meter_action() argument
976 struct net_device *netdev, bool last, in nfp_flower_output_action() argument
1029 struct net_device *netdev, in nfp_flower_loop_action() argument
1051 err = nfp_flower_output_action(app, act, nfp_fl, a_len, netdev, in nfp_flower_loop_action()
1127 netdev, extack); in nfp_flower_loop_action()
1207 err = nfp_flower_meter_action(app, act, nfp_fl, a_len, netdev, in nfp_flower_loop_action()
1259 struct net_device *netdev, in nfp_flower_compile_action() argument
[all …]
/openbmc/linux/drivers/staging/ks7010/
H A Dks7010_sdio.c927 struct net_device *netdev) in ks7010_private_init() argument
933 priv->net_dev = netdev; in ks7010_private_init()
948 ks_wlan_net_start(netdev); in ks7010_private_init()
956 struct net_device *netdev = NULL; in ks7010_sdio_probe() local
991 netdev = alloc_etherdev(sizeof(*priv)); in ks7010_sdio_probe()
992 if (!netdev) { in ks7010_sdio_probe()
997 ret = dev_alloc_name(netdev, "wlan%d"); in ks7010_sdio_probe()
1003 priv = netdev_priv(netdev); in ks7010_sdio_probe()
1006 SET_NETDEV_DEV(netdev, &card->func->dev); in ks7010_sdio_probe()
1008 ks7010_private_init(priv, card, netdev); in ks7010_sdio_probe()
[all …]
/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbnad.h279 struct net_device *netdev; member
377 void bnad_set_rx_mode(struct net_device *netdev);
378 struct net_device_stats *bnad_get_netdev_stats(struct net_device *netdev);
382 void bnad_set_ethtool_ops(struct net_device *netdev);
/openbmc/linux/net/ieee802154/
H A Dnl802154.c97 struct net_device *netdev; in __cfg802154_rdev_from_attrs() local
138 if (netdev) { in __cfg802154_rdev_from_attrs()
585 if (!netdev) in nl802154_dump_wpan_phy_parse()
967 if (!wpan_dev->netdev) in nl802154_del_interface()
1318 if (wpan_dev->netdev && in nl802154_prep_scan_event_msg()
1490 if (wpan_dev->netdev && in nl802154_prep_scan_msg()
1864 if (!wpan_dev->netdev) { in nl802154_dump_llsec_key()
2043 if (!wpan_dev->netdev) { in nl802154_dump_llsec_dev()
2224 if (!wpan_dev->netdev) { in nl802154_dump_llsec_devkey()
2244 wpan_dev->netdev, in nl802154_dump_llsec_devkey()
[all …]
/openbmc/linux/drivers/net/ethernet/tehuti/
H A Dtehuti.c2134 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_drvinfo()
2155 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_coalesce()
2186 struct bdx_priv *priv = netdev_priv(netdev); in bdx_set_coalesce()
2248 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_ringparam()
2269 struct bdx_priv *priv = netdev_priv(netdev); in bdx_set_ringparam()
2300 if (netif_running(netdev)) { in bdx_set_ringparam()
2301 bdx_close(netdev); in bdx_set_ringparam()
2302 bdx_open(netdev); in bdx_set_ringparam()
2327 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_sset_count()
2348 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_ethtool_stats()
[all …]
/openbmc/linux/drivers/net/ethernet/alacritech/
H A Dslicoss.c276 struct net_device *dev = sdev->netdev; in slic_configure_link_locked()
345 struct net_device *dev = sdev->netdev; in slic_xmit_complete()
397 struct net_device *dev = sdev->netdev; in slic_refill_rx_queue()
550 struct net_device *dev = sdev->netdev; in slic_handle_receive()
789 netdev_err(sdev->netdev, in slic_init_stat_queue()
866 netdev_err(sdev->netdev, in slic_init_tx_queue()
1011 const u8 *addr = sdev->netdev->dev_addr; in slic_set_mac_address()
1275 netdev_err(sdev->netdev, in slic_init_iface()
1331 netdev_warn(sdev->netdev, in slic_init_iface()
1661 eth_hw_addr_set(sdev->netdev, mac[devfn]); in slic_read_eeprom()
[all …]
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.h577 struct net_device *netdev; member
656 static inline bool hns3_nic_resetting(struct net_device *netdev) in hns3_nic_resetting() argument
658 struct hns3_nic_priv *priv = netdev_priv(netdev); in hns3_nic_resetting()
712 void hns3_ethtool_set_ops(struct net_device *netdev);
713 int hns3_set_channels(struct net_device *netdev,
720 netdev_tx_t hns3_nic_net_xmit(struct sk_buff *skb, struct net_device *netdev);
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.h32 int ice_udp_tunnel_set_port(struct net_device *netdev, unsigned int table,
34 int ice_udp_tunnel_unset_port(struct net_device *netdev, unsigned int table,
/openbmc/linux/net/core/
H A DMakefile16 netdev-genl.o netdev-genl-gen.o gso.o

1...<<21222324252627282930>>...45