Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c973 struct mlx5e_priv *priv = container_of(nb, struct mlx5e_priv, events_nb); in uplink_rep_async_event()
1014 priv->events_nb.notifier_call = uplink_rep_async_event; in mlx5e_uplink_rep_enable()
1015 mlx5_notifier_register(mdev, &priv->events_nb); in mlx5e_uplink_rep_enable()
1045 mlx5_notifier_unregister(mdev, &priv->events_nb); in mlx5e_uplink_rep_disable()
Den.h869 struct notifier_block events_nb; member
Den_main.c147 struct mlx5e_priv *priv = container_of(nb, struct mlx5e_priv, events_nb); in async_event()
167 priv->events_nb.notifier_call = async_event; in mlx5e_enable_async_events()
168 mlx5_notifier_register(priv->mdev, &priv->events_nb); in mlx5e_enable_async_events()
173 mlx5_notifier_unregister(priv->mdev, &priv->events_nb); in mlx5e_disable_async_events()