Searched refs:devlink_net (Results 1 – 16 of 16) sorted by relevance
/openbmc/linux/drivers/net/netdevsim/ |
H A D | fib.c | 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 …]
|
H A D | psample.c | 143 psample->group = psample_group_get(devlink_net(devlink), in nsim_dev_psample_enable()
|
H A D | netdevsim.h | 340 return devlink_net(priv_to_devlink(nsim_dev)); in nsim_dev_net()
|
/openbmc/linux/net/devlink/ |
H A D | core.c | 37 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 D | dev.c | 195 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 D | port.c | 521 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 D | trap.c | 1191 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 D | linecard.c | 150 genlmsg_multicast_netns(&devlink_nl_family, devlink_net(devlink), in devlink_linecard_notify()
|
H A D | rate.c | 162 genlmsg_multicast_netns(&devlink_nl_family, devlink_net(devlink), msg, in devlink_rate_notify()
|
H A D | param.c | 359 genlmsg_multicast_netns(&devlink_nl_family, devlink_net(devlink), in devlink_param_notify()
|
H A D | region.c | 244 genlmsg_multicast_netns(&devlink_nl_family, devlink_net(devlink), msg, in devlink_nl_region_notify()
|
H A D | health.c | 508 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 D | mlx5.h | 50 return devlink_net(priv_to_devlink(dev)); in mlx5_core_net()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | devlink.c | 17 devlink_net(priv_to_devlink(mdev)), dev); in mlx5e_create_devlink()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core.h | 463 return devlink_net(priv_to_devlink(mlxsw_core)); in mlxsw_core_net()
|
/openbmc/linux/include/net/ |
H A D | devlink.h | 1524 struct net *devlink_net(const struct devlink *devlink);
|