Home
last modified time | relevance | path

Searched refs:netdevice_nb (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/netdevsim/
H A Dhwstats.c206 hwstats = container_of(nb, struct nsim_dev_hwstats, netdevice_nb); in nsim_dev_netdevice_event()
413 hwstats->netdevice_nb.notifier_call = nsim_dev_netdevice_event; in nsim_dev_hwstats_init()
414 err = register_netdevice_notifier_net(net, &hwstats->netdevice_nb); in nsim_dev_hwstats_init()
446 unregister_netdevice_notifier_net(net, &hwstats->netdevice_nb); in nsim_dev_hwstats_init()
477 unregister_netdevice_notifier_net(net, &hwstats->netdevice_nb); in nsim_dev_hwstats_exit()
H A Dnetdevsim.h268 struct notifier_block netdevice_nb; member
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_switchdev.c750 s5->netdevice_nb.notifier_call = sparx5_netdevice_event; in sparx5_register_notifier_blocks()
751 err = register_netdevice_notifier(&s5->netdevice_nb); in sparx5_register_notifier_blocks()
776 unregister_netdevice_notifier(&s5->netdevice_nb); in sparx5_register_notifier_blocks()
787 unregister_netdevice_notifier(&s5->netdevice_nb); in sparx5_unregister_notifier_blocks()
H A Dsparx5_main.h390 struct notifier_block netdevice_nb; member
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.h55 struct notifier_block netdevice_nb; member
H A Dspectrum.c3146 mlxsw_sp->netdevice_nb.notifier_call = mlxsw_sp_netdevice_event; in mlxsw_sp_init()
3148 &mlxsw_sp->netdevice_nb); in mlxsw_sp_init()
3189 &mlxsw_sp->netdevice_nb); in mlxsw_sp_init()
3378 &mlxsw_sp->netdevice_nb); in mlxsw_sp_fini()
5272 mlxsw_sp = container_of(nb, struct mlxsw_sp, netdevice_nb); in mlxsw_sp_netdevice_event()
H A Dspectrum_router.c10241 router = container_of(nb, struct mlxsw_sp_router, netdevice_nb); in mlxsw_sp_router_netdevice_event()
11680 mlxsw_sp->router->netdevice_nb.notifier_call = in mlxsw_sp_router_init()
11683 &mlxsw_sp->router->netdevice_nb); in mlxsw_sp_router_init()
11709 &router->netdevice_nb); in mlxsw_sp_router_init()
11762 &router->netdevice_nb); in mlxsw_sp_router_fini()