Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.h75 struct notifier_block netdevice_nb; member
Den_rep.c860 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()
Den_tc.c4078 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()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs.h23 struct notifier_block netdevice_nb; member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.h159 struct notifier_block netdevice_nb; member
Dspectrum.c4866 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()