Searched refs:netdevice_nb (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/net/netdevsim/ |
H 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()
|
H A D | netdevsim.h | 226 struct notifier_block netdevice_nb; member
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H 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()
|
H A D | sparx5_main.h | 255 struct notifier_block netdevice_nb; member
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.h | 55 struct notifier_block netdevice_nb; member
|
H A D | spectrum.c | 3234 mlxsw_sp->netdevice_nb.notifier_call = mlxsw_sp_netdevice_event; in mlxsw_sp_init() 3236 &mlxsw_sp->netdevice_nb); in mlxsw_sp_init() 3277 &mlxsw_sp->netdevice_nb); in mlxsw_sp_init() 3466 &mlxsw_sp->netdevice_nb); in mlxsw_sp_fini() 5347 mlxsw_sp = container_of(nb, struct mlxsw_sp, netdevice_nb); in mlxsw_sp_netdevice_event()
|
H A D | spectrum.h | 182 struct notifier_block netdevice_nb; member
|
H A D | spectrum_router.c | 10025 router = container_of(nb, struct mlxsw_sp_router, netdevice_nb); in mlxsw_sp_router_netdevice_event() 11462 mlxsw_sp->router->netdevice_nb.notifier_call = in mlxsw_sp_router_init() 11465 &mlxsw_sp->router->netdevice_nb); in mlxsw_sp_router_init() 11491 &router->netdevice_nb); in mlxsw_sp_router_init() 11544 &router->netdevice_nb); in mlxsw_sp_router_fini()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.c | 94 struct notifier_block netdevice_nb; member 5091 tc = container_of(this, struct mlx5e_tc_table, netdevice_nb); in mlx5e_tc_netdev_event() 5192 tc->netdevice_nb.notifier_call = mlx5e_tc_netdev_event; in mlx5e_tc_nic_init() 5194 &tc->netdevice_nb, in mlx5e_tc_nic_init() 5197 tc->netdevice_nb.notifier_call = NULL; in mlx5e_tc_nic_init() 5214 &tc->netdevice_nb, in mlx5e_tc_nic_init() 5244 if (tc->netdevice_nb.notifier_call) in mlx5e_tc_nic_cleanup() 5246 &tc->netdevice_nb, in mlx5e_tc_nic_cleanup()
|