Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs.h20 struct notifier_block netdevice_nb; member
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c2985 tc = container_of(this, struct mlx5e_tc_table, netdevice_nb); in mlx5e_tc_netdev_event()
3010 tc->netdevice_nb.notifier_call = mlx5e_tc_netdev_event; in mlx5e_tc_nic_init()
3011 if (register_netdevice_notifier(&tc->netdevice_nb)) { in mlx5e_tc_nic_init()
3012 tc->netdevice_nb.notifier_call = NULL; in mlx5e_tc_nic_init()
3032 if (tc->netdevice_nb.notifier_call) in mlx5e_tc_nic_cleanup()
3033 unregister_netdevice_notifier(&tc->netdevice_nb); in mlx5e_tc_nic_cleanup()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.h135 struct notifier_block netdevice_nb; member
Dspectrum.c3792 mlxsw_sp->netdevice_nb.notifier_call = mlxsw_sp_netdevice_event; in mlxsw_sp_init()
3793 err = register_netdevice_notifier(&mlxsw_sp->netdevice_nb); in mlxsw_sp_init()
3824 unregister_netdevice_notifier(&mlxsw_sp->netdevice_nb); in mlxsw_sp_init()
3885 unregister_netdevice_notifier(&mlxsw_sp->netdevice_nb); in mlxsw_sp_fini()
4893 mlxsw_sp = container_of(nb, struct mlxsw_sp, netdevice_nb); in mlxsw_sp_netdevice_event()