Home
last modified time | relevance | path

Searched refs:events_nb (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c1288 struct mlx5e_priv *priv = container_of(nb, struct mlx5e_priv, events_nb); in uplink_rep_async_event()
1332 priv->events_nb.notifier_call = uplink_rep_async_event; in mlx5e_uplink_rep_enable()
1333 mlx5_notifier_register(mdev, &priv->events_nb); in mlx5e_uplink_rep_enable()
1360 mlx5_notifier_unregister(mdev, &priv->events_nb); in mlx5e_uplink_rep_disable()
H A Den.h912 struct notifier_block events_nb; member
H A Den_main.c178 struct mlx5e_priv *priv = container_of(nb, struct mlx5e_priv, events_nb); in async_event()
198 priv->events_nb.notifier_call = async_event; in mlx5e_enable_async_events()
199 mlx5_notifier_register(priv->mdev, &priv->events_nb); in mlx5e_enable_async_events()
204 mlx5_notifier_unregister(priv->mdev, &priv->events_nb); in mlx5e_disable_async_events()