Home
last modified time | relevance | path

Searched refs:devlink_net (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/net/netdevsim/
H A Dfib.c359 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 …]
H A Dpsample.c143 psample->group = psample_group_get(devlink_net(devlink), in nsim_dev_psample_enable()
H A Dnetdevsim.h353 return devlink_net(priv_to_devlink(nsim_dev)); in nsim_dev_net()
/linux/net/devlink/
H A Dcore.c221 struct net *net = devlink_net(devlink); in devlink_rel_devlink_handle_put()
253 struct net *devlink_net(const struct devlink *devlink) in devlink_net() function
257 EXPORT_SYMBOL_GPL(devlink_net);
338 if (!net_eq(devlink_net(devlink), net)) { in devlinks_xa_find_get()
H A Ddevl_internal.h190 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()
H A Ddev.c465 curr_net = devlink_net(devlink); in devlink_reload()
578 if (!net_eq(dest_net, devlink_net(devlink)) && in devlink_nl_reload_doit()
H A Dport.c1304 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmlx5.h50 return devlink_net(priv_to_devlink(dev)); in mlx5_core_net()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Ddevlink.c18 devlink_net(priv_to_devlink(mdev)), dev); in mlx5e_create_devlink()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.h474 return devlink_net(priv_to_devlink(mlxsw_core)); in mlxsw_core_net()
/linux/include/net/
H A Ddevlink.h1528 struct net *devlink_net(const struct devlink *devlink);