/Linux-v4.19/net/ipv4/ |
D | udp_tunnel.c | 85 if (!dev->netdev_ops->ndo_udp_tunnel_add || in udp_tunnel_push_rx_port() 93 dev->netdev_ops->ndo_udp_tunnel_add(dev, &ti); in udp_tunnel_push_rx_port() 103 if (!dev->netdev_ops->ndo_udp_tunnel_del || in udp_tunnel_drop_rx_port() 111 dev->netdev_ops->ndo_udp_tunnel_del(dev, &ti); in udp_tunnel_drop_rx_port() 129 if (!dev->netdev_ops->ndo_udp_tunnel_add) in udp_tunnel_notify_add_rx_port() 133 dev->netdev_ops->ndo_udp_tunnel_add(dev, &ti); in udp_tunnel_notify_add_rx_port() 153 if (!dev->netdev_ops->ndo_udp_tunnel_del) in udp_tunnel_notify_del_rx_port() 157 dev->netdev_ops->ndo_udp_tunnel_del(dev, &ti); in udp_tunnel_notify_del_rx_port()
|
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_pm.c | 39 if (dev->netdev_ops->ndo_stop) in rtl92e_suspend() 40 dev->netdev_ops->ndo_stop(dev); in rtl92e_suspend() 103 if (dev->netdev_ops->ndo_open) in rtl92e_resume() 104 dev->netdev_ops->ndo_open(dev); in rtl92e_resume()
|
/Linux-v4.19/net/xdp/ |
D | xdp_umem.c | 55 if (!dev->netdev_ops->ndo_bpf) in xdp_umem_query() 57 return dev->netdev_ops->ndo_bpf(dev, &bpf) ?: !!bpf.xsk.umem; in xdp_umem_query() 76 if (!dev->netdev_ops->ndo_bpf || !dev->netdev_ops->ndo_xsk_async_xmit) in xdp_umem_assign_dev() 92 err = dev->netdev_ops->ndo_bpf(dev, &bpf); in xdp_umem_assign_dev() 119 err = umem->dev->netdev_ops->ndo_bpf(umem->dev, &bpf); in xdp_umem_clear_dev()
|
/Linux-v4.19/drivers/staging/octeon/ |
D | ethernet.c | 144 cvm_oct_device[priv->port]->netdev_ops->ndo_get_stats( in cvm_oct_periodic_worker() 452 memset(dev->netdev_ops->ndo_get_stats(dev), 0, in cvm_oct_common_init() 455 if (dev->netdev_ops->ndo_stop) in cvm_oct_common_init() 456 dev->netdev_ops->ndo_stop(dev); in cvm_oct_common_init() 771 dev->netdev_ops = &cvm_oct_pow_netdev_ops; in cvm_oct_probe() 845 dev->netdev_ops = &cvm_oct_npi_netdev_ops; in cvm_oct_probe() 850 dev->netdev_ops = &cvm_oct_xaui_netdev_ops; in cvm_oct_probe() 855 dev->netdev_ops = &cvm_oct_npi_netdev_ops; in cvm_oct_probe() 860 dev->netdev_ops = &cvm_oct_sgmii_netdev_ops; in cvm_oct_probe() 865 dev->netdev_ops = &cvm_oct_spi_netdev_ops; in cvm_oct_probe() [all …]
|
/Linux-v4.19/net/8021q/ |
D | vlan_dev.c | 363 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_ioctl() 390 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_neigh_setup() 404 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_setup() 416 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_done() 428 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_enable() 439 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_get_wwn() 462 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_target() 600 dev->netdev_ops = &vlan_netdev_ops; in vlan_dev_init() 827 dev->netdev_ops = &vlan_netdev_ops; in vlan_setup()
|
/Linux-v4.19/net/core/ |
D | rtnetlink.c | 957 if (!dev->netdev_ops->ndo_get_vf_port || !dev->dev.parent || in rtnl_port_size() 1044 err = dev->netdev_ops->ndo_get_vf_port(dev, vf, skb); in rtnl_vf_ports_fill() 1072 err = dev->netdev_ops->ndo_get_vf_port(dev, PORT_SELF_VF, skb); in rtnl_port_self_fill() 1088 if (!dev->netdev_ops->ndo_get_vf_port || !dev->dev.parent || in rtnl_port_fill() 1222 if (dev->netdev_ops->ndo_get_vf_config(dev, vfs_num, &ivi)) in rtnl_fill_vfinfo() 1279 if (dev->netdev_ops->ndo_get_vf_stats) in rtnl_fill_vfinfo() 1280 dev->netdev_ops->ndo_get_vf_stats(dev, vfs_num, in rtnl_fill_vfinfo() 1329 if (!dev->netdev_ops->ndo_get_vf_config) in rtnl_fill_vf() 1377 return __dev_xdp_query(dev, dev->netdev_ops->ndo_bpf, XDP_QUERY_PROG); in rtnl_xdp_prog_drv() 1382 return __dev_xdp_query(dev, dev->netdev_ops->ndo_bpf, in rtnl_xdp_prog_hw() [all …]
|
D | netpoll.c | 189 ops = dev->netdev_ops; in netpoll_poll_dev() 351 dev->name, dev->netdev_ops->ndo_start_xmit); in netpoll_send_skb_on_dev() 614 ops = np->dev->netdev_ops; in __netpoll_setup() 804 ops = np->dev->netdev_ops; in __netpoll_cleanup()
|
D | dev.c | 689 if (dev->netdev_ops && dev->netdev_ops->ndo_get_iflink) in dev_get_iflink() 690 return dev->netdev_ops->ndo_get_iflink(dev); in dev_get_iflink() 709 if (!dev->netdev_ops || !dev->netdev_ops->ndo_fill_metadata_dst) in dev_fill_metadata_dst() 718 return dev->netdev_ops->ndo_fill_metadata_dst(dev, skb); in dev_fill_metadata_dst() 1366 const struct net_device_ops *ops = dev->netdev_ops; in __dev_open() 1464 const struct net_device_ops *ops = dev->netdev_ops; in __dev_close_many() 3217 if (dev->netdev_ops->ndo_features_check) in netif_skb_features() 3218 features &= dev->netdev_ops->ndo_features_check(skb, dev, in netif_skb_features() 3707 const struct net_device_ops *ops = dev->netdev_ops; in netdev_pick_tx() 3969 rc = dev->netdev_ops->ndo_rx_flow_steer(dev, skb, in set_rps_cpu() [all …]
|
/Linux-v4.19/net/sched/ |
D | sch_mq.c | 35 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in mq_offload() 38 return dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_MQ, &opt); in mq_offload() 53 if (tc_can_offload(dev) && dev->netdev_ops->ndo_setup_tc) in mq_offload_stats() 54 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_MQ, &opt); in mq_offload_stats()
|
D | sch_prio.c | 153 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in prio_offload() 166 return dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_PRIO, &opt); in prio_offload() 269 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in prio_dump_offload() 272 err = dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_PRIO, in prio_dump_offload() 331 err = dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_PRIO, in prio_graft()
|
D | sch_red.c | 161 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in red_offload() 175 return dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_RED, &opt); in red_offload() 298 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in red_dump_offload_stats() 301 err = dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_RED, in red_dump_offload_stats() 359 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_RED, in red_dump_stats()
|
D | sch_mqprio.c | 47 if (priv->hw_offload && dev->netdev_ops->ndo_setup_tc) { in mqprio_destroy() 53 dev->netdev_ops->ndo_setup_tc(dev, in mqprio_destroy() 92 return dev->netdev_ops->ndo_setup_tc ? 0 : -EINVAL; in mqprio_parse_opt() 269 err = dev->netdev_ops->ndo_setup_tc(dev, in mqprio_init()
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | usb_intf.c | 217 if (pnetdev->netdev_ops->ndo_stop) in r871x_suspend() 218 pnetdev->netdev_ops->ndo_stop(pnetdev); in r871x_suspend() 241 if (pnetdev->netdev_ops->ndo_open) in r871x_resume() 242 pnetdev->netdev_ops->ndo_open(pnetdev); in r871x_resume()
|
/Linux-v4.19/drivers/isdn/hysdn/ |
D | hysdn_net.c | 267 dev->netdev_ops = &hysdn_netdev_ops; in hysdn_net_create() 274 dev->netdev_ops = &hysdn_netdev_ops; in hysdn_net_create()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_vfr.c | 272 return dev->netdev_ops == &bnxt_vf_rep_netdev_ops; in bnxt_dev_is_vf_rep() 330 if (vf_rep->dev->netdev_ops) in __bnxt_vf_reps_destroy() 395 dev->netdev_ops = &bnxt_vf_rep_netdev_ops; in bnxt_vf_rep_netdev_init() 494 dev->netdev_ops = NULL; in bnxt_vf_reps_create()
|
/Linux-v4.19/drivers/net/caif/ |
D | caif_serial.c | 413 static const struct net_device_ops netdev_ops = { variable 424 dev->netdev_ops = &netdev_ops; in caifdev_setup()
|
/Linux-v4.19/net/openvswitch/ |
D | vport-internal_dev.c | 146 netdev->netdev_ops = &internal_dev_netdev_ops; in do_setup() 272 return netdev->netdev_ops == &internal_dev_netdev_ops; in ovs_is_internal_dev()
|
/Linux-v4.19/drivers/staging/mt7621-eth/ |
D | ethtool.c | 158 dev->netdev_ops->ndo_stop(dev); in mtk_set_ringparam() 163 return dev->netdev_ops->ndo_open(dev); in mtk_set_ringparam()
|
/Linux-v4.19/drivers/net/ethernet/8390/ |
D | 8390.c | 77 dev->netdev_ops = &ei_netdev_ops; in __alloc_ei_netdev()
|
D | 8390p.c | 82 dev->netdev_ops = &eip_netdev_ops; in __alloc_eip_netdev()
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_repr.h | 110 return netdev->netdev_ops == &nfp_repr_netdev_ops; in nfp_netdev_is_nfp_repr()
|
/Linux-v4.19/net/caif/ |
D | chnl_net.c | 382 static const struct net_device_ops netdev_ops = { variable 399 dev->netdev_ops = &netdev_ops; in ipcaif_net_setup()
|
/Linux-v4.19/kernel/bpf/ |
D | devmap.c | 237 sent = dev->netdev_ops->ndo_xdp_xmit(dev, bq->count, bq->q, flags); in bq_xmit_all() 344 if (!dev->netdev_ops->ndo_xdp_xmit) in dev_map_enqueue() 382 if (dev->dev->netdev_ops->ndo_xdp_xmit) { in dev_map_flush_old()
|
/Linux-v4.19/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_map_command.c | 82 dev->netdev_ops->ndo_start_xmit(skb, dev); in rmnet_map_send_ack()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ipoib_vlan.c | 165 parent_ifindex = dev->netdev_ops->ndo_get_iflink(dev); in mlx5i_pkey_dev_init() 287 netdev->netdev_ops = &mlx5i_pkey_netdev_ops; in mlx5i_pkey_init()
|