Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/netdevsim/
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()
Dnetdevsim.h202 struct notifier_block netdevice_nb; member
/Linux-v6.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_switchdev.c725 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()
Dsparx5_main.h253 struct notifier_block netdevice_nb; member
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.h50 struct notifier_block netdevice_nb; member
Dspectrum.c3221 mlxsw_sp->netdevice_nb.notifier_call = mlxsw_sp_netdevice_event; in mlxsw_sp_init()
3223 &mlxsw_sp->netdevice_nb); in mlxsw_sp_init()
3264 &mlxsw_sp->netdevice_nb); in mlxsw_sp_init()
3451 &mlxsw_sp->netdevice_nb); in mlxsw_sp_fini()
5169 mlxsw_sp = container_of(nb, struct mlxsw_sp, netdevice_nb); in mlxsw_sp_netdevice_event()
Dspectrum.h180 struct notifier_block netdevice_nb; member
Dspectrum_router.c9247 router = container_of(nb, struct mlxsw_sp_router, netdevice_nb); in mlxsw_sp_router_netdevice_event()
10526 mlxsw_sp->router->netdevice_nb.notifier_call = in mlxsw_sp_router_init()
10529 &mlxsw_sp->router->netdevice_nb); in mlxsw_sp_router_init()
10581 &mlxsw_sp->router->netdevice_nb); in mlxsw_sp_router_fini()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c91 struct notifier_block netdevice_nb; member
4895 tc = container_of(this, struct mlx5e_tc_table, netdevice_nb); in mlx5e_tc_netdev_event()
5009 tc->netdevice_nb.notifier_call = mlx5e_tc_netdev_event; in mlx5e_tc_nic_init()
5011 &tc->netdevice_nb, in mlx5e_tc_nic_init()
5014 tc->netdevice_nb.notifier_call = NULL; in mlx5e_tc_nic_init()
5047 if (tc->netdevice_nb.notifier_call) in mlx5e_tc_nic_cleanup()
5049 &tc->netdevice_nb, in mlx5e_tc_nic_cleanup()