Home
last modified time | relevance | path

Searched refs:netdevice_nb (Results 1 – 8 of 8) 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()
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 Dnetdevsim.h238 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.c3283 mlxsw_sp->netdevice_nb.notifier_call = mlxsw_sp_netdevice_event; in mlxsw_sp_init()
3285 &mlxsw_sp->netdevice_nb); in mlxsw_sp_init()
3326 &mlxsw_sp->netdevice_nb); in mlxsw_sp_init()
3515 &mlxsw_sp->netdevice_nb); in mlxsw_sp_fini()
5429 mlxsw_sp = container_of(nb, struct mlxsw_sp, netdevice_nb); in mlxsw_sp_netdevice_event()
H A Dspectrum.h179 struct notifier_block netdevice_nb; member
H A Dspectrum_router.c10288 router = container_of(nb, struct mlxsw_sp_router, netdevice_nb); in mlxsw_sp_router_netdevice_event()
11729 mlxsw_sp->router->netdevice_nb.notifier_call = in mlxsw_sp_router_init()
11732 &mlxsw_sp->router->netdevice_nb); in mlxsw_sp_router_init()
11758 &router->netdevice_nb); in mlxsw_sp_router_init()
11811 &router->netdevice_nb); in mlxsw_sp_router_fini()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c94 struct notifier_block netdevice_nb; member
5194 tc = container_of(this, struct mlx5e_tc_table, netdevice_nb); in mlx5e_tc_netdev_event()
5295 tc->netdevice_nb.notifier_call = mlx5e_tc_netdev_event; in mlx5e_tc_nic_init()
5297 &tc->netdevice_nb, in mlx5e_tc_nic_init()
5300 tc->netdevice_nb.notifier_call = NULL; in mlx5e_tc_nic_init()
5317 &tc->netdevice_nb, in mlx5e_tc_nic_init()
5347 if (tc->netdevice_nb.notifier_call) in mlx5e_tc_nic_cleanup()
5349 &tc->netdevice_nb, in mlx5e_tc_nic_cleanup()
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_main.h365 struct notifier_block netdevice_nb; member