Lines Matching refs:netdev_ops

998 	if (!dev->netdev_ops->ndo_get_vf_port || !dev->dev.parent ||  in rtnl_port_size()
1114 err = dev->netdev_ops->ndo_get_vf_port(dev, vf, skb); in rtnl_vf_ports_fill()
1142 err = dev->netdev_ops->ndo_get_vf_port(dev, PORT_SELF_VF, skb); in rtnl_port_self_fill()
1158 if (!dev->netdev_ops->ndo_get_vf_port || !dev->dev.parent || in rtnl_port_fill()
1290 if (dev->netdev_ops->ndo_get_vf_config(dev, vfs_num, &ivi)) in rtnl_fill_vfinfo()
1344 if (dev->netdev_ops->ndo_get_vf_guid && in rtnl_fill_vfinfo()
1345 !dev->netdev_ops->ndo_get_vf_guid(dev, vfs_num, &node_guid, in rtnl_fill_vfinfo()
1363 if (dev->netdev_ops->ndo_get_vf_stats) in rtnl_fill_vfinfo()
1364 dev->netdev_ops->ndo_get_vf_stats(dev, vfs_num, in rtnl_fill_vfinfo()
1413 if (!dev->netdev_ops->ndo_get_vf_config) in rtnl_fill_vf()
2319 const struct net_device_ops *ops = dev->netdev_ops; in rtnl_set_vf_rate()
2370 const struct net_device_ops *ops = dev->netdev_ops; in handle_infiniband_guid()
2385 const struct net_device_ops *ops = dev->netdev_ops; in do_setvfinfo()
2562 ops = upper_dev->netdev_ops; in do_set_master()
2576 ops = upper_dev->netdev_ops; in do_set_master()
2656 const struct net_device_ops *ops = dev->netdev_ops; in do_setlink()
4138 const struct net_device_ops *ops = br_dev->netdev_ops; in rtnl_fdb_add()
4150 if (dev->netdev_ops->ndo_fdb_add) in rtnl_fdb_add()
4151 err = dev->netdev_ops->ndo_fdb_add(ndm, tb, dev, addr, in rtnl_fdb_add()
4265 ops = br_dev->netdev_ops; in rtnl_fdb_del()
4283 ops = dev->netdev_ops; in rtnl_fdb_del()
4488 ops = br_dev->netdev_ops; in rtnl_fdb_dump()
4505 cops = br_dev->netdev_ops; in rtnl_fdb_dump()
4531 if (dev->netdev_ops->ndo_fdb_dump) in rtnl_fdb_dump()
4532 err = dev->netdev_ops->ndo_fdb_dump(skb, cb, in rtnl_fdb_dump()
4666 ops = br_dev->netdev_ops; in rtnl_fdb_get()
4680 ops = br_dev->netdev_ops; in rtnl_fdb_get()
4686 ops = dev->netdev_ops; in rtnl_fdb_get()
4901 const struct net_device_ops *ops = dev->netdev_ops; in rtnl_bridge_getlink()
4904 if (br_dev && br_dev->netdev_ops->ndo_bridge_getlink) { in rtnl_bridge_getlink()
4906 err = br_dev->netdev_ops->ndo_bridge_getlink( in rtnl_bridge_getlink()
4964 if (!dev->netdev_ops->ndo_bridge_getlink) in rtnl_bridge_notify()
4973 err = dev->netdev_ops->ndo_bridge_getlink(skb, 0, 0, dev, 0, 0); in rtnl_bridge_notify()
5035 if (!br_dev || !br_dev->netdev_ops->ndo_bridge_setlink) { in rtnl_bridge_setlink()
5040 err = br_dev->netdev_ops->ndo_bridge_setlink(dev, nlh, flags, in rtnl_bridge_setlink()
5049 if (!dev->netdev_ops->ndo_bridge_setlink) in rtnl_bridge_setlink()
5052 err = dev->netdev_ops->ndo_bridge_setlink(dev, nlh, in rtnl_bridge_setlink()
5112 if (!br_dev || !br_dev->netdev_ops->ndo_bridge_dellink) { in rtnl_bridge_dellink()
5117 err = br_dev->netdev_ops->ndo_bridge_dellink(dev, nlh, flags); in rtnl_bridge_dellink()
5125 if (!dev->netdev_ops->ndo_bridge_dellink) in rtnl_bridge_dellink()
5128 err = dev->netdev_ops->ndo_bridge_dellink(dev, nlh, in rtnl_bridge_dellink()
5156 return dev->netdev_ops && in rtnl_offload_xstats_have_ndo()
5157 dev->netdev_ops->ndo_has_offload_stats && in rtnl_offload_xstats_have_ndo()
5158 dev->netdev_ops->ndo_get_offload_stats && in rtnl_offload_xstats_have_ndo()
5159 dev->netdev_ops->ndo_has_offload_stats(dev, attr_id); in rtnl_offload_xstats_have_ndo()
5189 err = dev->netdev_ops->ndo_get_offload_stats(attr_id, dev, attr_data); in rtnl_offload_xstats_fill_ndo()