Searched refs:netdevice_nb (Results 1 – 4 of 4) sorted by relevance
28 struct notifier_block netdevice_nb; member
2658 mlxsw_sp->netdevice_nb.notifier_call = mlxsw_sp_netdevice_event; in mlxsw_sp_init()2660 &mlxsw_sp->netdevice_nb); in mlxsw_sp_init()2692 &mlxsw_sp->netdevice_nb); in mlxsw_sp_init()2821 &mlxsw_sp->netdevice_nb); in mlxsw_sp_fini()4303 mlxsw_sp = container_of(nb, struct mlxsw_sp, netdevice_nb); in mlxsw_sp_netdevice_event()
160 struct notifier_block netdevice_nb; member
5169 tc = container_of(this, struct mlx5e_tc_table, netdevice_nb); in mlx5e_tc_netdev_event()5237 tc->netdevice_nb.notifier_call = mlx5e_tc_netdev_event; in mlx5e_tc_nic_init()5239 &tc->netdevice_nb, in mlx5e_tc_nic_init()5242 tc->netdevice_nb.notifier_call = NULL; in mlx5e_tc_nic_init()5271 if (tc->netdevice_nb.notifier_call) in mlx5e_tc_nic_cleanup()5273 &tc->netdevice_nb, in mlx5e_tc_nic_cleanup()