Searched refs:devlink_net (Results 1 – 11 of 11) sorted by relevance
359 struct net *net = devlink_net(data->devlink); in nsim_fib4_rt_add()386 struct net *net = devlink_net(data->devlink); in nsim_fib4_rt_replace()466 struct net *net = devlink_net(data->devlink); in nsim_fib4_event()648 struct net *net = devlink_net(data->devlink); in nsim_fib6_rt_offload_failed_flag_set()667 struct net *net = devlink_net(data->devlink); in nsim_fib6_rt_hw_flags_set()1056 nsim_fib4_rt_hw_flags_set(devlink_net(devlink), fib4_rt, false); in nsim_fib4_rt_free()1202 struct net *net = devlink_net(data->devlink); in nsim_nexthop_add()1230 struct net *net = devlink_net(data->devlink); in nsim_nexthop_replace()1358 net = devlink_net(data->devlink); in nsim_nexthop_free()1369 struct net *net = devlink_net(data->devlink); in nsim_nexthop_bucket_activity_write()[all …]
143 psample->group = psample_group_get(devlink_net(devlink), in nsim_dev_psample_enable()
353 return devlink_net(priv_to_devlink(nsim_dev)); in nsim_dev_net()
221 struct net *net = devlink_net(devlink); in devlink_rel_devlink_handle_put()253 struct net *devlink_net(const struct devlink *devlink) in devlink_net() function257 EXPORT_SYMBOL_GPL(devlink_net);338 if (!net_eq(devlink_net(devlink), net)) { in devlinks_xa_find_get()
190 return genl_has_listeners(&devlink_nl_family, devlink_net(devlink), in devlink_nl_notify_need()225 devlink_net(devlink), in devlink_nl_notify_send_desc()
465 curr_net = devlink_net(devlink); in devlink_reload()578 if (!net_eq(dest_net, devlink_net(devlink)) && in devlink_nl_reload_doit()
1304 if (devlink_net(devlink) != dev_net(netdev)) in devlink_port_netdevice_event()1315 if (devlink_net(devlink) != dev_net(netdev)) in devlink_port_netdevice_event()
50 return devlink_net(priv_to_devlink(dev)); in mlx5_core_net()
18 devlink_net(priv_to_devlink(mdev)), dev); in mlx5e_create_devlink()
474 return devlink_net(priv_to_devlink(mlxsw_core)); in mlxsw_core_net()
1528 struct net *devlink_net(const struct devlink *devlink);