Searched refs:netdevice_nb (Results 1 – 6 of 6) sorted by relevance
75 struct notifier_block netdevice_nb; member
860 uplink_priv.netdevice_nb); in mlx5e_nic_rep_netdevice_event()1650 uplink_priv->netdevice_nb.notifier_call = mlx5e_nic_rep_netdevice_event; in mlx5e_init_rep_tx()1651 err = register_netdevice_notifier(&uplink_priv->netdevice_nb); in mlx5e_init_rep_tx()1675 unregister_netdevice_notifier(&rpriv->uplink_priv.netdevice_nb); in mlx5e_cleanup_rep_tx()
4078 tc = container_of(this, struct mlx5e_tc_table, netdevice_nb); in mlx5e_tc_netdev_event()4106 tc->netdevice_nb.notifier_call = mlx5e_tc_netdev_event; in mlx5e_tc_nic_init()4107 if (register_netdevice_notifier(&tc->netdevice_nb)) { in mlx5e_tc_nic_init()4108 tc->netdevice_nb.notifier_call = NULL; in mlx5e_tc_nic_init()4128 if (tc->netdevice_nb.notifier_call) in mlx5e_tc_nic_cleanup()4129 unregister_netdevice_notifier(&tc->netdevice_nb); in mlx5e_tc_nic_cleanup()
23 struct notifier_block netdevice_nb; member
159 struct notifier_block netdevice_nb; member
4866 mlxsw_sp->netdevice_nb.notifier_call = mlxsw_sp_netdevice_event; in mlxsw_sp_init()4867 err = register_netdevice_notifier(&mlxsw_sp->netdevice_nb); in mlxsw_sp_init()4890 unregister_netdevice_notifier(&mlxsw_sp->netdevice_nb); in mlxsw_sp_init()4976 unregister_netdevice_notifier(&mlxsw_sp->netdevice_nb); in mlxsw_sp_fini()6423 mlxsw_sp = container_of(nb, struct mlxsw_sp, netdevice_nb); in mlxsw_sp_netdevice_event()