Lines Matching refs:netdev_ops
673 if (dev->netdev_ops && dev->netdev_ops->ndo_get_iflink) in dev_get_iflink()
674 return dev->netdev_ops->ndo_get_iflink(dev); in dev_get_iflink()
693 if (!dev->netdev_ops || !dev->netdev_ops->ndo_fill_metadata_dst) in dev_fill_metadata_dst()
702 return dev->netdev_ops->ndo_fill_metadata_dst(dev, skb); in dev_fill_metadata_dst()
728 while (ctx.dev && ctx.dev->netdev_ops->ndo_fill_forward_path) { in dev_fill_forward_path()
735 ret = ctx.dev->netdev_ops->ndo_fill_forward_path(&ctx, path); in dev_fill_forward_path()
1445 const struct net_device_ops *ops = dev->netdev_ops; in __dev_open()
1550 const struct net_device_ops *ops = dev->netdev_ops; in __dev_close_many()
3567 if (dev->netdev_ops->ndo_features_check) in netif_skb_features()
3568 features &= dev->netdev_ops->ndo_features_check(skb, dev, in netif_skb_features()
4305 const struct net_device_ops *ops = dev->netdev_ops; in netdev_core_pick_tx()
4580 rc = dev->netdev_ops->ndo_rx_flow_steer(dev, skb, in set_rps_cpu()
8446 const struct net_device_ops *ops = dev->netdev_ops; in netdev_get_xmit_slave()
8457 const struct net_device_ops *ops = dev->netdev_ops; in netdev_sk_get_lower_dev()
8602 const struct net_device_ops *ops = dev->netdev_ops; in dev_change_rx_flags()
8743 const struct net_device_ops *ops = dev->netdev_ops; in __dev_set_rx_mode()
8929 const struct net_device_ops *ops = dev->netdev_ops; in __dev_set_mtu()
9090 const struct net_device_ops *ops = dev->netdev_ops; in dev_set_mac_address()
9165 const struct net_device_ops *ops = dev->netdev_ops; in dev_change_carrier()
9184 const struct net_device_ops *ops = dev->netdev_ops; in dev_get_phys_port_id()
9202 const struct net_device_ops *ops = dev->netdev_ops; in dev_get_phys_port_name()
9225 const struct net_device_ops *ops = dev->netdev_ops; in dev_get_port_parent_id()
9335 return dev->netdev_ops->ndo_bpf ? XDP_MODE_DRV : XDP_MODE_SKB; in dev_xdp_mode()
9345 return dev->netdev_ops->ndo_bpf; in dev_xdp_bpf_op()
9381 if (!dev->netdev_ops->ndo_bpf) in dev_xdp_propagate()
9389 return dev->netdev_ops->ndo_bpf(dev, bpf); in dev_xdp_propagate()
10074 if (dev->netdev_ops->ndo_fix_features) in __netdev_update_features()
10075 features = dev->netdev_ops->ndo_fix_features(dev, features); in __netdev_update_features()
10090 if (dev->netdev_ops->ndo_set_features) in __netdev_update_features()
10091 err = dev->netdev_ops->ndo_set_features(dev, features); in __netdev_update_features()
10324 if (dev->netdev_ops->ndo_get_peer_dev && in netdev_do_alloc_pcpu_stats()
10421 if (dev->netdev_ops->ndo_init) { in register_netdevice()
10422 ret = dev->netdev_ops->ndo_init(dev); in register_netdevice()
10432 (!dev->netdev_ops->ndo_vlan_rx_add_vid || in register_netdevice()
10433 !dev->netdev_ops->ndo_vlan_rx_kill_vid)) { in register_netdevice()
10554 if (dev->netdev_ops->ndo_uninit) in register_netdevice()
10555 dev->netdev_ops->ndo_uninit(dev); in register_netdevice()
10940 const struct net_device_ops *ops = dev->netdev_ops; in dev_get_stats()
11428 if (dev->netdev_ops->ndo_uninit) in unregister_netdevice_many_notify()
11429 dev->netdev_ops->ndo_uninit(dev); in unregister_netdevice_many_notify()
11964 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, netdev_ops); in net_dev_struct_check()