/Linux-v5.10/drivers/infiniband/hw/hfi1/ |
D | ipoib_main.c | 26 ret = priv->netdev_ops->ndo_init(dev); in hfi1_ipoib_dev_init() 34 priv->netdev_ops->ndo_uninit(dev); in hfi1_ipoib_dev_init() 47 priv->netdev_ops->ndo_uninit(dev); in hfi1_ipoib_dev_uninit() 55 ret = priv->netdev_ops->ndo_open(dev); in hfi1_ipoib_dev_open() 66 priv->netdev_ops->ndo_stop(dev); in hfi1_ipoib_dev_open() 93 return priv->netdev_ops->ndo_stop(dev); in hfi1_ipoib_dev_stop() 228 priv->netdev_ops = netdev->netdev_ops; in hfi1_ipoib_setup_rn() 230 netdev->netdev_ops = &hfi1_ipoib_netdev_ops; in hfi1_ipoib_setup_rn()
|
/Linux-v5.10/net/ipv4/ |
D | udp_tunnel_core.c | 93 if (!dev->netdev_ops->ndo_udp_tunnel_add || in udp_tunnel_push_rx_port() 101 dev->netdev_ops->ndo_udp_tunnel_add(dev, &ti); in udp_tunnel_push_rx_port() 111 if (!dev->netdev_ops->ndo_udp_tunnel_del || in udp_tunnel_drop_rx_port() 119 dev->netdev_ops->ndo_udp_tunnel_del(dev, &ti); in udp_tunnel_drop_rx_port() 137 if (!dev->netdev_ops->ndo_udp_tunnel_add) in udp_tunnel_notify_add_rx_port() 141 dev->netdev_ops->ndo_udp_tunnel_add(dev, &ti); in udp_tunnel_notify_add_rx_port() 161 if (!dev->netdev_ops->ndo_udp_tunnel_del) in udp_tunnel_notify_del_rx_port() 165 dev->netdev_ops->ndo_udp_tunnel_del(dev, &ti); in udp_tunnel_notify_del_rx_port()
|
/Linux-v5.10/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_pm.c | 30 if (dev->netdev_ops->ndo_stop) in rtl92e_suspend() 31 dev->netdev_ops->ndo_stop(dev); in rtl92e_suspend() 82 if (dev->netdev_ops->ndo_open) in rtl92e_resume() 83 dev->netdev_ops->ndo_open(dev); in rtl92e_resume()
|
/Linux-v5.10/drivers/staging/octeon/ |
D | ethernet.c | 134 cvm_oct_device[priv->port]->netdev_ops->ndo_get_stats in cvm_oct_periodic_worker() 442 memset(dev->netdev_ops->ndo_get_stats(dev), 0, in cvm_oct_common_init() 445 if (dev->netdev_ops->ndo_stop) in cvm_oct_common_init() 446 dev->netdev_ops->ndo_stop(dev); in cvm_oct_common_init() 782 dev->netdev_ops = &cvm_oct_pow_netdev_ops; in cvm_oct_probe() 857 dev->netdev_ops = &cvm_oct_npi_netdev_ops; in cvm_oct_probe() 862 dev->netdev_ops = &cvm_oct_xaui_netdev_ops; in cvm_oct_probe() 867 dev->netdev_ops = &cvm_oct_npi_netdev_ops; in cvm_oct_probe() 873 dev->netdev_ops = &cvm_oct_sgmii_netdev_ops; in cvm_oct_probe() 878 dev->netdev_ops = &cvm_oct_spi_netdev_ops; in cvm_oct_probe() [all …]
|
/Linux-v5.10/net/sched/ |
D | sch_fifo.c | 60 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in fifo_offload_init() 66 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_FIFO, &qopt); in fifo_offload_init() 74 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in fifo_offload_destroy() 80 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_FIFO, &qopt); in fifo_offload_destroy()
|
D | sch_tbf.c | 147 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in tbf_offload_change() 157 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_TBF, &qopt); in tbf_offload_change() 165 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in tbf_offload_destroy() 171 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_TBF, &qopt); in tbf_offload_destroy()
|
D | sch_mqprio.c | 44 if (priv->hw_offload && dev->netdev_ops->ndo_setup_tc) { in mqprio_destroy() 50 dev->netdev_ops->ndo_setup_tc(dev, in mqprio_destroy() 89 return dev->netdev_ops->ndo_setup_tc ? 0 : -EINVAL; in mqprio_parse_opt() 267 err = dev->netdev_ops->ndo_setup_tc(dev, in mqprio_init()
|
D | sch_mq.c | 32 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in mq_offload() 35 return dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_MQ, &opt); in mq_offload()
|
/Linux-v5.10/net/8021q/ |
D | vlan_dev.c | 359 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_ioctl() 389 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_neigh_setup() 403 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_setup() 415 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_done() 427 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_enable() 438 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_disable() 450 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_target() 464 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_get_wwn() 599 dev->netdev_ops = &vlan_netdev_ops; in vlan_dev_init() 827 dev->netdev_ops = &vlan_netdev_ops; in vlan_setup()
|
/Linux-v5.10/net/core/ |
D | rtnetlink.c | 970 if (!dev->netdev_ops->ndo_get_vf_port || !dev->dev.parent || in rtnl_port_size() 1082 err = dev->netdev_ops->ndo_get_vf_port(dev, vf, skb); in rtnl_vf_ports_fill() 1110 err = dev->netdev_ops->ndo_get_vf_port(dev, PORT_SELF_VF, skb); in rtnl_port_self_fill() 1126 if (!dev->netdev_ops->ndo_get_vf_port || !dev->dev.parent || in rtnl_port_fill() 1258 if (dev->netdev_ops->ndo_get_vf_config(dev, vfs_num, &ivi)) in rtnl_fill_vfinfo() 1312 if (dev->netdev_ops->ndo_get_vf_guid && in rtnl_fill_vfinfo() 1313 !dev->netdev_ops->ndo_get_vf_guid(dev, vfs_num, &node_guid, in rtnl_fill_vfinfo() 1331 if (dev->netdev_ops->ndo_get_vf_stats) in rtnl_fill_vfinfo() 1332 dev->netdev_ops->ndo_get_vf_stats(dev, vfs_num, in rtnl_fill_vfinfo() 1381 if (!dev->netdev_ops->ndo_get_vf_config) in rtnl_fill_vf() [all …]
|
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_vfr.c | 251 return dev->netdev_ops == &bnxt_vf_rep_netdev_ops; in bnxt_dev_is_vf_rep() 309 if (vf_rep->dev->netdev_ops) in __bnxt_vf_reps_destroy() 374 dev->netdev_ops = &bnxt_vf_rep_netdev_ops; in bnxt_vf_rep_netdev_init() 455 dev->netdev_ops = NULL; in bnxt_vf_reps_create()
|
/Linux-v5.10/drivers/staging/rtl8712/ |
D | usb_intf.c | 201 if (pnetdev->netdev_ops->ndo_stop) in r871x_suspend() 202 pnetdev->netdev_ops->ndo_stop(pnetdev); in r871x_suspend() 221 if (pnetdev->netdev_ops->ndo_open) in r871x_resume() 222 pnetdev->netdev_ops->ndo_open(pnetdev); in r871x_resume()
|
/Linux-v5.10/net/dsa/ |
D | master.c | 212 if (dev->netdev_ops->ndo_do_ioctl) in dsa_master_ioctl() 213 err = dev->netdev_ops->ndo_do_ioctl(dev, ifr, cmd); in dsa_master_ioctl() 259 dev->dsa_ptr->netdev_ops = ops; in dsa_netdev_ops_set()
|
/Linux-v5.10/drivers/net/caif/ |
D | caif_serial.c | 406 static const struct net_device_ops netdev_ops = { variable 417 dev->netdev_ops = &netdev_ops; in caifdev_setup()
|
/Linux-v5.10/net/openvswitch/ |
D | vport-internal_dev.c | 116 netdev->netdev_ops = &internal_dev_netdev_ops; in do_setup() 239 return netdev->netdev_ops == &internal_dev_netdev_ops; in ovs_is_internal_dev()
|
/Linux-v5.10/net/xdp/ |
D | xsk_buff_pool.c | 116 err = pool->netdev->netdev_ops->ndo_bpf(pool->netdev, &bpf); in xp_disable_drv_zc() 162 if (!netdev->netdev_ops->ndo_bpf || in __xp_assign_dev() 163 !netdev->netdev_ops->ndo_xsk_wakeup) { in __xp_assign_dev() 172 err = netdev->netdev_ops->ndo_bpf(netdev, &bpf); in __xp_assign_dev()
|
/Linux-v5.10/drivers/net/wireguard/ |
D | device.c | 214 static const struct net_device_ops netdev_ops = { variable 264 dev->netdev_ops = &netdev_ops; in wg_setup()
|
/Linux-v5.10/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_map_command.c | 65 dev->netdev_ops->ndo_start_xmit(skb, dev); in rmnet_map_send_ack()
|
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_repr.h | 80 return netdev->netdev_ops == &nfp_repr_netdev_ops; in nfp_netdev_is_nfp_repr()
|
/Linux-v5.10/drivers/net/ethernet/8390/ |
D | 8390.c | 78 dev->netdev_ops = &ei_netdev_ops; in __alloc_ei_netdev()
|
D | 8390p.c | 83 dev->netdev_ops = &eip_netdev_ops; in __alloc_eip_netdev()
|
/Linux-v5.10/net/caif/ |
D | chnl_net.c | 383 static const struct net_device_ops netdev_ops = { variable 400 dev->netdev_ops = &netdev_ops; in ipcaif_net_setup()
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ipoib_vlan.c | 166 parent_ifindex = dev->netdev_ops->ndo_get_iflink(dev); in mlx5i_pkey_dev_init() 291 netdev->netdev_ops = &mlx5i_pkey_netdev_ops; in mlx5i_pkey_init()
|
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | core.c | 647 ndev->netdev_ops = &brcmf_netdev_ops_pri; in brcmf_net_attach() 676 ndev->netdev_ops = NULL; in brcmf_net_attach() 759 ndev->netdev_ops = &brcmf_netdev_ops_mon; in brcmf_net_mon_attach() 825 ndev->netdev_ops = &brcmf_netdev_ops_p2p; in brcmf_net_p2p_attach() 841 ndev->netdev_ops = NULL; in brcmf_net_p2p_attach() 928 if (ifp->ndev->netdev_ops == &brcmf_netdev_ops_pri) { in brcmf_del_if() 937 if (ifp->ndev->netdev_ops == &brcmf_netdev_ops_pri) { in brcmf_del_if()
|
/Linux-v5.10/net/rose/ |
D | rose_dev.c | 132 dev->netdev_ops = &rose_netdev_ops; in rose_setup()
|