• Home
  • Raw
  • Download

Lines Matching refs:netdev_ops

1005 	if (!dev->netdev_ops->ndo_get_vf_port || !dev->dev.parent ||  in rtnl_port_size()
1134 err = dev->netdev_ops->ndo_get_vf_port(dev, vf, skb); in rtnl_vf_ports_fill()
1162 err = dev->netdev_ops->ndo_get_vf_port(dev, PORT_SELF_VF, skb); in rtnl_port_self_fill()
1178 if (!dev->netdev_ops->ndo_get_vf_port || !dev->dev.parent || in rtnl_port_fill()
1310 if (dev->netdev_ops->ndo_get_vf_config(dev, vfs_num, &ivi)) in rtnl_fill_vfinfo()
1364 if (dev->netdev_ops->ndo_get_vf_guid && in rtnl_fill_vfinfo()
1365 !dev->netdev_ops->ndo_get_vf_guid(dev, vfs_num, &node_guid, in rtnl_fill_vfinfo()
1384 if (dev->netdev_ops->ndo_get_vf_stats) in rtnl_fill_vfinfo()
1385 dev->netdev_ops->ndo_get_vf_stats(dev, vfs_num, in rtnl_fill_vfinfo()
1433 if (!dev->netdev_ops->ndo_get_vf_config) in rtnl_fill_vf()
2386 const struct net_device_ops *ops = dev->netdev_ops; in rtnl_set_vf_rate()
2466 const struct net_device_ops *ops = dev->netdev_ops; in handle_infiniband_guid()
2481 const struct net_device_ops *ops = dev->netdev_ops; in do_setvfinfo()
2658 ops = upper_dev->netdev_ops; in do_set_master()
2672 ops = upper_dev->netdev_ops; in do_set_master()
2752 const struct net_device_ops *ops = dev->netdev_ops; in do_setlink()
4276 const struct net_device_ops *ops = br_dev->netdev_ops; in rtnl_fdb_add()
4288 if (dev->netdev_ops->ndo_fdb_add) in rtnl_fdb_add()
4289 err = dev->netdev_ops->ndo_fdb_add(ndm, tb, dev, addr, in rtnl_fdb_add()
4403 ops = br_dev->netdev_ops; in rtnl_fdb_del()
4421 ops = dev->netdev_ops; in rtnl_fdb_del()
4626 ops = br_dev->netdev_ops; in rtnl_fdb_dump()
4643 cops = br_dev->netdev_ops; in rtnl_fdb_dump()
4669 if (dev->netdev_ops->ndo_fdb_dump) in rtnl_fdb_dump()
4670 err = dev->netdev_ops->ndo_fdb_dump(skb, cb, in rtnl_fdb_dump()
4804 ops = br_dev->netdev_ops; in rtnl_fdb_get()
4818 ops = br_dev->netdev_ops; in rtnl_fdb_get()
4824 ops = dev->netdev_ops; in rtnl_fdb_get()
5039 const struct net_device_ops *ops = dev->netdev_ops; in rtnl_bridge_getlink()
5042 if (br_dev && br_dev->netdev_ops->ndo_bridge_getlink) { in rtnl_bridge_getlink()
5044 err = br_dev->netdev_ops->ndo_bridge_getlink( in rtnl_bridge_getlink()
5102 if (!dev->netdev_ops->ndo_bridge_getlink) in rtnl_bridge_notify()
5111 err = dev->netdev_ops->ndo_bridge_getlink(skb, 0, 0, dev, 0, 0); in rtnl_bridge_notify()
5176 if (!br_dev || !br_dev->netdev_ops->ndo_bridge_setlink) { in rtnl_bridge_setlink()
5181 err = br_dev->netdev_ops->ndo_bridge_setlink(dev, nlh, flags, in rtnl_bridge_setlink()
5190 if (!dev->netdev_ops->ndo_bridge_setlink) in rtnl_bridge_setlink()
5193 err = dev->netdev_ops->ndo_bridge_setlink(dev, nlh, in rtnl_bridge_setlink()
5253 if (!br_dev || !br_dev->netdev_ops->ndo_bridge_dellink) { in rtnl_bridge_dellink()
5258 err = br_dev->netdev_ops->ndo_bridge_dellink(dev, nlh, flags); in rtnl_bridge_dellink()
5266 if (!dev->netdev_ops->ndo_bridge_dellink) in rtnl_bridge_dellink()
5269 err = dev->netdev_ops->ndo_bridge_dellink(dev, nlh, in rtnl_bridge_dellink()
5297 return dev->netdev_ops && in rtnl_offload_xstats_have_ndo()
5298 dev->netdev_ops->ndo_has_offload_stats && in rtnl_offload_xstats_have_ndo()
5299 dev->netdev_ops->ndo_get_offload_stats && in rtnl_offload_xstats_have_ndo()
5300 dev->netdev_ops->ndo_has_offload_stats(dev, attr_id); in rtnl_offload_xstats_have_ndo()
5330 err = dev->netdev_ops->ndo_get_offload_stats(attr_id, dev, attr_data); in rtnl_offload_xstats_fill_ndo()
6171 if (!dev->netdev_ops->ndo_mdb_dump) in rtnl_mdb_dump()
6174 err = dev->netdev_ops->ndo_mdb_dump(dev, skb, cb); in rtnl_mdb_dump()
6286 if (!dev->netdev_ops->ndo_mdb_add) { in rtnl_mdb_add()
6291 return dev->netdev_ops->ndo_mdb_add(dev, tb, nlh->nlmsg_flags, extack); in rtnl_mdb_add()
6325 if (!dev->netdev_ops->ndo_mdb_del) { in rtnl_mdb_del()
6330 return dev->netdev_ops->ndo_mdb_del(dev, tb, extack); in rtnl_mdb_del()