Home
last modified time | relevance | path

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

/drivers/net/netdevsim/
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()
A Dnetdevsim.h243 struct notifier_block netdevice_nb; member
/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_switchdev.c738 s5->netdevice_nb.notifier_call = sparx5_netdevice_event; in sparx5_register_notifier_blocks()
739 err = register_netdevice_notifier(&s5->netdevice_nb); in sparx5_register_notifier_blocks()
764 unregister_netdevice_notifier(&s5->netdevice_nb); in sparx5_register_notifier_blocks()
775 unregister_netdevice_notifier(&s5->netdevice_nb); in sparx5_unregister_notifier_blocks()
A Dsparx5_main.h390 struct notifier_block netdevice_nb; member
/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_router.h55 struct notifier_block netdevice_nb; member
A Dspectrum.c3147 mlxsw_sp->netdevice_nb.notifier_call = mlxsw_sp_netdevice_event; in mlxsw_sp_init()
3149 &mlxsw_sp->netdevice_nb); in mlxsw_sp_init()
3190 &mlxsw_sp->netdevice_nb); in mlxsw_sp_init()
3379 &mlxsw_sp->netdevice_nb); in mlxsw_sp_fini()
5273 mlxsw_sp = container_of(nb, struct mlxsw_sp, netdevice_nb); in mlxsw_sp_netdevice_event()
A Dspectrum.h179 struct notifier_block netdevice_nb; member
A Dspectrum_router.c10243 router = container_of(nb, struct mlxsw_sp_router, netdevice_nb); in mlxsw_sp_router_netdevice_event()
11684 mlxsw_sp->router->netdevice_nb.notifier_call = in mlxsw_sp_router_init()
11687 &mlxsw_sp->router->netdevice_nb); in mlxsw_sp_router_init()
11713 &router->netdevice_nb); in mlxsw_sp_router_init()
11766 &router->netdevice_nb); in mlxsw_sp_router_fini()
/drivers/net/ethernet/mellanox/mlx5/core/
A Den_tc.c94 struct notifier_block netdevice_nb; member
5191 tc = container_of(this, struct mlx5e_tc_table, netdevice_nb); in mlx5e_tc_netdev_event()
5292 tc->netdevice_nb.notifier_call = mlx5e_tc_netdev_event; in mlx5e_tc_nic_init()
5294 &tc->netdevice_nb, in mlx5e_tc_nic_init()
5297 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 66 milliseconds