Searched refs:netdevice_nb (Results 1 – 12 of 12) sorted by relevance
/linux-6.3-rc2/drivers/net/netdevsim/ |
A D | hwstats.c | 206 hwstats = container_of(nb, struct nsim_dev_hwstats, netdevice_nb); in nsim_dev_netdevice_event() 419 hwstats->netdevice_nb.notifier_call = nsim_dev_netdevice_event; in nsim_dev_hwstats_init() 420 err = register_netdevice_notifier_net(net, &hwstats->netdevice_nb); in nsim_dev_hwstats_init() 452 unregister_netdevice_notifier_net(net, &hwstats->netdevice_nb); in nsim_dev_hwstats_init() 483 unregister_netdevice_notifier_net(net, &hwstats->netdevice_nb); in nsim_dev_hwstats_exit()
|
A D | netdevsim.h | 202 struct notifier_block netdevice_nb; member
|
/linux-6.3-rc2/net/devlink/ |
A D | core.c | 207 devlink->netdevice_nb.notifier_call = devlink_port_netdevice_event; in devlink_alloc_ns() 208 ret = register_netdevice_notifier(&devlink->netdevice_nb); in devlink_alloc_ns() 269 WARN_ON_ONCE(unregister_netdevice_notifier(&devlink->netdevice_nb)); in devlink_free()
|
A D | devl_internal.h | 53 struct notifier_block netdevice_nb; member
|
A D | leftover.c | 7076 devlink = container_of(nb, struct devlink, netdevice_nb); in devlink_port_netdevice_event()
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_switchdev.c | 725 s5->netdevice_nb.notifier_call = sparx5_netdevice_event; in sparx5_register_notifier_blocks() 726 err = register_netdevice_notifier(&s5->netdevice_nb); in sparx5_register_notifier_blocks() 751 unregister_netdevice_notifier(&s5->netdevice_nb); in sparx5_register_notifier_blocks() 762 unregister_netdevice_notifier(&s5->netdevice_nb); in sparx5_unregister_notifier_blocks()
|
A D | sparx5_main.h | 254 struct notifier_block netdevice_nb; member
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_router.h | 54 struct notifier_block netdevice_nb; member
|
A D | spectrum.c | 3226 mlxsw_sp->netdevice_nb.notifier_call = mlxsw_sp_netdevice_event; in mlxsw_sp_init() 3228 &mlxsw_sp->netdevice_nb); in mlxsw_sp_init() 3269 &mlxsw_sp->netdevice_nb); in mlxsw_sp_init() 3456 &mlxsw_sp->netdevice_nb); in mlxsw_sp_fini() 5116 mlxsw_sp = container_of(nb, struct mlxsw_sp, netdevice_nb); in mlxsw_sp_netdevice_event()
|
A D | spectrum.h | 180 struct notifier_block netdevice_nb; member
|
A D | spectrum_router.c | 9265 router = container_of(nb, struct mlxsw_sp_router, netdevice_nb); in mlxsw_sp_router_netdevice_event() 10594 mlxsw_sp->router->netdevice_nb.notifier_call = in mlxsw_sp_router_init() 10597 &mlxsw_sp->router->netdevice_nb); in mlxsw_sp_router_init() 10649 &mlxsw_sp->router->netdevice_nb); in mlxsw_sp_router_fini()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_tc.c | 99 struct notifier_block netdevice_nb; member 5177 tc = container_of(this, struct mlx5e_tc_table, netdevice_nb); in mlx5e_tc_netdev_event() 5294 tc->netdevice_nb.notifier_call = mlx5e_tc_netdev_event; in mlx5e_tc_nic_init() 5296 &tc->netdevice_nb, in mlx5e_tc_nic_init() 5299 tc->netdevice_nb.notifier_call = NULL; in mlx5e_tc_nic_init() 5314 &tc->netdevice_nb, in mlx5e_tc_nic_init() 5344 if (tc->netdevice_nb.notifier_call) in mlx5e_tc_nic_cleanup() 5346 &tc->netdevice_nb, in mlx5e_tc_nic_cleanup()
|
Completed in 91 milliseconds