Home
last modified time | relevance | path

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

/openbmc/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.h340 return devlink_net(priv_to_devlink(nsim_dev)); in nsim_dev_net()
/openbmc/linux/net/devlink/
H A Dcore.c37 struct net *devlink_net(const struct devlink *devlink) in devlink_net() function
41 EXPORT_SYMBOL_GPL(devlink_net);
121 if (!net_eq(devlink_net(devlink), net)) { in devlinks_xa_find_get()
H A Ddev.c195 genlmsg_multicast_netns(&devlink_nl_family, devlink_net(devlink), in devlink_notify()
393 curr_net = devlink_net(devlink); in devlink_reload()
504 if (!net_eq(dest_net, devlink_net(devlink)) && in devlink_nl_cmd_reload()
941 genlmsg_multicast_netns(&devlink_nl_family, devlink_net(devlink), in __devlink_flash_update_notify()
H A Dport.c521 genlmsg_multicast_netns(&devlink_nl_family, devlink_net(devlink), msg, in devlink_port_notify()
1243 if (devlink_net(devlink) != dev_net(netdev)) in devlink_port_netdevice_event()
1254 if (devlink_net(devlink) != dev_net(netdev)) in devlink_port_netdevice_event()
H A Dtrap.c1191 genlmsg_multicast_netns(&devlink_nl_family, devlink_net(devlink), in devlink_trap_group_notify()
1251 genlmsg_multicast_netns(&devlink_nl_family, devlink_net(devlink), in devlink_trap_notify()
1728 genlmsg_multicast_netns(&devlink_nl_family, devlink_net(devlink), in devlink_trap_policer_notify()
H A Dlinecard.c150 genlmsg_multicast_netns(&devlink_nl_family, devlink_net(devlink), in devlink_linecard_notify()
H A Drate.c162 genlmsg_multicast_netns(&devlink_nl_family, devlink_net(devlink), msg, in devlink_rate_notify()
H A Dparam.c359 genlmsg_multicast_netns(&devlink_nl_family, devlink_net(devlink), in devlink_param_notify()
H A Dregion.c244 genlmsg_multicast_netns(&devlink_nl_family, devlink_net(devlink), msg, in devlink_nl_region_notify()
H A Dhealth.c508 genlmsg_multicast_netns(&devlink_nl_family, devlink_net(devlink), msg, in devlink_recover_notify()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmlx5.h50 return devlink_net(priv_to_devlink(dev)); in mlx5_core_net()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Ddevlink.c17 devlink_net(priv_to_devlink(mdev)), dev); in mlx5e_create_devlink()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.h463 return devlink_net(priv_to_devlink(mlxsw_core)); in mlxsw_core_net()
/openbmc/linux/include/net/
H A Ddevlink.h1524 struct net *devlink_net(const struct devlink *devlink);