Lines Matching refs:netdev_ops
661 if (dev->netdev_ops && dev->netdev_ops->ndo_get_iflink) in dev_get_iflink()
662 return dev->netdev_ops->ndo_get_iflink(dev); in dev_get_iflink()
681 if (!dev->netdev_ops || !dev->netdev_ops->ndo_fill_metadata_dst) in dev_fill_metadata_dst()
690 return dev->netdev_ops->ndo_fill_metadata_dst(dev, skb); in dev_fill_metadata_dst()
716 while (ctx.dev && ctx.dev->netdev_ops->ndo_fill_forward_path) { in dev_fill_forward_path()
723 ret = ctx.dev->netdev_ops->ndo_fill_forward_path(&ctx, path); in dev_fill_forward_path()
1452 const struct net_device_ops *ops = dev->netdev_ops; in __dev_open()
1557 const struct net_device_ops *ops = dev->netdev_ops; in __dev_close_many()
3563 if (dev->netdev_ops->ndo_features_check) in netif_skb_features()
3564 features &= dev->netdev_ops->ndo_features_check(skb, dev, in netif_skb_features()
4256 const struct net_device_ops *ops = dev->netdev_ops; in netdev_core_pick_tx()
4547 rc = dev->netdev_ops->ndo_rx_flow_steer(dev, skb, in set_rps_cpu()
8253 const struct net_device_ops *ops = dev->netdev_ops; in netdev_get_xmit_slave()
8264 const struct net_device_ops *ops = dev->netdev_ops; in netdev_sk_get_lower_dev()
8409 const struct net_device_ops *ops = dev->netdev_ops; in dev_change_rx_flags()
8546 const struct net_device_ops *ops = dev->netdev_ops; in __dev_set_rx_mode()
8732 const struct net_device_ops *ops = dev->netdev_ops; in __dev_set_mtu()
8893 const struct net_device_ops *ops = dev->netdev_ops; in dev_set_mac_address()
8968 const struct net_device_ops *ops = dev->netdev_ops; in dev_change_carrier()
8987 const struct net_device_ops *ops = dev->netdev_ops; in dev_get_phys_port_id()
9005 const struct net_device_ops *ops = dev->netdev_ops; in dev_get_phys_port_name()
9028 const struct net_device_ops *ops = dev->netdev_ops; in dev_get_port_parent_id()
9135 return dev->netdev_ops->ndo_bpf ? XDP_MODE_DRV : XDP_MODE_SKB; in dev_xdp_mode()
9145 return dev->netdev_ops->ndo_bpf; in dev_xdp_bpf_op()
9833 if (dev->netdev_ops->ndo_fix_features) in __netdev_update_features()
9834 features = dev->netdev_ops->ndo_fix_features(dev, features); in __netdev_update_features()
9849 if (dev->netdev_ops->ndo_set_features) in __netdev_update_features()
9850 err = dev->netdev_ops->ndo_set_features(dev, features); in __netdev_update_features()
10083 if (dev->netdev_ops->ndo_get_peer_dev && in netdev_do_alloc_pcpu_stats()
10165 if (dev->netdev_ops->ndo_init) { in register_netdevice()
10166 ret = dev->netdev_ops->ndo_init(dev); in register_netdevice()
10176 (!dev->netdev_ops->ndo_vlan_rx_add_vid || in register_netdevice()
10177 !dev->netdev_ops->ndo_vlan_rx_kill_vid)) { in register_netdevice()
10298 if (dev->netdev_ops->ndo_uninit) in register_netdevice()
10299 dev->netdev_ops->ndo_uninit(dev); in register_netdevice()
10613 const struct net_device_ops *ops = dev->netdev_ops; in dev_get_stats()
11064 if (dev->netdev_ops->ndo_uninit) in unregister_netdevice_many_notify()
11065 dev->netdev_ops->ndo_uninit(dev); in unregister_netdevice_many_notify()